picklesrus
47d63cb529
Reset more of the state when a mute expires.
...
This allows the comment box to show up again in a normal state with no
errors.
2021-01-14 07:42:53 -05:00
picklesrus
19b260a4a5
Add a timeout to stop displaying the mute status when a mute expires.
2020-12-15 14:49:35 -05:00
picklesrus
a39244ea6c
Merge branch 'develop' into timeout-mute
2020-12-14 13:27:12 -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
picklesrus
110077e8e8
Rename state's muteExpiresAt to muteExpiresAtMs so units are explicit.
...
Also, fix isMuted so it doesn't do an extra unit conversion.
2020-12-11 08:14:15 -05:00
picklesrus
2d5e9a6378
Fix merge conflicts and set default object for mute_status if props do not exist.
2020-12-08 08:00:01 -05:00
picklesrus
835a271be4
Show the comment status box on project page loads if the user is muted.
...
Don't show the compose box if they're muted, but do show it, but greyed
out, if they just posted a comment that resulted in a mute.
2020-12-08 07:28:40 -05:00
picklesrus
f4f6b70f2e
Merge branch 'develop' into readable-time
2020-12-07 16:05:02 -05:00
picklesrus
b450d36a64
Redo time based on new requirements.
2020-11-30 16:16:52 -05:00
picklesrus
71521e2aa5
Fix lint and update text.
2020-11-18 14:48:15 -05:00
picklesrus
fe9d9078b2
Fix styling of disabled comment box.
2020-11-18 14:40:11 -05:00
picklesrus
aed0f024c0
Disable comment box functionality when you've just been muted.
...
Also, keep showing the blue comment status box based on when the mute
expires rather than basing it on the status of the commet box itself.
TODO: css for disabled state. The grey is there as a placeholder/proof
of concept.
2020-11-17 17:04:54 -05:00
picklesrus
0470e0e56b
Convert timestamp to always show in minutes.
...
This is minor step towards correct time formatting. More coming later.
2020-11-13 15:03:49 -05:00
picklesrus
6eb7504442
Initial time formatting pass. Does integer minutes, hours, days.
...
TODOS:
- set langauge appropriately
- do partial hours and days. e.g. 1 hour 5 minutes instead of just 1
hour.
Add a time formatting utility that formats a relative time in the future.
Use it in the mute modal & comment box.
2020-11-13 08:26:54 -05:00
picklesrus
e5f97d1f18
Skeleton of code to show mute modal and comment status.
...
Still todo:
- l10n
- Time needs formatting
- Compose box needs to be shown/formatted correctly based on mute status
- Blue comment status box need to be sticky
2020-11-09 11:01:42 -05:00
Maxi-Mouse
6120339d26
Fix Load more scrolling
2020-10-01 20:17:27 +02:00
Benjamin Wheeler
9460ccf982
Merge pull request #3799 from apple502j/fix-meta-without-login
...
Fix editor title when not logged in
2020-07-09 20:42:08 -04:00
Ben Wheeler
e46737cbc6
add overflow settings to css for remix credit
2020-07-08 15:55:02 -04:00
Ben Wheeler
374af98b3c
revert guiPlayer switch to max-width
2020-06-26 15:25:10 -04:00
Ben Wheeler
3527e42529
use overflow auto in different place
2020-06-26 15:11:08 -04:00
Benjamin Wheeler
77494f0370
Merge pull request #2518 from benjiwheeler/small-player-project-page
...
Fix page width by hiding overflow, letting stage width be flexible
2020-06-08 16:50:37 -04:00
apple502j
93f9eaf718
Fix editor title when not logged in
2020-04-11 01:30:29 +09:00
Ben Wheeler
7655a08d7e
improve breaking of long words
2020-03-31 22:08:13 -04:00
Paul Kaplan
e43cb7ab4e
Reorder and de-red report action on project page
2020-03-03 08:56:25 -05:00
Chris Garrity
c95d087289
Ensure that the old scratchlanguage cookie is removed if it exists.
...
On init, remove the old cookie if it exists.
On the project page, make sure `handleSetLanguage` also sets the domain.
2020-01-29 16:11:58 -05:00
Ben Wheeler
be0617f69a
use max-width to constrain player size
2019-12-30 22:13:03 -05:00
Ben Wheeler
b2d54da8ec
Fix page width by hiding overflow, calculating
2019-12-30 21:46:38 -05:00
Ben Wheeler
ea1fea8b3d
remove work-break: break-word, which is deprecated
2019-12-18 11:32:00 -05:00
Ben Wheeler
5ce878abbb
added overflow-wrap
2019-12-17 12:18:16 -05:00
Ben Wheeler
325caf9424
break word in project description
2019-12-11 23:54:20 -05:00
picklesrus
73addf562f
Hack to work around replication lag problems on project creation. This makes sure api can get the project before considering the project create to be complete. We ought to refactor gui and www so that we can use the project data we get back from the project create instead.
2019-11-22 12:15:44 -05:00
Ben Wheeler
226134bc81
renamed ErrorBoundary prop name to componentName
2019-10-11 17:17:50 -04:00
Ben Wheeler
91a05d636f
redo sentry tag key and values, move ErrorBoundary around embed
2019-10-10 13:15:35 -04:00
Ben Wheeler
54f30fc944
set errorboundary name tag everywhere ErrorBoundary is used
2019-10-09 22:30:59 -04:00
Benjamin Wheeler
18fd960a6a
Merge pull request #3377 from benjiwheeler/embed-view
...
embed view with minimal functionality, route
2019-10-02 17:32:45 -04:00
Ben Wheeler
f9b436182b
Revert "removing Page"
...
This reverts commit 06124331cc
.
2019-10-01 18:21:14 -04:00
Ben Wheeler
06124331cc
removing Page
2019-10-01 00:46:32 -04:00
Ben Wheeler
309e5a77e1
try adding Page to make build succeed
2019-09-30 23:57:11 -04:00
Ben Wheeler
60ad7e5125
removed unnecessary return statement
2019-09-30 10:56:42 -04:00
Ben Wheeler
6772dc3b6d
refactor project view and embed view to not use shared hoc
2019-09-30 10:49:19 -04:00
Ben Wheeler
10e6685a15
remove console.log statements
2019-09-30 10:07:18 -04:00
Ben Wheeler
afb7957d04
moved Sentry init into ProjectViewHOC wrapper’s code
2019-09-30 10:06:33 -04:00
Ben Wheeler
df95f4f116
refactored getProjectData back into only project-view
2019-09-30 10:06:06 -04:00
Ben Wheeler
ae591857a4
removed unnecessary React.Fragment
2019-09-30 10:04:44 -04:00
Ben Wheeler
a2e045f8ef
removed extra sentry init
2019-09-28 13:59:43 -04:00
Ben Wheeler
01a273b1f8
refactored project view and embed view to use hoc
2019-09-28 10:19:06 -04:00
Ben Wheeler
ca4a4bcbb3
added project view hoc, not hooked up yes
2019-09-28 10:18:19 -04:00
Ray Schamp
638b4dca5c
Merge pull request #3388 from LLK/hotfix/zalgo
...
[Develop] Contain zalgo text
2019-09-23 10:55:54 -04:00
rschamp
cc61683fa3
Contain zalgo text
2019-09-23 10:11:05 -04:00