Commit graph

1474 commits

Author SHA1 Message Date
Paul Kaplan
e9728b8a13
Merge pull request #5388 from paulkaplan/studio-project-errors
Add error display for studio curator and project adder inputs
2021-05-14 09:30:42 -04:00
DD Liu
dffcbebc37 Switch the checkbox to a toggle slider for studio comments allowed 2021-05-13 15:46:34 -04:00
Paul Kaplan
d35c539529 Add validation messages for title, image and description 2021-05-13 10:36:40 -04:00
Ben Wheeler
316f26bed5 rename .close-button style to not conflict 2021-05-12 14:14:34 -04:00
Paul Kaplan
8dddb393a7 Add overflow menu and show example on components page 2021-05-12 10:53:52 -04:00
Ben Wheeler
3dd69c287c Remove stale comments, remove extra space, add padding 2021-05-07 22:23:45 -04:00
Ben Wheeler
23f2135c17 add donate banner, make close button a mode of button component 2021-05-07 11:50:47 -04:00
BryceLTaylor
7a5bdc0400 Change class for search input wrapper to search-wrapper 2021-04-06 14:19:05 -04:00
BryceLTaylor
0cd1f6e6be Add class to searchbar for automated tests 2021-04-06 14:19:05 -04:00
Ben Wheeler
491735b9f0 use smaller svgs instead of pngs 2021-03-30 21:32:54 -04:00
Eric Rosenbaum
33b7d87840 update grid json 2021-03-30 10:52:57 -04:00
Eric Rosenbaum
82d759e30a grid displays “Project Title” 2021-03-24 16:12:37 -04:00
Eric Rosenbaum
9466a7b75b add grid 2021-03-23 16:58:38 -04:00
Eric Rosenbaum
10f9194f61 fix form and carousel enough to display them 2021-03-22 17:24:18 -04:00
chrisgarrity
8271bb62bb
Merge pull request #5141 from seotts/prevent-feedback-when-not-just-muted
Prevent feedback when not just muted
2021-03-15 09:10:48 -04:00
seotts
936172d70b only show feedback link for new mute
Add variable for isBad string
2021-03-11 13:06:51 -05:00
seotts
a1759f42b3 Revert "Revert "Content updates march 2021""
This reverts commit 65f69d1201.
2021-03-09 14:38:36 -05:00
Ben Wheeler
4533c983fd converted images around splash video to png, smaller file size 2021-03-09 10:15:44 -05:00
Sarah Otts
65f69d1201
Revert "Content updates march 2021" 2021-03-03 15:39:25 -05:00
Sarah Otts
4a625a634a
Merge pull request #5078 from zoebentley/content-updates-jan-2021
Content updates march 2021
2021-03-02 16:57:26 -05:00
seotts
ec3a205dea Create Plotly bundle to load only choropleth
lint
2021-03-01 16:22:02 -05:00
Paul Kaplan
b0390f36a2 Fix lint and missing components 2021-02-26 11:01:13 -05:00
Paul Kaplan
0353135cc4 Split phone number step to reduce bundle for other registration pages 2021-02-26 10:31:20 -05:00
Paul Kaplan
da2ca40ccf Only require libphonenumber when rendering phone inputs 2021-02-26 10:31:19 -05:00
Zoë Bentley
118ffadb76 Changed images on About page and changed many text strings 2021-02-19 12:04:13 -05:00
Zoë Bentley
1caa1da81f Began making changes to Credits page 2021-02-19 12:04:13 -05:00
Paul Kaplan
56345874e3 Mark deprecated methods with UNSAFE_ prefix 2021-02-19 11:12:00 -05:00
Karishma Chadha
2d932a7979
Merge pull request #5002 from LLK/hotfix/dependency-updates
[Develop] Hotfix/dependency updates
2021-02-16 11:34:23 -05:00
Karishma Chadha
ca392e6d5b Fix lint errors related to eslint-config-scratch update 2021-02-16 10:54:50 -05:00
seotts
5a3250edd5 Fix proptype of startStep 2021-02-11 15:14:51 -05:00
seotts
e23b27abc6 send automod feedback to api 2021-02-10 16:20:58 -05:00
picklesrus
92667c097d Add tests and expose steps enum so it can be referenced from outside MuteModal 2021-02-04 11:13:30 -05:00
picklesrus
f7bf204924 Draft: open mute modal from reply button if you're muted. 2021-02-02 11:34:27 -05:00
Sarah Otts
f60a8c71a0
Merge pull request #4901 from seotts/automod-feedback-modal
Automod feedback modal steps
2021-02-02 08:58:47 -05:00
seotts
ba99d49298 Fix FeedbackForm tests + other small fixes
Add strings
2021-02-01 15:50:55 -05:00
seotts
42eb195b57 move feedback form to its own component 2021-01-28 15:45:00 -05:00
seotts
a037395689 Merge branch 'automod-feedback-modal' of https://github.com/seotts/scratch-www into seotts-automod-feedback-modal
# Conflicts:
#	src/components/modal/mute/modal.jsx
#	src/components/modal/mute/modal.scss
#	src/l10n.json
2021-01-26 15:27:05 -05:00
Chris Garrity
1afa2a3e33 Adjust formatting of the comment status box
Reduce the width of the comment status paragraphs to make them easier to read. Ensure that the bottom text is still below all other text by making it 100% width.
2021-01-26 08:58:01 -05:00
seotts
9df36b0fcf add tests for feedback form, clean-up form 2021-01-25 17:52:59 -05:00
seotts
f2a3dfda1b Revert "Revert "Use formik for feedback form""
This reverts commit c22c2c967b.
2021-01-22 15:14:21 -05:00
seotts
037f91e76c Revert "Revert "Add feedback step using a Formsy textarea""
This reverts commit 1bc3aaf0ee.
2021-01-22 15:14:06 -05:00
seotts
1bc3aaf0ee Revert "Add feedback step using a Formsy textarea"
This reverts commit 5e4fc154c6.
2021-01-22 15:12:14 -05:00
seotts
c22c2c967b Revert "Use formik for feedback form"
This reverts commit 512358e9af.
2021-01-22 15:12:14 -05:00
seotts
b42966ac6a Revert "Add feedback step using a Formsy textarea"
This reverts commit 5e4fc154c6.
2021-01-22 12:13:40 -05:00
seotts
af56e2389c Revert "Use formik for feedback form"
This reverts commit 512358e9af.
2021-01-22 12:13:03 -05:00
seotts
512358e9af Use formik for feedback form
cleanup
2021-01-22 11:58:56 -05:00
seotts
5e4fc154c6 Add feedback step using a Formsy textarea 2021-01-22 11:58:56 -05:00
picklesrus
4879570561 Update vertical spacing on mute modal
This reduces the vertical padding in the mute modal to better fit on shorter screens.
2021-01-07 11:07:39 -05:00
Karishma Chadha
090312bf56
Merge pull request #4736 from seotts/world-map-fix
World map fixes - Border thickness, Eswatini, remove unused css
2021-01-06 10:43:50 -05:00
Sarah Otts
78d001e127
Merge pull request #4737 from seotts/team-new-tabs
In the Annual Report Team section, open link to Scratch Team members in new tab
2021-01-05 14:38:03 -05:00
Sarah Otts
b9892ff6d8
Merge branch 'develop' into automod-new-messaging 2021-01-04 11:09:29 -05:00
picklesrus
9037f8817a
Merge pull request #4774 from picklesrus/warning-mute
Show warning message when user has been muted several times.
2020-12-21 08:36:21 -05:00
seotts
7e140b3832 add new mute messages
Get correct mute message info for modal

