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
picklesrus
0e6e49759c
Commenting status component.
2020-10-08 15:12:09 -04:00
Chris Willis-Ford
5f6315e6a1
Merge pull request #4263 from LLK/hotfix/rename-scratch-desktop-to-scratch
...
[Develop] finish renaming 'Scratch Desktop' to 'Scratch'
2020-10-05 10:29:45 -07:00
picklesrus
405ee52e50
First draft of the mute modal.
2020-10-02 15:59:33 -04:00
seotts
faf5a127d6
remove people grid padding
2020-10-02 15:43:22 -04:00
Karishma Chadha
e2da0b5250
Fix lint issues in people grid component
2020-10-02 15:43:22 -04:00
seotts
b7b3123217
add newline at end of file for linting
2020-10-02 15:43:22 -04:00
seotts
23f6ce281c
remove duplicated css from credits page
2020-10-02 15:43:22 -04:00
seotts
204c532c4e
connect PeopleGrid to css
2020-10-02 15:43:22 -04:00
seotts
74d18822e6
Make PeopleGrid component
2020-10-02 15:43:22 -04:00
Jeffalo
03c6335fa5
added semicolon sorry
2020-10-02 08:16:04 +02:00
Jeffalo
c7f2f942d7
add non breaking space to real name warning
2020-10-02 07:14:23 +02:00
Ray Schamp
b1d5246eea
Merge pull request #4216 from R4356th/patch-8
...
Add overflow, white-space and text-overflow CSS elements
2020-08-18 16:26:47 -04:00
picklesrus
05075712e8
Merge pull request #4292 from picklesrus/backoff-messages
...
Exponentially back off the time between message polling.
2020-08-07 14:45:56 -04:00
picklesrus
7d470131d7
Add check for existence of messageTimeoutId before clearing the timeout.
2020-08-06 13:22:49 -04:00
picklesrus
25b9bacd0e
Update comment to match code
2020-08-06 13:13:12 -04:00
Christopher Willis-Ford
5384ad71b9
finish renaming 'Scratch Desktop' to 'Scratch'
...
- adjust macOS installation instructions to mention "Scratch" instead of
"Scratch Desktop"
- edit the DMG screenshot to fix the app name, DMG title, and DMG icon
2020-08-03 12:08:35 -07:00
picklesrus
0036550ae8
Move timeout id out of state to a member variable and add some unittests.
2020-07-30 10:55:18 -04:00
R4356th
423c9b7e0c
Add white-space, overflow and text-overflow CSS elements
2020-07-18 18:27:03 +06:00
picklesrus
fac3ccad57
Make all times be in ms.
2020-07-17 14:44:36 -04:00
picklesrus
7eeb63cb3f
rename SetupMessagePolling to pollForMessages
2020-07-16 12:24:13 -04:00
Benjamin Wheeler
21ccd45f9b
Merge pull request #4121 from apple502j/wiki-link
...
Set wiki link per user's selected language
2020-07-09 14:20:28 -04:00
Ben Wheeler
7b2cdc73f0
updated blocks new scratcher sees
2020-07-09 14:16:52 -04:00
picklesrus
5de96c373d
Exponentially back off the time between message polling instead of doing it every two minutes.
2020-07-06 17:44:28 -04:00
Chris Willis-Ford
996a80d93d
Merge pull request #4145 from LLK/hotfix/scratch-desktop-evergreen
...
[Develop] use 'evergreen' URLs for Scratch Desktop downloads
2020-06-29 13:29:14 -07:00
Christopher Willis-Ford
2088cf2276
use 'evergreen' URLs for Scratch Desktop downloads
2020-06-25 15:00:38 -07:00
Benjamin Wheeler
2a16790cb3
Merge pull request #3776 from apple502j/patch-15
...
Always apply min-height: 0
2020-06-25 16:10:54 -04:00
Ben Wheeler
a635cd932c
make scratchWikiLink prop
2020-06-25 14:09:32 -04:00
Benjamin Wheeler
b6270812a9
Merge pull request #4002 from R4356th/patch-1
...
Change the way usernames are handled
2020-06-25 13:44:17 -04:00
Benjamin Wheeler
dc79eb54c3
Merge pull request #3974 from benjiwheeler/move-to-country-data-lib
...
move country name lookup to library
2020-06-19 10:44:26 -04:00
Ben Wheeler
d388eef59f
renamed lookupCountryInfo and lookupCountryName functions
2020-06-19 10:42:34 -04:00
apple502j
a903e3e9b2
Set wiki link per user's selected language
2020-06-18 20:22:22 +09:00
Ben Wheeler
924c862b9e
remove email opt-in from join flow
2020-06-12 12:35:34 -04:00
Christopher Willis-Ford
5d7df5c546
update scratch-desktop download links for 3.11.1
2020-06-05 15:52:06 -07:00
R4356th
364f6da13d
Remove hasOwnProperty
2020-06-01 12:43:30 +06:00
R4356th
5a46a90564
Update username-step.jsx
2020-05-31 19:26:54 +06:00
R4356th
00a2dcad63
Update username-step.jsx
2020-05-31 14:19:27 +06:00
R4356th
d9d926590a
Update username-step.jsx
2020-05-30 17:09:55 +06:00
R4356th
29558b8468
Update username-step.jsx
2020-05-20 16:38:07 +06:00
Sarah Otts
6904f50718
Merge pull request #3973 from seotts/add-disrespectful-report
...
Add disrespectful report option, reorder options
2020-05-15 10:43:29 -04:00
Ben Wheeler
665eeff75a
move country name lookup to library
2020-05-13 14:12:50 -04:00
Chris Willis-Ford
1bab2bb59a
Merge pull request #3856 from cwillisf/day1-student-country-default
...
default student's country to educator's during reg
2020-05-13 11:11:18 -07:00
seotts
52b8dff59a
Add disrespectful report option, reorder options
2020-05-13 11:41:05 -04:00
Chris Willis-Ford
39a7788c87
Merge pull request #3854 from LLK/hotfix/scratch-desktop-3.10.2
...
[Develop] release Scratch Desktop 3.10.2
2020-05-04 13:28:36 -07:00
Christopher Willis-Ford
1ba7bef8d8
release Scratch Desktop 3.10.2
2020-05-04 11:25:18 -07:00
Christopher Willis-Ford
1408b540e1
default student's country to educator's during reg
...
Ideally the classroom info would include the country code, not just the
country name. Since it doesn't, this change includes a new function to
look up a country code by the country's name (not label).
2020-05-02 00:44:23 -07:00
Chris Garrity
d538d5d053
Localize the widget
...
Note that some of the Freshdesk locales don’t match the ones used by Scratch.
2020-05-01 12:09:19 -04:00
Chris Garrity
2650c44407
hide inappropriate link field
...
disable and hide functions expect argument to be an array.
2020-05-01 09:23:35 -04:00
Chris Garrity
750071b7ae
Adjust form height to avoid form scrolling
2020-05-01 09:23:35 -04:00
Chris Garrity
3111b72117
Move profile or studio link out of description
...
Prefill a new custom field for the inappropriate link instead of prefilling description.
In the popup make the link field hidden and disabled so that users don’t change it.
2020-05-01 09:23:35 -04:00
Chris Garrity
3f5d34d05f
delay loading freshdesk script
...
Question: should script still have `async defer`
2020-05-01 09:23:35 -04:00
seotts
aca3ef0a0d
Add scary subcategories
2020-04-22 15:38:39 -04:00
chrisgarrity
8d385afa44
Merge pull request #3569 from apple502j/remove-flag
...
Remove app flag
2020-04-22 07:28:11 -04:00
picklesrus
01afd414cd
Merge pull request #3807 from picklesrus/student-username-update
...
Change up the messaging in student registration.
2020-04-21 14:28:09 -04:00
Benjamin Wheeler
099d5a1007
Merge pull request #3436 from benjiwheeler/join-flow-toggle-info-button
...
Join flow info button has larger touch target, can be clicked to toggle
2020-04-21 11:00:27 -04:00
chrisgarrity
15990b5876
Merge branch 'develop' into remove-flag
2020-04-16 16:41:31 -04:00
picklesrus
2711bafbcd
Change up the messaging in student registration to make the "don't use your real name" a blue info message and give some suggestions on how to choose a username.
2020-04-15 15:43:24 -04:00
chrisgarrity
21cc1a9780
Update src/components/helpwidget/helpwidget.jsx
...
initialize widget settings on `window` before adding the script
Co-Authored-By: Ray Schamp <rschamp@users.noreply.github.com>
2020-04-14 15:32:57 -04:00
Ben Wheeler
d1366360f1
removed lodash.debounce, use onmouseleave instead
2020-04-14 10:33:59 -04:00
Ben Wheeler
5805d8a0fe
first take on toggleable open close state for info messages
...
make info button have large, invisible boundary
fix info button ref setting
WIP: experiment with more sophisticated mouseout handling
add lodash debounce
use lodash debounce to reduce info message flickering
tweak info message position per added padding
remove leftover function
update info button tests, add a bunch more
2020-04-13 17:06:33 -04:00
apple502j
3146ee8b83
Remove app flag
2020-04-14 01:40:05 +09:00
Chris Garrity
23306ff336
remove excess space in the form
...
There’s too much space after removing the redundant field.
2020-04-10 16:09:17 -04:00
Chris Garrity
7d9e6ea8b7
Add pop up Help widget
...
Initial version of contact us with the pop up Freshdesk help widget.
* adding feature flag `?CONTACT_US_POPUP=true` to the URL allows to switch between current contact-us with form, and new contact-us with popup widget.
* new copy for the contact us page (selected based on feature flag)
* handles scratchr2 redirects by pre-opening the popup on the contact us form and handles multiple parameters
2020-04-10 12:16:44 -04:00
Chris Garrity
93d7946af7
Remove unnecessary userAgent field
...
The Freshdesk form/widget collects Browser and OS meta data so there’s no need to duplicate it.
2020-04-10 12:08:07 -04:00
seotts
907c0a5228
Merge branch 'report-copy' of github.com:seotts/scratch-www into report-copy
2020-04-08 14:18:38 -04:00
seotts
41b87b0958
use exisiting general string for "Community Guidelines"
2020-04-08 14:14:43 -04:00
Sarah Otts
fed2fe0fa1
remove unnecessary curly brackets
2020-04-08 10:29:33 -04:00
seotts
42cfba3199
Update report copy
2020-04-08 10:10:10 -04:00
seotts
272d96fdba
Lints
2020-04-03 10:41:42 -04:00
seotts
8f4a7643cf
Open Community Guidelines links in new tabs
2020-04-03 10:25:48 -04:00
seotts
091181d387
Refer correctly to the "Send" button in the Face Reveal prompt
2020-04-02 16:29:25 -04:00
seotts
8933705c76
Fix linting
2020-04-02 16:29:25 -04:00
seotts
ce4c0f09ec
Format report prompts without using FormattedHTMLMessage
2020-04-02 16:29:25 -04:00
seotts
2d6d746922
Format prompts with multiple paragraphs and a list
2020-04-02 16:29:24 -04:00
seotts
035913b954
Subcategories and deadends work
2020-04-02 16:29:24 -04:00
seotts
739cf8117b
Add a deadend step to report flow
2020-04-02 16:29:24 -04:00
seotts
af78e4c05e
Add subcategory selection if subcategories specified, and submit final report
2020-04-02 16:29:24 -04:00
apple502j
4b7aaf84f2
Always apply min-height: 0
2020-03-30 15:29:44 +09:00
picklesrus
36ef3222c0
Merge remote-tracking branch 'upstream/develop' into captcha-component-ta
2020-03-27 09:50:50 -04:00
picklesrus
187406938a
Make props required
2020-03-27 09:03:45 -04:00
picklesrus
7843ae8d4c
Add Captcha to teacher registration.
2020-03-26 16:21:13 -04:00
picklesrus
f9e48973bc
Move reCaptcha codeto a component so it can be used in another spot later.
2020-03-24 17:41:22 -04:00
Paul Kaplan
c23805f543
Merge pull request #3753 from LLK/hotfix/multi-step-report
...
[Hotfix/Develop] Split project report flow into two steps
2020-03-18 11:58:01 -04:00
Ray Schamp
507023fa96
Merge pull request #3749 from apple502j/images-403
...
Fix image links
2020-03-18 09:18:48 -04:00
Paul Kaplan
5670b4558a
Add modifier class to fix button margin
2020-03-17 10:16:33 -04:00
Paul Kaplan
f796093e79
Revise comments to clarify functionality
2020-03-17 10:03:16 -04:00
Paul Kaplan
bc3a454f4c
Split project report flow into multiple steps
2020-03-17 10:03:16 -04:00
apple502j
7c7887adc4
Fix image links
2020-03-16 15:48:39 +09:00
Chris Garrity
501a5d8fc0
Fix mistakes
...
- take captcha off the helpform url
- use encodeUriComponent to make sure semicolons in the agent string don’t mess up the form parameters
- take the `$` end matcher off the route to allow for parameters to be passed
- fix forum links
- fix faq link `/faq` => `/info/faq`
2020-03-13 09:47:31 -04:00
chrisgarrity
1d80c946f7
Merge pull request #3737 from LLK/hotfix/scratch-desktop-3.9.0
...
[Develop] hotfix/scratch desktop 3.9.0
2020-03-12 09:06:52 -04:00
Chris Garrity
e8197e4ffc
Address review comments
...
* With Carl decided to put the sidebar back even with just one item. It’s still one we want to emphasize.
* made sure the freshdesk js file would not block loading the form (it doesn’t appear to be needed for the form, it’s probably mainly for the pop-up version)
* moved the query processing into a constructor (more idomatic react)
* expanded the form so it should not need to scroll - also noted that in incognito mode a captcha is shown, so created enough space for that to be visible.
2020-03-06 08:58:30 -05:00
Christopher Willis-Ford
83112f76b2
update scratch-desktop Windows URL for 3.9.0
2020-03-05 13:28:28 -08:00
Christopher Willis-Ford
ffb0bf86a7
make download URLs easier to find and update
2020-03-05 13:28:28 -08:00
Chris Garrity
ee09ba59a4
Add handling for parameters passed in the query from scratchr2
...
Scratchr2 has links to contact us from the report (profile|studio) dialogs. Looking at the scratchr2 source, there’s also one for confirmations, so this change handles the additional details in the same way - in the subject and description. In the future we could consider pre-filling specific form fields that we define.
2020-03-05 11:51:11 -05:00
Chris Garrity
8fc9b57e7d
Add new Contact Us information page
...
Using the Freshdesk Feedback form
* adds new component HelpForm for the Freshdesk component
* adds new contact-us view
* modifies Information page css with style for a header on the right hand nav section
* adds new route for the contact-us page (is identical to the old scratchr2 URL)
2020-03-02 11:33:54 -05:00
Chris Garrity
ad2f0fa4e2
Don’t prefix localhost
with .
...
Need to special case localhost so that changing language works when running locally.
2020-01-23 16:56:12 -05:00
Chris Garrity
92a729e9c8
Set language cookie domain to allow for cross-domain cookies
...
Add leading `.` to the current hostname for the language cookie domain.
2020-01-22 15:54:05 -05:00
Ben Wheeler
7b46ddf243
Revert "Merge pull request #3628 from LLK/revert-3618-hotfix/join-retry-session"
...
This reverts commit 7c9a098598
, reversing
changes made to 2c68f2041e
.
2020-01-14 21:58:38 -05:00
Benjamin Wheeler
25b01b6df9
Merge pull request #3624 from LLK/hotfix/mandrill-outage-page-banner
...
[Develop] Hotfix/mandrill outage page banner
2020-01-09 17:33:29 -05:00
Ben Wheeler
223bed257b
changed wording to be more specific abount time
2020-01-09 17:28:19 -05:00
Ben Wheeler
88e59a5b49
Move warning banner from splash to Page
2020-01-11 00:16:34 -05:00
Benjamin Wheeler
1dbe89f2bc
Revert "[Develop] Hotfix/join retry session"
2020-01-09 08:44:27 -05:00
Ben Wheeler
2c40d8c51e
draft of mandrill outage banner
2020-01-09 00:03:58 -05:00
Benjamin Wheeler
ae96ac7eed
Merge pull request #3618 from LLK/hotfix/join-retry-session
...
[Develop] Hotfix/join retry session
2020-01-07 14:36:38 -05:00
Benjamin Wheeler
6a97d44978
Merge pull request #3576 from benjiwheeler/join-flow-retry-session
...
Retry fetching session until it succeeds, when registering using join flow
2019-12-13 15:03:43 -05:00
picklesrus
e776cb536f
Merge pull request #3598 from LLK/hotfix/conference2020
...
[Develop] Hotfix/conference2020
2019-12-12 16:21:22 -05:00
picklesrus
b6d296f88d
Fix some spacing and replace images.
2019-12-11 16:21:13 -05:00
picklesrus
166a2dc282
Initial landing page with info about Scratch conference 2020.
...
Also switches the /conference redirect to go to conference/2020 instead
of /2019.
2019-12-09 16:27:47 -05:00
Benjamin Wheeler
7031bc5dfe
Merge pull request #3482 from nandedamana/issue/gh-3182-teacher-reg-form-diff-font-weights
...
fixed the issue "Create a Username" has different font weight
2019-12-05 22:52:44 -05:00
picklesrus
f8f6cce2e6
Merge pull request #3586 from picklesrus/footer-stuff
...
add a missing t.
2019-12-05 09:48:58 -05:00
picklesrus
c306b92d78
add a missing t.
2019-12-05 09:47:12 -05:00
picklesrus
52ae6f791e
Merge pull request #3583 from picklesrus/footer-stuff
...
Add recognition text and links to the bottom of the page.
2019-12-04 17:23:34 -05:00
picklesrus
b89fe1a985
Add recognition text and links to the bottom of the page.
...
Adds a prop to the Page component so each page can say whether or not it
wants them to appear.
2019-12-04 16:28:23 -05:00
Ben Wheeler
c9cbb4a1e0
have join flow use refreshSessionWithRetry()
2019-12-03 21:19:14 -05:00
Paul Kaplan
7129cb2054
Merge pull request #3545 from apple502j/goodbye-jobs-page
...
Goodbye jobs page
2019-11-21 13:13:02 -05:00
picklesrus
d1c7829853
Use indexOf instead of includes because of old browsers.
2019-11-18 14:06:19 -05:00
apple502j
6d9a7d20da
Links and test changes
2019-11-19 01:34:19 +09:00
picklesrus
378cebe5f4
Take user to the homepage when finishing the join flow (unless they came from the editor). There is replication lag that makes creating a project immediatley a bad experience. We'll fix this in a followup.
2019-11-15 11:23:54 -05:00
picklesrus
a036d5d13c
Put the right value in the password field. This got mixed up in #3512 .
2019-11-13 10:10:14 -05:00
Ben Wheeler
48d7209942
remove truncation of password, passwordConfirm
2019-11-12 11:43:23 -05:00
picklesrus
3ad17a4572
Add privacy policy and link to the email step.
2019-11-06 12:32:55 -05:00
picklesrus
b845010025
Merge pull request #3503 from picklesrus/join-ga
...
Add analytics logging to join flow.
2019-11-06 11:01:40 -05:00
Benjamin Wheeler
7cea138c46
Merge pull request #3505 from LLK/revert-3495-revert-3468-country-data-name-fix
...
Revert "Revert "fixed country options to use full country name string as option value""
2019-11-06 10:22:31 -05:00
picklesrus
68fc4fe45b
Fix merge conflicts :(
2019-11-05 20:01:35 -05:00
picklesrus
c77db39062
Guard calls to componentDidMount with a check for existence.
...
Fix tag on username step.
2019-11-05 19:50:42 -05:00
picklesrus
30967a3056
Set sendAnalytics to be required and send the right props to the error step. Also add a test for the error step.
2019-11-05 19:50:42 -05:00
picklesrus
e4b79c1bd2
Add analytics logging to join flow. Adding page views for each step in the flow.
2019-11-05 19:48:44 -05:00
Ben Wheeler
7b69935d50
in join flow, use country name options
2019-11-05 18:31:05 -05:00
Ben Wheeler
3e7753691f
use country code options in regular registration
2019-11-05 18:30:49 -05:00
Benjamin Wheeler
77fca39bbf
Merge pull request #3485 from benjiwheeler/join-flow-cache-ignores-api-failures
...
username step and email step caches ignore api failures
2019-11-05 12:51:33 -05:00
Ben Wheeler
7b2e75821c
revise function names and handling of registration errors
2019-11-05 12:12:03 -05:00
Ben Wheeler
e3d3d97c19
change p tags to divs; set isRequired on canTryAgain
2019-11-05 12:12:03 -05:00
Ben Wheeler
510906e538
removed stray onCaptchaError from bind list
2019-11-05 12:12:03 -05:00
Ben Wheeler
f713298d37
use class instead of id for identifying errorMsg in test
2019-11-05 12:11:04 -05:00
Ben Wheeler
d265ad3d44
show errorMsg content, not formatted message with errMsg as id
2019-11-05 12:11:03 -05:00
Ben Wheeler
469db4dc36
simplify canTryAgain function, reset registrationError on retry
2019-11-05 12:11:03 -05:00
Ben Wheeler
9a97285ac6
rename handleRegistrationError to handleCaptchaError
2019-11-05 12:11:03 -05:00
Ben Wheeler
a95d17f708
refactor error handling in join flow
2019-11-05 12:09:56 -05:00
Ben Wheeler
ceb3af1c58
improve formatting of welcome, error step text
2019-11-05 12:09:56 -05:00
Ben Wheeler
517d8ff7cc
registration error step takes different props
2019-11-05 12:09:56 -05:00
Ben Wheeler
b6fcffd6f3
correct misspelled join flow intl id
2019-10-31 23:21:21 -04:00
Nandakumar Edamana
f54cf1a639
fixed a margin issue caused by the previous fix
2019-10-27 17:07:43 +05:30
Nandakumar Edamana
4e3956e1e4
fixed the issue "Create a Username" has different font weight
2019-10-27 16:57:55 +05:30
Ben Wheeler
49fe86ae3c
username step and email step caches ignore api failures
2019-10-23 17:02:57 -04:00
Benjamin Wheeler
d9bd2baf15
Merge pull request #3424 from benjiwheeler/join-flow-splash-join-button
...
splash page join button works with new join flow
2019-10-21 12:18:01 -04:00
Benjamin Wheeler
fdbbc5e632
Merge pull request #3423 from benjiwheeler/join-flow-select-text
...
make text selectable, so users can copy errors
2019-10-21 11:17:02 -04:00
Ben Wheeler
c499624345
make text selectable, so users can copy errors
2019-10-18 13:54:59 -04:00
Ben Wheeler
baa4e0e2c3
refactor intro.jsx and navigation.jsx to use new navigation reducer single registration open request action
2019-10-17 23:38:54 -04:00
Ben Wheeler
ed99e410f5
splash page join button works with new join flow
2019-10-17 23:38:54 -04:00
Ben Wheeler
0dfd1cf9fc
added comment about setting initial state
2019-10-17 23:34:31 -04:00
Ben Wheeler
eeb9f03887
use initialState to set, reset state of join-flow component
2019-10-17 23:32:06 -04:00
Ben Wheeler
3469f17bfe
error step can show try again, or start over; limits to one retry
2019-10-17 22:25:00 -04:00
Ben Wheeler
8b78fcb8db
always load captcha on email step
2019-10-17 22:22:44 -04:00
Benjamin Wheeler
3e6e87c3a4
Merge pull request #3417 from benjiwheeler/join-flow-cache-remote
...
Join flow cache remote
2019-10-17 08:23:47 -04:00
Benjamin Wheeler
f271a4f0c3
Merge pull request #3444 from benjiwheeler/join-flow-sentry-wrap
...
Add Sentry to Join Flow; set Sentry tags on various ErrorBoundaries
2019-10-16 16:34:43 -04:00
Benjamin Wheeler
6b6b415069
Merge pull request #3434 from benjiwheeler/join-flow-responsive-more
...
Join flow responsive changes for input, button and select widths
2019-10-16 16:19:50 -04:00
Ben Wheeler
226134bc81
renamed ErrorBoundary prop name to componentName
2019-10-11 17:17:50 -04:00
Benjamin Wheeler
757ac80677
Merge pull request #3427 from benjiwheeler/join-flow-autocomplete-3
...
turn off automplete and autocorrect for join-flow inputs
2019-10-11 16:28:25 -04:00
Benjamin Wheeler
14c6211614
Merge pull request #3435 from benjiwheeler/join-flow-image-bg-color
...
Join flow image preview using background color
2019-10-11 16:27:48 -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
cd73afee1b
use ‘scratch-www’ rather than ‘www’ in report to sentry
2019-10-09 23:05:23 -04:00
Ben Wheeler
fbbf467878
set ‘www’ as tag, rather than environment
2019-10-09 22:48:11 -04:00
Ben Wheeler
54f30fc944
set errorboundary name tag everywhere ErrorBoundary is used
2019-10-09 22:30:59 -04:00
Ben Wheeler
0f8eb638cc
add support in ErrorBoundary for setting errorboundary tag
2019-10-09 22:30:35 -04:00
Ben Wheeler
e45397d250
custom birth month and year width for small window sizes
2019-10-07 16:51:00 -04:00
Ben Wheeler
abc85fe3be
change calculation for join flow modal inner content width, to be more friedly at small sizes
2019-10-07 16:51:00 -04:00
Ben Wheeler
5b60366985
change how we handle the width of gender custom input
2019-10-07 16:51:00 -04:00
Benjamin Wheeler
3a06ad81b1
Merge pull request #3425 from benjiwheeler/join-flow-truncate-custom-gender
...
truncate custom gender, and other inputs
2019-10-07 12:47:58 -04:00
Benjamin Wheeler
60609dc819
Merge pull request #3430 from benjiwheeler/join-flow-responsive-fixes
...
Join flow responsive fixes
2019-10-07 12:44:30 -04:00
Benjamin Wheeler
0985124f8b
Merge pull request #3431 from benjiwheeler/join-flow-adjust-email-centering
...
adjust join flow email centering
2019-10-07 12:43:45 -04:00
Ben Wheeler
868fb0f044
fix join flow header image height, so color background will be completely covered
2019-10-03 19:26:41 -04:00
Ben Wheeler
e27a7cdbbc
pass join flow image background classes through to relevant steps
2019-10-03 19:25:56 -04:00
Ben Wheeler
6da150d02e
add background styles for join flow images
2019-10-03 19:24:43 -04:00
Ben Wheeler
2b23a41a45
several fixes to join modal responsiveness
2019-10-03 12:35:36 -04:00
Chris Garrity
916be715c1
Other Scratch app changes
...
* Footer
* ideas page
* FAQ
* parents
2019-10-02 16:38:38 -07:00
Chris Garrity
54c5484263
Copy changes for Download page.
2019-10-02 15:57:06 -07:00
Ben Wheeler
17c1a257aa
adjust email centering
2019-10-02 18:29:28 -04:00
Ben Wheeler
644aa272b3
turn off automplete and autocorrect for join-flow inputs
2019-10-01 18:38:47 -04:00
Benjamin Wheeler
28fd111199
Revert "turn off automplete and autocorrect for join-flow inputs"
2019-10-01 18:34:19 -04:00
Ben Wheeler
5db507201a
truncate username, passwords, and email to their max stored lengths
2019-10-01 18:15:38 -04:00
Ben Wheeler
825c613db8
truncate custom gender to 25 chars long
2019-10-01 18:04:47 -04:00
Ben Wheeler
62fc3457e7
turn off automplete and autocorrect for join-flow inputs
2019-10-01 16:43:33 -04:00
Benjamin Wheeler
a47e1c9898
Merge pull request #3418 from benjiwheeler/join-flow-move-modal-down
...
move join flow modal down in small window widths
2019-09-30 17:02:46 -04:00
Benjamin Wheeler
d4d4adc9f9
Merge pull request #3362 from benjiwheeler/join-flow-spinner-simple
...
format and update timing of join flow spinner
2019-09-30 16:49:52 -04:00
Benjamin Wheeler
fdeb87fce9
Merge pull request #3383 from benjiwheeler/join-flow-navigate-to-join-page
...
scratch3 join flow redirects to /join, outside editor
2019-09-30 16:44:24 -04:00
Benjamin Wheeler
aabdd128f4
Merge pull request #3416 from benjiwheeler/join-flow-show-password-default
...
change password default; remove unused state var
2019-09-30 16:43:50 -04:00
Ben Wheeler
0656ab6a9e
added simple memoizing cache for email step
2019-09-30 13:29:17 -04:00
Ben Wheeler
3bc6e7ff6f
revised comments
2019-09-30 13:29:17 -04:00
Ben Wheeler
0d4d6a9adc
cache remote username check response
2019-09-30 13:29:17 -04:00
Benjamin Wheeler
3c5313d8ce
Merge pull request #3415 from benjiwheeler/join-flow-validation-semi-bold
...
make validations semi-bold
2019-09-30 13:21:29 -04:00
Ben Wheeler
484cf46b8c
move join flow modal down in small window widths
2019-09-30 11:49:04 -04:00
Ben Wheeler
3bee3fae4b
change password default; remove unused state var
2019-09-26 14:51:33 -04:00
Ben Wheeler
51c816c5cf
make validations semi-bold
2019-09-26 14:49:42 -04:00
Ben Wheeler
2efb3a7bfa
join flow bold text and related design tweaks
2019-09-26 14:46:42 -04:00
Paul Kaplan
db8cc6f80f
Make app store links open in a new tab
2019-09-26 10:43:36 -04:00
Ben Wheeler
6ff1a1c4f1
add navigation test
2019-09-26 09:29:02 -04:00
Paul Kaplan
a9a175b3cb
Merge pull request #3384 from benjiwheeler/join-flow-gender-strings
...
gender step uses blank default, lcase values
2019-09-25 16:04:58 -04:00
Paul Kaplan
32165c0d31
Merge pull request #3397 from paulkaplan/chromeos-feature-flag
...
Download and initial extension pages for forthcoming ChromeOS app launch
2019-09-25 16:00:06 -04:00
Ben Wheeler
ccffa35037
change gender string defaults
2019-09-25 09:57:40 -04:00
Ben Wheeler
6fc5705779
revise country placeholder
2019-09-24 20:16:48 -04:00
Ben Wheeler
7e86319a36
wired showCloseButton through new join flow
2019-09-24 18:43:29 -04:00
Ben Wheeler
691faabe28
pass createProjectOnComplete prop through join flow
...
…so welcome step can display correct completion text
2019-09-24 18:41:24 -04:00
Paul Kaplan
762dc324b8
Update extension pages for new OS picker
2019-09-24 16:25:58 -04:00
Paul Kaplan
5d39e59dd5
Use a feature flag to contain new Scratch Desktop updates
2019-09-24 15:17:11 -04:00
picklesrus
0d60b64c39
Add a prop to Modal that allows you to hide the close button. Set it to show by default and have the standalone join flow page set it to hidden.
2019-09-24 13:43:34 -04:00
Benjamin Wheeler
c609d99e0e
Merge pull request #3386 from benjiwheeler/join-flow-disable-click-outside
...
new join flow modal stays open on click outside
2019-09-24 12:10:56 -04:00
Benjamin Wheeler
0e13c2dd48
Merge pull request #3392 from benjiwheeler/join-flow-validation-positioning
...
Join Flow validation positioning/spacing fixes
2019-09-24 12:10:25 -04:00
Benjamin Wheeler
779520aa2a
Merge pull request #3395 from benjiwheeler/join-flow-responsive-validation
...
make validations be the same width as inputs…
2019-09-24 12:09:43 -04:00
Benjamin Wheeler
117f0cee91
Merge pull request #3394 from benjiwheeler/join-flow-drag
...
set modal close icon to draggable false
2019-09-24 09:29:23 -04:00
picklesrus
5f3d6506c0
Merge pull request #3367 from picklesrus/captcha-error-handling
...
Handle errors of captcha loading by setting error state on JoinFlow.
2019-09-23 23:57:13 -04:00
Ben Wheeler
e901deb398
make validations be the same width as inputs…
...
…when window is narrow
2019-09-23 16:26:34 -04:00
Ben Wheeler
d4c791adfb
set modal close icon to draggable false
2019-09-23 15:16:20 -04:00
Ben Wheeler
865e0a09dd
give join-flow validations more spacing from inputs they refer to; unset width of Required message
2019-09-23 13:23:38 -04:00
Ben Wheeler
693c8e11e3
new join flow modal stays open on click outside
2019-09-23 10:36:58 -04:00
Benjamin Wheeler
ecdfaeeeec
Merge pull request #3361 from benjiwheeler/join-flow-dropdown-validation
...
when select dropdown is focused, clear any validation errors
2019-09-23 09:56:19 -04:00
Ben Wheeler
d905f624ca
gender step uses blank default, lcase values
2019-09-20 18:22:15 -04:00
Ben Wheeler
106ccb34c6
make gender step height more flexible
2019-09-20 17:54:45 -04:00
Ben Wheeler
58baa25d9f
scratch3 join flow redirects to /join, outside editor
2019-09-20 17:50:33 -04:00
Ben Wheeler
6bcde6129b
shorter description line height
2019-09-20 17:17:53 -04:00
Ben Wheeler
0e7ed0e0fd
show info button in a way that does not increase line height
2019-09-20 17:17:38 -04:00
picklesrus
cdd90da423
Rename error function.
2019-09-19 13:40:09 -04:00
Ray Schamp
d8ce9555c5
Merge pull request #3365 from LLK/hotfix/footer
...
Remove tagline from site footer
2019-09-18 10:41:30 -04:00
picklesrus
6a45907ded
Handle errors of captcha loading by setting error state on JoinFlow.
2019-09-18 10:26:37 -04:00
Benjamin Wheeler
2e7a687547
Merge pull request #3359 from benjiwheeler/join-flow-placeholder-fixes
...
Join flow placeholder fixes
2019-09-17 21:43:06 -04:00
Ben Wheeler
d2bfa13d0a
set size of join flow next step spinner
2019-09-16 22:49:28 -04:00
Ben Wheeler
5d1c46d24f
slower spinner animation, with bezier timing
2019-09-16 22:41:28 -04:00
Ben Wheeler
628e00f401
when select dropdown is focused, clear any validation errors
2019-09-16 22:34:32 -04:00
Ben Wheeler
8f45c12b89
fix welcome vertical spacing, make it flexible
2019-09-16 21:49:06 -04:00
Ben Wheeler
87e8b18ab1
comment placeholder option
2019-09-16 21:45:45 -04:00
Ben Wheeler
e9605dcca1
disable birthdate placeholders
2019-09-16 21:45:26 -04:00
Ben Wheeler
c034c6c701
make sure correct input css is used for formik input
2019-09-16 21:45:11 -04:00
Benjamin Wheeler
303481b61d
Merge pull request #3352 from benjiwheeler/join-flow-privacy-under
...
Join flow revise descriptions and privacy messages
2019-09-16 21:06:10 -04:00
Ben Wheeler
e95cd8e3d5
moved validation info box shadow, font weight into info-button-message class
2019-09-16 17:00:32 -04:00
rschamp
c6d39b7509
Remove tagline from site footer
2019-09-16 12:07:43 -04:00
Ben Wheeler
148d1914dd
remove unused class
2019-09-15 21:41:05 -04:00
Ben Wheeler
c08c9f8802
country step adjust spacing
2019-09-15 21:38:09 -04:00
Ben Wheeler
4341d364d4
adjust email step vertical spacing, redo its footer
2019-09-15 17:22:25 -04:00
Ben Wheeler
b82787fc6d
move info button down, and give its message a shadow
2019-09-15 17:12:57 -04:00
Ben Wheeler
31d8189e54
format each join flow title’s padding differently
2019-09-15 17:11:43 -04:00
Ben Wheeler
ad3940555e
remove descriptions from several join flow steps
2019-09-15 17:09:57 -04:00
Ben Wheeler
8bc83fa136
move privacy message to below inputs; format color
2019-09-15 17:08:40 -04:00
Benjamin Wheeler
df2fc74031
Merge pull request #3335 from benjiwheeler/join-flow-reorder
...
reorder join flow to put country second
2019-09-12 16:25:53 -04:00
picklesrus
b15dcaa2bc
Add captcha token to ther request. It was left out of #3291 .
2019-09-11 12:36:56 -04:00
Ben Wheeler
70baf75f5e
reorder join flow to put country second
2019-09-11 10:39:46 -04:00
Ben Wheeler
7587c68582
include example of failing response
2019-09-10 16:37:10 -04:00
Ben Wheeler
ce3921bec5
update join flow lint exceptions
2019-09-10 16:37:10 -04:00
Ben Wheeler
9ea6cc8d42
use mergeProps to make tests work
2019-09-10 16:37:10 -04:00
Ben Wheeler
1d976c7cdf
refactor handleRegistrationResponse
2019-09-10 16:34:23 -04:00
Ben Wheeler
643b4a611b
comment preventDefault()
2019-09-10 16:34:23 -04:00
Ben Wheeler
f693728c1c
use consistent quotes in object keys
2019-09-10 16:34:23 -04:00
Ben Wheeler
ce5558f8e2
refactor advance step and register functions
2019-09-10 16:34:23 -04:00
Ben Wheeler
3809d83c36
rename RegistrationError to RegistrationErrorStep
2019-09-10 16:34:23 -04:00
Ben Wheeler
f7a70475e2
added explanatory join flow comments
2019-09-10 16:34:23 -04:00
Ben Wheeler
e44d52b735
added placeholder for g-recaptcha-response
2019-09-10 16:34:23 -04:00
Ben Wheeler
5269cf7330
join flow register user function, registration error component
...
* add yesno checkbox
* allow checkbox to be hidden
* add registration error, waiting prop to join flow steps
* use redux to dispatch session refresh
* call register function in join flow
* make join flow modal stay showing even when session is refreshed
2019-09-10 16:34:23 -04:00
Benjamin Wheeler
8f11de675d
Merge pull request #3289 from benjiwheeler/join-flow-validate-email-remotely
...
Join flow validate email remotely
2019-09-10 10:05:27 -04:00
Benjamin Wheeler
8431403322
Merge pull request #3297 from LLK/revert-3296-revert-3295-join-flow-create-project
...
on complete join flow, take user to new project
2019-09-09 10:32:48 -04:00
Ben Wheeler
fa91a57b35
show email validation error until you make a change
2019-09-05 11:53:46 -04:00
Ben Wheeler
d6e5637dbe
in email step, use remote validation
2019-09-05 11:53:46 -04:00
Benjamin Wheeler
f50717d4f9
Merge pull request #3306 from benjiwheeler/join-flow-restyle-next-button
...
restyle next button to remove border, add hover color
2019-09-05 11:28:10 -04:00
Ben Wheeler
c92c0af396
more subtle Next hover state
2019-09-04 12:06:59 -04:00
picklesrus
3c716af744
Fix merge conflicts.
2019-08-29 11:33:50 -04:00
picklesrus
c4d6e3dcef
space fixes
2019-08-29 11:26:49 -04:00
picklesrus
f5a44c3458
Only load the captcha js if it hasn't been loaded yet.
2019-08-29 11:26:49 -04:00
picklesrus
350f6e6bab
Make it so Create Account button is not clickable until captcha js loads.
2019-08-29 11:26:11 -04:00
picklesrus
b8b76f69ba
Make sure the "create account" button is clickable until captcha is actually solved.
2019-08-29 11:24:59 -04:00
picklesrus
f83fa4390c
- Undo bad merge changing name of validateEmail function
...
- Move loading of capcha js to final step
- add in onload and onerror callbacks for catpcha js loading
2019-08-29 11:24:59 -04:00