Commit graph

4415 commits

Author SHA1 Message Date
Eric Rosenbaum
1b8ea3112e send password with transfer request 2021-08-05 15:35:19 -04:00
jeffalo
dbf68ff9b4 satisfy eslint 2021-08-05 21:33:59 +02:00
jeffalo
e1afa432a2 also don't allow only whitespace 2021-08-05 21:18:36 +02:00
jeffalo
7e1aebf9b4 prevent searches for empty strings 2021-08-05 21:12:22 +02:00
apple502j
9a390eafeb
Move FAQ page to /faq 2021-08-06 02:55:11 +09:00
Ray Schamp
5610e1b217
Merge pull request #5719 from paulkaplan/dynamic-import
Support dynamic imports to load code only when needed
2021-08-05 11:12:50 -04:00
rschamp
81ff3d6216 Revert "feat(annual-report): dynamically load the world map when it is scrolled to"
This reverts commit bc43ad7e29.
2021-08-05 11:09:04 -04:00
Eric Rosenbaum
5a7a448c5c fix transfer tile layout 2021-08-02 11:41:58 -04:00
Eric Rosenbaum
2cf68bbc07 style confirmation step 2021-08-02 11:21:47 -04:00
Eric Rosenbaum
fa63ca8c2d styling confirmation step tiles 2021-08-02 10:20:36 -04:00
Eric Rosenbaum
59b98c5d3b lint the lint 2021-07-29 11:18:33 -04:00
Eric Rosenbaum
acda9b88f0 styling selection scroll pane 2021-07-29 11:17:18 -04:00
Eric Rosenbaum
72aa0c2cf3 Styling for selection step 2021-07-29 11:04:58 -04:00
Eric Rosenbaum
bb8fe2de40 fix fake alert width 2021-07-29 10:37:43 -04:00
Eric Rosenbaum
2c7d6b4cd0 use arrow svg 2021-07-29 10:37:21 -04:00
Eric Rosenbaum
d0d32e81e9 style selection tiles 2021-07-27 11:21:14 -04:00
LankyBox01
a34c0c2a52
Add line breaks to description
https://github.com/LLK/scratch-www/issues/5710
It's been 10 days since the last comment lol
2021-07-25 12:49:09 +03:00
Eric Rosenbaum
5811332cd7 lint fixes 2021-07-23 13:57:25 -04:00
Eric Rosenbaum
4bf7a2d307 lint fixes 2021-07-23 13:34:22 -04:00
Eric Rosenbaum
c09bac2e41 working on styles 2021-07-23 12:01:47 -04:00
Eric Rosenbaum
083cff87d8 add disabled button style 2021-07-23 11:35:20 -04:00
Eric Rosenbaum
8910ba435b update wording to use host 2021-07-23 10:38:29 -04:00
Eric Rosenbaum
d79acf1994 update route name 2021-07-23 10:38:05 -04:00
Eric Rosenbaum
bd5cf65692 move transferOwnership into the tile for error handling 2021-07-20 11:58:26 -04:00
Eric Rosenbaum
072e888c1d use feature flag 2021-07-20 10:51:10 -04:00
Eric Rosenbaum
4d438d0cd6 add content to confirmation step 2021-07-19 11:17:52 -04:00
Eric Rosenbaum
d4253bdd2e transfer ownership selection step uses its own grid 2021-07-19 11:17:27 -04:00
Eric Rosenbaum
1e99722801 use regular form instead of formik 2021-07-16 21:37:22 -04:00
Eric Rosenbaum
a55442d07f make api request with auth 2021-07-15 15:20:28 -04:00
Eric Rosenbaum
d1fdf9556d cleanup transfer ownership action 2021-07-15 14:41:52 -04:00
Eric Rosenbaum
236394550b add password field 2021-07-15 14:41:38 -04:00
Eric Rosenbaum
09822abfc4 connect transferOwnership action to confirm button 2021-07-14 17:25:23 -04:00
Eric Rosenbaum
f6463ba538 add transfer ownership action 2021-07-14 17:12:25 -04:00
Eric Rosenbaum
43ee5896b5 show usernames in confirmation step 2021-07-14 16:27:00 -04:00
seotts
aa42941226 Fix locations in SEC page 2021-07-14 15:46:02 -04:00
Eric Rosenbaum
1b455d6fbd add mock tiles to confirm step 2021-07-14 15:35:45 -04:00
Eric Rosenbaum
cbc5c68203 remove unused prop 2021-07-14 15:35:34 -04:00
Eric Rosenbaum
1dfb681def add initial version of confirmation step 2021-07-14 12:01:22 -04:00
Sarah Otts
3bf403e3c1
Merge pull request #5718 from zoebentley/sec-participating-orgs
Update SEC landing page with list of participating orgs and partner orgs
2021-07-13 17:01:51 -04:00
Eric Rosenbaum
211ff1bb04 Add selectable user tile 2021-07-13 12:05:54 -04:00
Zoë Bentley
66148879b3 Made org names and letter titles non-translated, fixed a CSS error, and removed unused strings 2021-07-13 10:53:33 -04:00
Zoë Bentley
a9aeda17cf lint 3 2021-07-13 09:30:03 -04:00
Zoë Bentley
69a383ceb2 Added links and locations for partner organizations 2021-07-12 17:19:30 -04:00
Paul Kaplan
f134dbf201 perf(styles): extract css from js into stylesheets 2021-07-12 14:48:08 -04:00
Paul Kaplan
bc43ad7e29 feat(annual-report): dynamically load the world map when it is scrolled to 2021-07-12 14:34:24 -04:00
Paul Kaplan
8e4ee5fb7a feat(build): support dynamic import
add the babel plugin for dynamic import syntax and fixup the path references in webpack and template
so the chunks can be loaded dynamically
2021-07-12 14:34:17 -04:00
Zoë Bentley
0149718c8d lint 2 2021-07-12 11:32:09 -04:00
Zoë Bentley
791b4c7cde lint 2021-07-12 11:31:49 -04:00
Zoë Bentley
15ad33aa05 Added ILCE to list of orgs 2021-07-12 11:16:16 -04:00
Zoë Bentley
f660af26eb Updated SEC page with 39 participating orgs and 6 partner orgs 2021-07-12 10:43:01 -04:00
Eric Rosenbaum
6fb1e7ccd2 do not show option to transfer ownership to yourself 2021-07-09 17:01:34 -04:00
Eric Rosenbaum
f8195d1024 only show ownership transfer option if there are >1 managers 2021-07-09 16:43:00 -04:00
Eric Rosenbaum
d7858e9a1a initial work on transfer ownership selection step 2021-07-09 15:09:35 -04:00
Eric Rosenbaum
a16ef0c3d5 first step of transfer ownership modal 2021-07-09 11:42:56 -04:00
Paul Kaplan
dcf2682f09
Merge pull request #5662 from paulkaplan/test-studio-member-actions
Create detailed unit tests for studio-member-actions
2021-07-07 15:28:55 -04:00
Paul Kaplan
ad386714a9 fix(studios): remove duplicate css for full width load more buttons
Remove the `display: content;` way of making the load more button full width, and reuse the existing
shared css class instead. Also change the markup back to the way it was originally, with the load
more button within the grid, since that is how it is meant to be used
2021-07-06 15:06:26 -04:00
Paul Kaplan
d693beb1b3 fix(studios): share css to make load more buttons full width
Changes the markup and css classes used by activity, curators, managers and projects grids to use a
shared full-width load more button
2021-07-06 14:51:16 -04:00
Paul Kaplan
4866d96da1 fix(studios): change the curators, projects and managers load count to 24
Changing from 20 to 24 will fix the issue where we are loading rows that aren't "full" on a 3-tile
row. Now it will always fill a row no matter the display breakpoint (1,2 or 3 tiles per row)
2021-07-06 14:36:12 -04:00
Paul Kaplan
e719d25e3d fix(studio): do not show mute error as if manager can edit info 2021-07-06 10:42:02 -04:00
Karishma Chadha
6dbf8d1bd5
Merge pull request #5692 from kchadha/manager-permissions
Update manager permissions for studios.
2021-07-06 09:22:59 -04:00
Paul Kaplan
54b9161dc0 fix(studio): prevent duplicate submissions on studio project browser modal 2021-07-01 13:36:29 -04:00
Paul Kaplan
e835cafc37 fix(studio): limit the max length of studio titles on the client side 2021-07-01 11:50:54 -04:00
Karishma Chadha
d0ad0a45d4 Update manager permissions for studios. 2021-06-25 12:41:36 -04:00
Paul Kaplan
b2c9c922d3 Use errors from project adder in the add to studio modal 2021-06-25 12:13:29 -04:00
apple502j
3b9383d930
Link community guidelines in project.defaultCensoredMessage 2021-06-26 00:18:34 +09:00
Paul Kaplan
e6d65c1364
Revert "Revert "Switch studios route to real version for testing on staging"" 2021-06-25 10:53:00 -04:00
Paul Kaplan
1027b82f66 Include unit tests for more of the action creators 2021-06-25 10:43:33 -04:00
Paul Kaplan
ffb0e96f47
Merge pull request #5664 from LLK/revert-5660-revert-5630-reduce-reply-requests
Reduce reply requests, for real this time I promise
2021-06-24 14:51:39 -04:00
Sarah Otts
3958d9df7d
Merge pull request #5659 from seotts/manager-modal-padding
Change manager modal width
2021-06-24 14:33:10 -04:00
Sarah Otts
d5a94ae59c
Merge pull request #5658 from seotts/add-by-url-text
Match Add Project placeholder & button text to old studios
2021-06-24 14:33:02 -04:00
Paul Kaplan
975d24cd5d
Revert "Revert "Only request replies if reply_count > 0"" 2021-06-24 10:59:09 -04:00
Paul Kaplan
c9ba9d443c Add tests for all studio-member-actions 2021-06-23 21:28:33 -04:00
Paul Kaplan
a8ed7410a4 Separate studio reducers and initial state into a helper 2021-06-23 20:57:30 -04:00
Paul Kaplan
8a3e6155c4 Separate helper for creating the default redux store for www pages 2021-06-23 20:56:48 -04:00
Karishma Chadha
10f887f8ba
Revert "Only request replies if reply_count > 0" 2021-06-23 16:30:20 -04:00
seotts
29a818a5bc Change http to https in placeholder 2021-06-23 14:26:03 -04:00
seotts
a3b3a66f7a Rename button; change placeholder text
lint fix

