Ben Wheeler
a8d4184b3f
renamed frameless.js tablet var to mobileIntermediate, use tabletPortrait for breaks
2019-01-29 10:35:19 -05:00
Ben Wheeler
4b660b0176
constrain studio and remix thumbnails to a single column
2019-01-28 23:12:43 -05:00
Ben Wheeler
640d565207
made extension chip showing/hiding consistent
2019-01-28 23:12:36 -05:00
Ben Wheeler
7b19878d7f
changed tablet width to 768; several responsive tweaks
2019-01-28 22:27:01 -05:00
Paul Kaplan
8e57bb5493
Pass updates up from project updater to top-level redux store
2019-01-25 13:35:39 -05:00
Ray Schamp
29d5a80b5e
Update z-index so validation bubbles go below the nav bar
2019-01-25 11:20:32 -05:00
Ray
d8d46b102b
Fix initial value for notes and credits aka description
...
Resolves "mirror world" issue
2019-01-25 10:11:22 -05:00
Paul Kaplan
d6c48a5730
Wrap project update inputs to show server validation
2019-01-24 16:53:21 -05:00
Eric Rosenbaum
71cb92c214
Merge pull request #2704 from ericrosenbaum/bugfix/update-extension-chips
...
Update extension chips
2019-01-23 17:30:38 -05:00
Eric Rosenbaum
44ec3de0f1
Change extension chip wording to “Video Sensing”
2019-01-23 15:51:00 -05:00
Benjamin Wheeler
b72118e29d
Merge pull request #2702 from benjiwheeler/autocensored-message
...
added default censored messages
2019-01-23 15:24:58 -05:00
Ben Wheeler
aeedf456c0
corrected messageHTML to message
2019-01-23 13:29:37 -05:00
Ben Wheeler
696bfa117e
refactored censored message into component, removed autocensor message
2019-01-23 10:30:26 -05:00
Ben Wheeler
971b3dc2d1
added autocensor-specific banner message
2019-01-23 09:18:40 -05:00
Benjamin Wheeler
4d3e46e40b
Revert "Revert "Add to studio modal should only show studios user can actually change""
2019-01-22 17:07:52 -05:00
Ben Wheeler
ddf6793362
reformat banner css to be less red, better line-height, max width on text
2019-01-22 16:35:59 -05:00
Ben Wheeler
d70bbe20c9
added default censored messages
2019-01-22 15:15:36 -05:00
Benjamin Wheeler
5ddb7660f6
Revert "Add to studio modal should only show studios user can actually change"
2019-01-17 11:22:00 -05:00
Ben Wheeler
e9b736270f
make showStudio utility function purely functional
2019-01-16 16:42:02 -05:00
Ben Wheeler
ab82d37720
only show studios user can manipulate in add to studio modal
...
Refactored studio list consolidation code for add to studio; set canAdd,
canRemove flags directly on each studio.
pass flag userOwnsProject through to add to studio modal and its
buttons.
pass flag isAdmin through to add to studio and its buttons.
set flags in add to studio buttons for whether user has permission to
add project to studio, remove project from studio.
Set user ability/inability to click add to studio buttons using
permissions flags and css
2019-01-16 13:49:54 -05:00
Benjamin Wheeler
db6e0ed88f
Merge pull request #2624 from apple502j/patch-7
...
Raise z-index of navbar
2019-01-16 11:17:00 -05:00
Ben Wheeler
e88e669297
set the z-index of the player as a whole, to go under nav bar
...
separately set z-index in fullscreen mode, to go over other project page
UI including nav bar
correct isFullScreen prop
2019-01-15 23:45:05 -05:00
chrisgarrity
ed1cf35721
de-dup helpers.cloudData
2019-01-15 10:10:36 -05:00
apple502j
7937611272
Make internal URL clickable
2019-01-15 14:34:17 +09:00
chrisgarrity
b2b00ee867
Support link to cloud variable log
...
Add Cloud Variables to the ‘Extension’ Chips when there are cloud variables in the project. If the user is logged in, also link to the cloud variable log for the project.
2019-01-14 15:32:00 -05:00
chrisgarrity
cebdd0a17d
Merge pull request #2656 from chrisgarrity/issue/2628-remix-loading-project
...
Don’t allow remixing if the project is not loaded
2019-01-10 14:41:52 -05:00
Paul Kaplan
6c8881106e
Merge pull request #2657 from paulkaplan/more-replies
...
Allow loading more than 20 replies
2019-01-10 14:29:27 -05:00
Paul Kaplan
1277ca4876
Make "See more replies" only the width of the replies column
2019-01-10 10:58:34 -05:00
chrisgarrity
ccbaa60e59
Don’t allow remixing if the project is not loaded
...
Depends on https://github.com/LLK/scratch-gui/pull/4312
Adds new `isProjectLoaded` state to the project view, and disables the remix button until the project is loaded. Passes new callback to gui to be notified when the project is loaded.
2019-01-10 10:50:37 -05:00
Paul Kaplan
f7e8922757
Allow loading more than 20 replies
2019-01-10 10:46:01 -05:00
Paul Kaplan
7f99e8b8c2
Prevent uncaught errors from going to sentry
...
For real this time. Just needed to figure out the right plugins to filter. TryCatch plugin is the one that reports errors from setTimeouts, which the VM executes code in.
Remove the previous window.onerror kludge, it was not working and prevented errors from reaching the console.
Tested locally by providing the staging DSN for Sentry
2019-01-10 10:07:30 -05:00
Paul Kaplan
2ea49fc4d3
Disable window onerror
2019-01-09 16:56:31 -05:00
Paul Kaplan
885977e554
Disable global handlers
2019-01-08 14:19:11 -05:00
Benjamin Wheeler
63cc104668
Merge branch 'develop' into hotfix/proxy-love-favorite
2019-01-07 14:20:28 -05:00
Paul Kaplan
3ecc7d9a7e
Merge pull request #2612 from chrisgarrity/hotfix/no-comment-unshared
...
Disallow comments on unshared projects
2019-01-07 13:10:09 -05:00
Ben Wheeler
8e1d6fee54
love and favorite proxy, and use x-requested-with header
2019-01-07 11:39:31 -05:00
chrisgarrity
29fb4b69d1
restore 5000 character limit for description fields
...
Also make sure that validation error message is visible when 5000 character limit is exceeded.
2019-01-07 11:09:44 -05:00
chrisgarrity
1d223825df
Disallow comments on an unshared project
2019-01-07 10:42:53 -05:00
Benjamin Wheeler
ad0da48eeb
Merge pull request #2596 from benjiwheeler/hotfix/view-all-remixes
...
[Master] Show link to view all remixes on project page
2019-01-04 11:47:47 -05:00
Benjamin Wheeler
976524b64d
Merge pull request #2600 from benjiwheeler/hotfix/view-all-remixes
...
[Develop] Show link to view all remixes on project page
2019-01-04 10:50:42 -05:00
Ben Wheeler
7f2fbd4a3b
added View all link at top of studios list
2019-01-04 10:30:43 -05:00
Ben Wheeler
b452f73a32
revised remix list header css to handle longer strings better
2019-01-04 10:22:48 -05:00
Ben Wheeler
0ad5c977aa
show link to view all remixes on project page
2019-01-03 18:50:19 -05:00
Ben Wheeler
9625bc554d
added comments explaining need to show project instructions, notes when both are empty
2019-01-03 13:12:08 -05:00
Ben Wheeler
627737fdd4
collapse empty project instructions or notes and credits
2019-01-03 12:45:07 -05:00
Paul Kaplan
07ad54bb6c
Only track green flag once
2019-01-02 16:22:42 -05:00
Paul Kaplan
a2fbdf9943
Only track green flag once
2019-01-02 16:19:26 -05:00
Andrew Sliwinski
4a4b8815e5
Remove "CappedNumber" from view count on project page.
2018-12-30 10:06:02 -05:00
Ray Schamp
7a7a6de4b0
Merge pull request #2543 from paulkaplan/fix-gui-min-size
...
Bring in the min sizes for GUI to allow scrollable UI
2018-12-27 16:10:59 -05:00
Paul Kaplan
da8d60706f
Bring in the min sizes for GUI to allow scrollable UI
2018-12-27 11:12:34 -05:00
Paul Kaplan
bfd14a115a
Fix the studio links to use the correct URL
2018-12-27 09:27:11 -05:00
Paul Kaplan
dcb03a0526
Fix lint whitespace
2018-12-20 13:48:38 -05:00
Colby Gutierrez-Kraybill
6a946b99fc
Update to new sentry API pattern
...
Use current Sentry browser package and forward errorId into eventId
Fix up errorInfo reference
Put Sentry on the window object for GUI to use
Remove unneeded reference to old style Raven and raven-js
Move Sentry webpack config into production only
Add GA tracker ID to window
Allows scratch-gui to use same GA id
2018-12-20 12:56:33 -05:00
Paul Kaplan
a196462818
Merge pull request #2515 from paulkaplan/enfasten-remixing-further
...
Set isRemixing to true and then start remixing process
2018-12-20 08:31:58 -05:00
picklesrus
2f35049ff8
Merge pull request #2501 from kyleplo/patch-3
...
Make it clear that only Scratchers can use the cloud
2018-12-19 17:24:25 -05:00
Paul Kaplan
137015cfc0
Set isRemixing to true and then start remixing process
...
This makes it feel snappier to start the remixing project because it does not wait for the GUI to notify
2018-12-19 15:58:38 -05:00
Benjamin Wheeler
64fc4b3ed8
Merge pull request #2508 from benjiwheeler/switch-to-editor-on-remix
...
switch to editor after remixing from project page
2018-12-19 15:35:18 -05:00
Ben Wheeler
5ff13da56d
admins should not see editable project title in editor
2018-12-19 11:59:47 -05:00
Ben Wheeler
859574a8bd
switch to editor after remixing from project page
2018-12-19 11:40:49 -05:00
Benjamin Wheeler
293b7beefc
Merge pull request #2506 from benjiwheeler/mod-info
...
added author username to moderation info area
2018-12-18 11:45:51 -05:00
Paul Kaplan
f0b37134ff
Merge pull request #2505 from paulkaplan/remove-approx-liking
...
Remove approx liking/favoriting format
2018-12-18 11:40:07 -05:00
Ben Wheeler
5d96a6293a
less css repetition
2018-12-18 10:48:03 -05:00
Ben Wheeler
edec88f0ab
added author username to moderation info area
2018-12-18 10:43:11 -05:00
Paul Kaplan
d9b30d96d1
Remove approx liking/favoriting format
2018-12-18 09:50:17 -05:00
kyleplo
11ec64ac9c
Make it clear that only Scratchers can use the cloud
2018-12-17 16:41:57 -05:00
Ben Wheeler
153c749546
pass onUpdateProjectThumbnail to gui when on project page
2018-12-17 15:36:09 -05:00
Paul Kaplan
e20f928147
Put project info alerts below navbar
2018-12-14 16:47:54 -05:00
Ben Wheeler
2a0a76fba1
don't use flex-row class to wrap instructions and credits
2018-12-13 14:01:27 -05:00
Ray Schamp
295c1df2ff
Hook up onClickLogo in GUI
...
This way it will take us to where we expect on staging and production.
Resolves #2296
2018-12-13 09:44:14 -05:00
Paul Kaplan
eb0c98b939
Merge pull request #2464 from paulkaplan/minor-style-fixes
...
Minor style fixes to the project page
2018-12-13 08:44:39 -05:00
Benjamin Wheeler
e9001e17c3
Merge pull request #2452 from benjiwheeler/parent-remix-null
...
if remix parent or original is unshared, don't crash project page
2018-12-12 21:33:56 -05:00
Paul Kaplan
bbda370d56
Merge pull request #2445 from paulkaplan/fix-preview-remix-list
...
Fix hard-coded /preview/id url for remix list.
2018-12-12 19:39:03 -05:00
Paul Kaplan
ef217b96a1
Use custom meta tag info for project page.
...
Note this _will not_ work until the page uses a template that does not include these meta tags. That is because react-helmet does not override any existing info in the head.
Thus, this was tested by removing that info from the template and seeing it work, then putting the template back.
2018-12-12 19:30:48 -05:00
Paul Kaplan
612d08e850
Fix line heights for instructions and comments
2018-12-12 17:04:14 -05:00
Paul Kaplan
fb4f6b6d56
Fix ordering and sizing of loves, extensions and mod info
2018-12-12 17:04:14 -05:00
Paul Kaplan
0af216137b
Give copy-link and other subaction buttons an active state to show click
2018-12-12 17:04:14 -05:00
Paul Kaplan
ac92c65af6
Increase comment box border to prevent popping when focused
2018-12-12 17:04:14 -05:00
Paul Kaplan
70ab7c9c45
Correctly align extension chip images
2018-12-12 17:04:14 -05:00
Paul Kaplan
3aeda2208b
Make the remix button spin the correct the direction
2018-12-12 15:38:00 -05:00
Ben Wheeler
634d6c93e0
if remix parent or original is unshared, don't crash project page
2018-12-12 13:24:41 -05:00
Benjamin Wheeler
a9f9d7ee49
Merge pull request #2428 from benjiwheeler/fix-favorite-love
...
make love and favorite icons respond to click immediately, cleanly
2018-12-12 11:25:31 -05:00
Benjamin Wheeler
964459fb17
Merge pull request #2437 from benjiwheeler/placeholder-text-go-away
...
Placeholder text go away
2018-12-12 11:24:43 -05:00
Paul Kaplan
bc99c52ebe
Fix hard-coded /preview/id url for remix list.
2018-12-11 14:46:05 -05:00
Ben Wheeler
478259a5d2
placeholder text goes away when instructions, credits clicked
2018-12-11 12:29:31 -05:00
Paul Kaplan
78506f82c7
Hide project info alerts when switching to editor
2018-12-11 11:18:53 -05:00
Paul Kaplan
ace110c59b
Show username and cloud var alerts on projects that use them.
...
Only implemented for scratch3 projects
2018-12-11 11:15:00 -05:00
chrisgarrity
594ce06b5b
Merge pull request #2427 from chrisgarrity/issue/sb2-mod-info
...
Add moderator info for sb2 projects
2018-12-11 10:13:45 -05:00
apple502j
c134a95de3
Translate placeholder
2018-12-11 20:41:49 +09:00
Ben Wheeler
d5ec7e17df
add clientFaved and clientLoved, fix number selection
2018-12-10 11:59:32 -05:00
Paul Kaplan
26e821214a
Merge pull request #2431 from paulkaplan/fix-multi-love
...
Only try to update fave counts if there are no requests in progress.
2018-12-10 10:56:34 -05:00
Paul Kaplan
901dfeb6ca
Merge pull request #2425 from rschamp/admin-panel-occlusion
...
Don't occlude page content with the admin panel
2018-12-10 10:35:59 -05:00
Paul Kaplan
7c5d909a68
Only try to update fave counts if there are no requests in progress.
2018-12-10 10:31:58 -05:00
Paul Kaplan
98b5930b91
Use falsey check for shareDate instead of checking for null.
...
It is set to empty string elsewhere when the value does not exist, not null
2018-12-10 09:15:24 -05:00
chrisgarrity
84cfcdee85
Add moderator info for sb2 projects
2018-12-10 08:47:01 -05:00
Benjamin Wheeler
9d5788cc77
Merge pull request #2417 from benjiwheeler/view-count
...
pass onGreenFlag to GUI; when called, call API to register project view
2018-12-07 16:52:44 -05:00
Paul Kaplan
d20b16d79c
Merge pull request #2424 from paulkaplan/admin-toggle-comments
...
Allow admins to toggle comments
2018-12-07 16:47:01 -05:00
Paul Kaplan
3934c92c7a
Merge pull request #2423 from paulkaplan/add-to-studio-fix
...
Show addToStudio for all logged in users on shared projects
2018-12-07 16:46:42 -05:00
Paul Kaplan
551cc0cc13
Remove userOwnsProject because it is unused
2018-12-07 16:09:34 -05:00
Ray Schamp
1979675ebf
Don't occlude page content with the admin panel
...
/ht @paulkaplan for the idea to move it below the nav bar.
2018-12-07 13:15:38 -05:00
Paul Kaplan
5d409bcdcf
Allow admins to toggle comments
2018-12-07 12:57:50 -05:00