remove extra spapce
2020-12-18 10:24:43 -05:00
picklesrus
d8ad0c38ea Show warning message when user has been muted several times. 2020-12-17 15:43:07 -05:00
picklesrus
1aca3c0f25
Merge pull request #4768 from picklesrus/fix-prop-warning
Fix prop type. muteStepContent is an array not a string.
2020-12-17 10:00:26 -05:00
Benjamin Wheeler
aeaca81fb7
Merge pull request #4686 from benjiwheeler/api-check-username
switch educator registration checkusername endpoint from scratchr2 to api
2020-12-16 20:43:19 -05:00
picklesrus
760082d2d7 Fix prop type. muteStepContent is an array not a string. 2020-12-16 07:54:20 -05:00
Chris Garrity
501147060d Update generic message copy
Updated copy requres two paragraphs in the content. Modified the inputs to pass a content array and output one paragraph per item.
2020-12-11 09:52:30 -05:00
Chris Garrity
929e670d8f Internationalize the mute messages
Add formatted messages for comment status and mute modal
2020-12-11 08:44:17 -05:00
seotts
b7cf82494b Remove unused variable and fix spacing 2020-12-07 16:16:42 -05:00
picklesrus
f4f6b70f2e
Merge branch 'develop' into readable-time 2020-12-07 16:05:02 -05:00
seotts
1d70ee243c Make borders smaller, show data for Eswatini 2020-12-07 12:45:01 -05:00
seotts
86650e1ce9 open link to Scratch Team member in new tab 2020-12-07 12:43:43 -05:00
picklesrus
b450d36a64 Redo time based on new requirements. 2020-11-30 16:16:52 -05:00
Sarah Otts
fec148ac74
Merge pull request #4682 from LLK/annual-report-video-spinner
Add loading spinner in Annual Report
2020-11-25 15:29:11 -05:00
Ben Wheeler
590873c765 switch educator registration checkusername endpoint from scratchr2 to api 2020-11-24 13:54:11 -05:00
seotts
246798b69d Use “play” event listener; clean-up code 2020-11-23 12:17:12 -05:00
seotts
785386b1c7 add newline to end of file 2020-11-23 11:15:44 -05:00
seotts
f75337dafd preload spinner image 2020-11-19 10:27:01 -05:00
seotts
cf9cbdf392 Hide iframe & show spinner until it begins playing 2020-11-16 14:33:46 -05:00
seotts
cb01cb9321 use Wistia api to do callback 2020-11-16 12:36:07 -05:00
Karishma Chadha
e14b6d52f3 Add spinner while video is still loading 2020-11-10 14:37:18 -05:00
picklesrus
b8b0f5d10c
Merge pull request #4580 from picklesrus/modal-image-updates
A few small upates to the muting modal
2020-11-10 09:52:41 -05:00
picklesrus
495edd1820 A few small upates:
- Add images and update styles to match.  
- Add timeMuted prop so it can display how long the user is muted for. 
- Text updates