lint
2021-06-23 14:13:49 -04:00
seotts
0f43addd10 Change manager modal width 2021-06-23 14:06:57 -04:00
Paul Kaplan
b3795c943f
Merge pull request #5630 from paulkaplan/reduce-reply-requests
Only request replies if reply_count > 0
2021-06-23 12:40:45 -04:00
Paul Kaplan
b5a68924c9
Merge pull request #5651 from paulkaplan/update-reply-count-for-new-replies
Update the reply_count when you leave a reply
2021-06-23 12:38:33 -04:00
Paul Kaplan
614cfdc4bb
Update src/redux/comments.js
Co-authored-by: Karishma Chadha <kchadha@scratch.mit.edu>
2021-06-23 12:37:15 -04:00
Paul Kaplan
810465bfcf
Merge branch 'develop' into no-report-own-comments 2021-06-23 09:49:38 -04:00
Paul Kaplan
96cb2f7959
Revert "Switch studios route to real version for testing on staging" 2021-06-23 09:29:04 -04:00
DD Liu
b7eb0b9026
Merge pull request #5653 from fsih/hoverState
Studio tab nav button styling
2021-06-22 20:01:16 -04:00
DD Liu
a85fb9c5dd
Merge pull request #5652 from fsih/replacePngs
Replace pngs with svgs
2021-06-22 19:44:23 -04:00
DD Liu
d3e400485e Fix syntax 2021-06-22 19:37:41 -04:00
DD Liu
cf26eb9cb2 Increase the padding in and around tab nav buttons 2021-06-22 16:48:18 -04:00
Paul Kaplan
d1242f8f26
Merge pull request #5645 from paulkaplan/fix-admin-panel-spacing 2021-06-22 14:39:27 -04:00
DD Liu
2ebd1be1a8 Make the tab button hover states match the spec 2021-06-22 13:40:33 -04:00
Paul Kaplan
d575928ea1
Merge pull request #5646 from paulkaplan/fix-studio-grid-spacing
Make column and row gaps the same on studio tile grids
2021-06-22 12:11:41 -04:00
Paul Kaplan
581f4d0cac Update the reply_count when you leave a reply 2021-06-22 12:03:13 -04:00
DD Liu
4ecffa885f Replace pngs with svgs 2021-06-22 02:45:28 -04:00
Paul Kaplan
cfd52d9369 Pass a customized comment component for studios 2021-06-21 16:06:40 -04:00
Paul Kaplan
fced16b08c Make Comment component a prop 2021-06-21 15:37:36 -04:00
Paul Kaplan
53b207e003 Only show reply button when comments are allowed 2021-06-21 12:56:29 -04:00
Paul Kaplan
547f5b959b Make column and row gaps the same 2021-06-21 12:36:53 -04:00
Paul Kaplan
1cace60ebd Fix admin panel space remaining after logging out 2021-06-21 12:25:19 -04:00
Eric Rosenbaum
303d800041
Merge pull request #5632 from ericrosenbaum/add-to-studio-fixes
Style fixes for "add to studio" modal
2021-06-18 15:43:33 -04:00
Paul Kaplan
1eb91e22b3
Merge pull request #5631 from paulkaplan/final-studio-routes
Switch studios route to real version for testing on staging
2021-06-18 15:41:32 -04:00
Paul Kaplan
6e43607a1d
Merge pull request #5633 from paulkaplan/remove-debug-errors
Improve errors around following studios
2021-06-18 15:01:23 -04:00
Paul Kaplan
10bcc2319a Fix typo in translation string 2021-06-18 14:59:32 -04:00
Paul Kaplan
d5e9dd0829
Merge pull request #5609 from fsih/adjustResponsive
Adjust responsive boundaries for grid reflow
2021-06-18 14:52:32 -04:00
Paul Kaplan
48958ddba4
Merge pull request #5607 from fsih/textBoxGray
Make the border of editable fields dashed gray for studios. Otherwise, make them match the fields on project pages
2021-06-18 14:52:18 -04:00
Paul Kaplan
ae202c7bcd Remove Debug component in studios 2021-06-18 11:49:57 -04:00
Paul Kaplan
fa8aff5837 Replace debug error on StudioFollow 2021-06-18 11:27:00 -04:00
Paul Kaplan
4c2b588926 Include react-hooks eslint plugin to prevent hooks usage errors.
I'm including this now because when implementing the studio follow
error messaging, I made a mistake (conditionally calling useState)
that was tough to track down, and this linter plugin prevents that.
2021-06-18 11:09:43 -04:00
Eric Rosenbaum
ffdf39282d gray border above done button row 2021-06-18 10:35:19 -04:00
Eric Rosenbaum
06e074bbe8 fix bottom padding 2021-06-18 10:32:02 -04:00
Paul Kaplan
7330bc00f5 Update studios route to final version for testing 2021-06-18 10:29:24 -04:00
Paul Kaplan
2e976e0358 Only request replies if reply_count > 0 2021-06-18 10:14:50 -04:00
Eric Rosenbaum
b913d5f3ae restyle nav buttons 2021-06-17 22:50:10 -04:00
seotts
ad3f50ac10 Revert "Revert "Merge pull request #5573 from seotts/muted-add-proj-via-proj-page""
This reverts commit 5b7127a271.