This still needs localization.
2020-10-30 10:07:43 -04:00
seotts
a8058aa0bf remove comments; add new lines 2020-10-27 15:29:50 -04:00
Karishma Chadha
da1e8c00c5 Update translation image in reach section. Fix remaining world map prop type warning. 2020-10-27 01:20:04 -04:00
seotts
d68691de40 add map key 2020-10-26 17:36:23 -04:00
rschamp
59f0f2c093 Make the map always 100% width with 2:1 aspect ratio 2020-10-22 15:20:31 -04:00
Karishma Chadha
df27950a31 Remove mapHeight and mapWidth prop validation since they're no longer in use 2020-10-22 12:20:26 -04:00
rschamp
67ff392776 Start on responsive map 2020-10-22 11:50:48 -04:00
seotts
551eea91b5 Revert "Add CPS video"
This reverts commit ec97646bf7430e874b0045a61a5f9d39d4c862de.
2020-10-22 11:50:48 -04:00
seotts
be49e209bb Revert "Add ability to display YouTube in addition to Wistia"
This reverts commit 8d758f0420b967aa5d3f9e9c14b9f9201c2702a6.
2020-10-22 11:50:48 -04:00
seotts
ff6a3eb30f Add CPS video 2020-10-22 11:50:48 -04:00
seotts
79bc95a4c6 Add ability to display YouTube in addition to Wistia 2020-10-22 11:50:48 -04:00
seotts
c08650f2b7 add abhi video and fix thumbnail hover 2020-10-22 11:50:48 -04:00
rschamp
261313091d More lint 2020-10-22 11:50:45 -04:00
seotts
a558c23f8c lint fix 2020-10-22 11:50:45 -04:00
seotts
aea79a7e58 continued work on initiatives section 2020-10-22 11:50:45 -04:00
seotts
438c5ec0b5 create and use video-preview component 2020-10-22 11:50:45 -04:00
seotts
04b76feea1 work on map responsiveness 2020-10-22 11:50:45 -04:00
seotts
c61953e94a remove reference to deleted css file 2020-10-22 11:50:45 -04:00
seotts
9434bf67f6 remove unused code 2020-10-22 11:50:45 -04:00
Karishma Chadha
c4d8d443f1 Make world map sizing a little bit bigger and give some control over this to whatever uses the component. Fix styling for transition images between the milestones and reach sections (e.g paint brush) 2020-10-22 11:50:44 -04:00
Karishma Chadha
1558178318 Remove map view from experimentation phase, clean up world map component (getting rid of lint errors) 2020-10-22 11:50:44 -04:00
seotts
dc5461ef55 continued work on reach section 2020-10-22 11:50:44 -04:00
Karishma Chadha
6bd8aea7b7 Add support for a world map component, and an example page that displays it. 2020-10-22 11:50:43 -04:00
Benjamin Wheeler
11ad1aeac1
Merge pull request #4474 from JeffaloBob/patch-1
add missing space to teacher request form
2020-10-15 13:29:23 -04:00
Sarah Otts
7323ef06bd
Merge pull request #4477 from LLK/people-grid-component
Pull out the credit page's grid of people into a separate component
2020-10-13 11:26:24 -04:00
picklesrus
a567a593fe
Merge pull request #4495 from picklesrus/comment-status
Commenting status component.
2020-10-13 09:03:41 -04:00
picklesrus
966df020f2
Merge pull request #4482 from picklesrus/m-modal-draft
Initial skeleton of mute modal.
2020-10-13 09:02:47 -04:00