# Conflicts:
#	src/views/preview/subactions.jsx
2021-06-17 17:19:51 -04:00
seotts
60b98908e0 use selectIsMuted to determine whether to show error 2021-06-17 17:18:40 -04:00
picklesrus
fe82cf3873 fix indentation 2021-06-17 15:48:38 -04:00
picklesrus
292bb02483
Merge branch 'develop' into studio-comments-off 2021-06-17 15:46:28 -04:00
Paul Kaplan
588ee63204
Merge pull request #5626 from ericrosenbaum/studio-single-comment
Studio single comment view
2021-06-17 15:01:32 -04:00
Paul Kaplan
cf0f4ee6b3
Merge pull request #5620 from paulkaplan/view-deleteted-studios
Admins can view deleted studios
2021-06-17 15:00:02 -04:00
Eric Rosenbaum
1605e23d5f fix logic for single comment effect 2021-06-17 14:05:25 -04:00
Eric Rosenbaum
a5800cb8fb revert change to comment limit 2021-06-17 14:04:34 -04:00
picklesrus
7d2d0cb3d9 Fix lint 2021-06-17 13:55:39 -04:00
picklesrus
d3e368bce2
Merge branch 'develop' into studio-comments-off 2021-06-17 13:47:03 -04:00
Eric Rosenbaum
bba5b69cb9
Merge pull request #5617 from LLK/release/2021-06-16
Develop release/2021-06-16
2021-06-17 13:17:50 -04:00
Paul Kaplan
23f7e563ab Include deleted studio banner 2021-06-17 12:37:45 -04:00
Karishma Chadha
f4b0bc8aee
Merge pull request #5621 from kchadha/studio-permissions-audit
Studio creators and managers can delete their own comments
2021-06-17 12:21:40 -04:00
Eric Rosenbaum
8c9cc0e859 load more button style 2021-06-17 10:03:24 -04:00
Eric Rosenbaum
0e49452fc7 expand replies 2021-06-17 09:49:23 -04:00
seotts
5b7127a271 Revert "Merge pull request #5573 from seotts/muted-add-proj-via-proj-page"
This reverts commit d468072552, reversing
changes made to 469878a2fc.
2021-06-17 09:02:31 -04:00
Eric Rosenbaum
48c3032f54 load single comment 2021-06-16 17:42:40 -04:00
Karishma Chadha
8821e0e865 Studio creators and managers can delete their own comments 2021-06-16 11:17:43 -04:00
Paul Kaplan
43b8b74d0c Move studio info request to top level 2021-06-16 09:55:29 -04:00
Paul Kaplan
4db968970a Use admin routes for studio info, curators, managers and activity 2021-06-16 09:54:40 -04:00
picklesrus
91f1c7ccf9 Merge branch 'studio-comments-off' of https://github.com/picklesrus/scratch-www into studio-comments-off
resolve conflicts
2021-06-15 17:25:22 -04:00
picklesrus
64f9d80c2a
Merge branch 'develop' into studio-comments-off 2021-06-15 17:24:43 -04:00
picklesrus
36516447cc Fix up tests from refactor and fix bug from refactor. 2021-06-15 17:22:32 -04:00
Eric Rosenbaum
7c0ec57165 add loading spinner 2021-06-15 15:35:25 -04:00
Sarah Otts
d468072552
Merge pull request #5573 from seotts/muted-add-proj-via-proj-page
Muted users can’t add projects to studio via project page
2021-06-15 15:26:47 -04:00
Eric Rosenbaum
469878a2fc
Merge pull request #5608 from fsih/thumbWhiteBg
Adjust thumbnail css
2021-06-15 15:06:09 -04:00
Sarah Otts
a0ab492bd9
Merge branch 'develop' into muted-add-proj-via-proj-page 2021-06-15 14:50:15 -04:00
Eric Rosenbaum
6bbc62c5e3 thumbnail in report matches main thumbnail style 2021-06-15 12:16:33 -04:00
Eric Rosenbaum
a344f1280d style fixes 2021-06-15 12:16:04 -04:00
Eric Rosenbaum
cbbd0ebdaf style empty state 2021-06-15 10:51:45 -04:00
seotts
1a753dfde3 Put Add to Studio change behind session flag 2021-06-15 09:45:09 -04:00
seotts
56dc892ee5 Muted user can’t add proj to studio via proj page 2021-06-15 09:45:09 -04:00
DD Liu
f11cd55995 Adjust responsive boundaries for grid reflow 2021-06-15 04:30:39 -04:00
DD Liu
df19f1b421 Adjust thumbnail css 2021-06-15 03:49:41 -04:00
DD Liu
8ea97e4577 Make the border of editable fields dashed gray for studios. Otherwise, make them match the fields on project pages. 2021-06-15 01:58:04 -04:00
Eric Rosenbaum
a2169d71c4 responsive fixed height 2021-06-14 17:45:20 -04:00
picklesrus
6b4bab02d1 Move logic about whether session is fetched into selectors 2021-06-14 17:15:47 -04:00
Sarah Otts
a7dae0561b
Merge branch 'develop' into muted-errors-from-backend 2021-06-14 15:40:05 -04:00
Ray Schamp
a17919e561
Merge pull request #5496 from rschamp/rearrange-conference-2021
Bump Conference 2020 to 2021 (Take 2)
2021-06-14 09:01:51 -04:00