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
Ray Schamp
18b2ffe934
Merge pull request #3343 from LLK/hotfix/scratch-desktop-3.6.0
...
Release Scratch Desktop 3.6.0
2019-09-12 13:58:30 -04:00
Christopher Willis-Ford
ab35d1ee64
release Scratch Desktop 3.6.0
2019-09-12 09:46:06 -07:00
Ben Wheeler
cc578109fa
put back missing refreshSession() call
2019-09-12 10:45:48 -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
46351c116d
collapse switch cases
2019-09-05 11:53:47 -04:00
Ben Wheeler
55cb112ee9
use params prop instead of inline query params
2019-09-05 11:53:47 -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
Ben Wheeler
020231bb02
add local, remote email validation to validate library
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
6e5a2292a6
Requiring the Page component (even though we don't use it) allows www to build without running out of memory.
2019-09-04 10:51:13 -04:00
picklesrus
84be22f335
add in unused Page for testing webpack memory.
2019-09-03 16:57:43 -04:00
picklesrus
49ed43e397
Join flow standalone with no extra stuff.
2019-09-03 16:38:38 -04:00
picklesrus
73c353ba2c
Merge pull request #3276 from picklesrus/captcha-join
...
Initial work for captcha in new join flow.
2019-08-29 16:10:50 -04:00
Ben Wheeler
e3cd4e0628
changed string id to correct one
2019-08-29 11:44:08 -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
picklesrus
d2cb0818c8
Maybe setup captcha site keys properly?
2019-08-29 11:22:55 -04:00
picklesrus
9d4d2f3c67
Put the captcha badge in the bottom right.
2019-08-29 11:22:55 -04:00
picklesrus
3daba3b907
Initial work for captcha in new join flow.
...
TODOS:
- handle error states
- Setup keys for different environments.
- Make sure remote validators are run before captcha.
2019-08-29 11:22:55 -04:00
Paul Kaplan
ba519e7a0f
Update microbit.jsx
2019-08-29 11:21:10 -04:00
Paul Kaplan
b15229f19f
Update microbit.jsx
2019-08-29 11:01:53 -04:00
Paul Kaplan
1f704a4d4d
Use new tab for PDF download button
2019-08-29 10:58:05 -04:00
Benjamin Wheeler
5ab2bf100b
Merge pull request #3303 from benjiwheeler/join-flow-misc-fixes
...
Join flow misc fixes
2019-08-28 10:28:15 -04:00
Ben Wheeler
2a78723ce4
restyle next button to remove border, add hover color
2019-08-28 10:23:15 -04:00
Benjamin Wheeler
0937b40857
Merge pull request #3302 from benjiwheeler/join-flow-password-font-size
...
make password font size large, if password hidden
2019-08-28 10:10:59 -04:00
Ben Wheeler
b5d71af4c3
restore default orange background color for validation tooltips
2019-08-27 23:01:08 -04:00
Ben Wheeler
9f5dc9928f
make password font size large, if password hidden
2019-08-27 16:07:31 -04:00
Ben Wheeler
2c56c8b4cc
shift info button down, in alignment with text
2019-08-27 16:06:14 -04:00
Ben Wheeler
81323f755f
set validation info box shadow, font weight
2019-08-27 15:25:10 -04:00
Ben Wheeler
606421615a
make long strings wrap, so they don’t bleed outside bounds
2019-08-27 15:21:31 -04:00
Ben Wheeler
65b6475ed6
smarter handling of handleCompleteRegistration
2019-08-27 12:15:49 -04:00
Benjamin Wheeler
f8b901844b
Merge pull request #3277 from benjiwheeler/join-flow-gender-validation-positioning
...
Join flow birthdate validation positioning
2019-08-27 11:45:18 -04:00
Ben Wheeler
12631a6c64
also accept error false
2019-08-27 11:44:17 -04:00
Ben Wheeler
425675e760
accept bool as toolTip type
2019-08-27 11:44:02 -04:00
Ben Wheeler
0ebc168f21
comment prop for eslint
...
# Conflicts:
# src/components/registration/scratch3-registration.jsx
2019-08-26 17:29:33 -04:00
Ben Wheeler
19a15988b2
in email step, auto-focus on first input
2019-08-26 16:02:07 -04:00
Ben Wheeler
ea9d62129a
in username step, auto-focus on first input
2019-08-26 16:01:59 -04:00
Ben Wheeler
daeed19dc5
use onSetRef instead of setRef in formik-input
2019-08-26 16:01:42 -04:00
Ben Wheeler
b0bc59f9bd
use more user-friendly error message if api call fails
2019-08-26 15:48:16 -04:00
Benjamin Wheeler
110ce59cc7
Revert "Revert "on complete join flow, take user to new project""
2019-08-26 15:41:32 -04:00
Benjamin Wheeler
607a314189
Revert "on complete join flow, take user to new project"
2019-08-26 15:40:41 -04:00
Ben Wheeler
4270fa4b53
on complete join flow, take user to new project
2019-08-26 15:35:40 -04:00
Benjamin Wheeler
e4d9e72e2c
Merge pull request #3273 from benjiwheeler/join-flow-in-editor
...
Able to use scratch3 join flow in editor
2019-08-26 14:32:07 -04:00
Ben Wheeler
925f2de024
be safer with arrow-border-width
2019-08-26 14:30:52 -04:00
Ben Wheeler
37c2112a3e
remove redundant use of redux registrationOpen
2019-08-26 14:19:08 -04:00
Ben Wheeler
8139901973
added website for kenya conference
2019-08-26 14:14:53 -04:00
Ben Wheeler
b5c21cfb92
Update Kenya conference
2019-08-26 11:13:11 -04:00
Ben Wheeler
add30d9d26
don’t close registration window when login status updates
2019-08-25 10:18:08 -04:00
Andrew Sliwinski
0562b43587
Update credits page
2019-08-24 23:45:15 +01:00
Ben Wheeler
4146a7a308
Move flag that controls which join flow we use to redux
2019-08-23 17:30:38 -04:00
Ben Wheeler
98bb0cbb11
make join flow modal stay showing even when session is refreshed
2019-08-23 17:19:12 -04:00
Ben Wheeler
3ac1ef34ae
Able to use scratch3 join flow in editor
2019-08-23 17:18:14 -04:00
Benjamin Wheeler
0c9e66c777
Merge pull request #3278 from benjiwheeler/join-flow-center-gender-rows
...
make gender radio rows center themselves horizontally within the modal
2019-08-22 10:46:59 -04:00
Benjamin Wheeler
9aee049250
Merge pull request #3279 from benjiwheeler/join-flow-improve-padding
...
improve top and bottom positioning for multiple steps
2019-08-22 10:46:28 -04:00
Benjamin Wheeler
baa3aded83
Merge pull request #3280 from benjiwheeler/join-flow-select-fail
...
formik-select handles fail state with orange border
2019-08-21 16:57:40 +02:00
picklesrus
433f7ebd2f
Merge pull request #3281 from benjiwheeler/join-flow-email-initial
...
add missing initial values, remove unnecessary one
2019-08-21 10:25:27 -04:00
Ben Wheeler
7b076d74c1
add missing initial values, remove unnecessary one
2019-08-21 14:25:21 +02:00
Ben Wheeler
a600d7fe18
formik-select handles fail state with orange border
2019-08-21 14:07:04 +02:00
Benjamin Wheeler
0a77f62c02
Merge pull request #3263 from benjiwheeler/microbit-add-cards
...
Microbit add cards
2019-08-21 11:30:23 +02:00
Ben Wheeler
01941b16de
improve top and bottom positioning for multiple steps
2019-08-21 10:52:43 +02:00
Ben Wheeler
ab4369dc28
make caret svgs taller
2019-08-21 10:20:09 +02:00
Ben Wheeler
6285784cd2
improve logic, appearance of birthdate step select elements
2019-08-21 04:00:22 +02:00
Ben Wheeler
af13ec037c
info button message should appear on top of validations
2019-08-21 04:00:13 +02:00
Ben Wheeler
16e1a46997
validation messages can position on the left
2019-08-21 04:00:01 +02:00
Ben Wheeler
8bd1119b65
make gender radio rows center themselves horizontally within the modal
2019-08-21 03:58:49 +02:00
Benjamin Wheeler
ae8f5a1e90
Merge pull request #3274 from benjiwheeler/join-flow-misc
...
Join flow misc UI improvements
2019-08-21 01:40:16 +02:00
Ben Wheeler
1512cdb4df
restored radio button label htmlFor
2019-08-21 00:31:49 +02:00
Ben Wheeler
2aa5ea0f02
gender step gets custom input ref, focuses on click
2019-08-21 00:31:49 +02:00
Ben Wheeler
5ec8811427
formik-radio-button can pass custom input ref up
2019-08-21 00:31:49 +02:00
Ben Wheeler
b438eed70d
formik-input can set ref to its inner input
2019-08-21 00:31:49 +02:00
Ben Wheeler
e55d2f27d8
simplified formik radio handling, attach label to input
2019-08-21 00:30:27 +02:00
Benjamin Wheeler
a5b9cdc410
Merge pull request #3251 from benjiwheeler/join-flow-highlighting-positive
...
Join flow: show positive blue tooltips when you focus an input that is empty
2019-08-21 00:15:57 +02:00
Ben Wheeler
5c5f571438
hackily fix birthdate description wrapping
2019-08-20 20:34:59 +02:00
Benjamin Wheeler
8f64c8b3f8
Merge pull request #3272 from benjiwheeler/join-flow-various-images
...
Join flow various images
2019-08-20 19:27:23 +02:00
Ben Wheeler
c9b22141af
add light hiligthing on hover for gender
2019-08-20 02:48:32 +02:00
Ben Wheeler
512c267449
use Country instead of select country
2019-08-20 02:37:17 +02:00
Ben Wheeler
4f0a87e25b
removed duplicate confirm password string
2019-08-20 01:20:57 +02:00
Ben Wheeler
b1534e2156
moved microbit cards url to static l10n file
2019-08-20 01:16:49 +02:00
Ben Wheeler
9e14f2a559
add microbit cards url
2019-08-20 01:16:49 +02:00
Ben Wheeler
5d2b457436
Add microbit cards section, make responsive
2019-08-20 01:16:49 +02:00
Ben Wheeler
9eab36af9a
consolidate mentions of “Download PDF”
2019-08-20 01:16:48 +02:00
Ben Wheeler
4740234f29
added custom checkmark svg
2019-08-20 01:01:23 +02:00
Ben Wheeler
ff2cab476d
fixed proptypes bug, changed validationmessage to use mode
2019-08-19 23:04:23 +02:00
Ben Wheeler
0998171a67
display username tooltip messages
2019-08-19 23:04:23 +02:00
Ben Wheeler
095493a313
add advice tooltip strings for username step
2019-08-19 23:03:07 +02:00
Ben Wheeler
f8c8dc1663
add support for positive validation messages
2019-08-19 23:03:07 +02:00
Benjamin Wheeler
3f150be19b
Merge pull request #3266 from benjiwheeler/join-flow-info-responsive
...
use media queries to make info message responsive
2019-08-19 18:01:30 +02:00
Ben Wheeler
092d587620
add info button svg
2019-08-19 17:35:36 +02:00
Benjamin Wheeler
2854d9defd
Merge pull request #3267 from benjiwheeler/join-flow-placeholders
...
added placeholders to username step
2019-08-19 16:52:00 +02:00
Benjamin Wheeler
ff3c91f9e0
Merge pull request #3186 from benjiwheeler/join-flow-add-images
...
Join flow add images
2019-08-19 16:23:07 +02:00
Ben Wheeler
aadf087b50
add join flow header images
2019-08-19 16:17:32 +02:00
Ben Wheeler
18605ea047
create your account
2019-08-19 16:10:24 +02:00
Ben Wheeler
a609709f41
ability to pass formik checkbox label classname
2019-08-19 16:10:24 +02:00
Ben Wheeler
5b5ac6a66f
added email subscribe checkbox
2019-08-19 16:10:23 +02:00
Ben Wheeler
8f5f89abfd
improve email step in several ways
2019-08-19 16:08:55 +02:00
Ben Wheeler
7b53b60cec
adjust gender css
2019-08-19 02:13:35 +02:00
Ben Wheeler
a299135260
removed obsolete css
2019-08-19 02:13:23 +02:00
Ben Wheeler
3200d168ea
use flex and min-height to force join flow modal heights to be consistent
2019-08-19 01:24:51 +02:00
Ben Wheeler
b7f5d9359c
gender step passes a descriptionClassName
2019-08-19 01:24:09 +02:00
Ben Wheeler
69d509fdef
join flow step takes a descriptionClassName
2019-08-19 01:23:15 +02:00
Ben Wheeler
d02184daf3
added placeholders to username step
2019-08-18 18:07:33 +02:00
Ben Wheeler
f267af28b3
use media queries to make info message responsive
2019-08-18 04:44:28 +02:00
Ben Wheeler
f2c4a4ade3
trying heights
2019-08-17 00:52:52 -04:00
Benjamin Wheeler
96a7d01cdc
Merge pull request #3261 from benjiwheeler/join-flow-add-nonbinary
...
add nonbinary option to gender step of join flow
2019-08-16 17:48:55 -04:00
Benjamin Wheeler
caa824f2a5
Merge branch 'release/2019-08-15' into develop
2019-08-14 18:28:50 -04:00
Ben Wheeler
8a70529692
removed extra, unused value prop
2019-08-13 17:59:11 -04:00
Ben Wheeler
12c41251c1
Add formik checkbox component, Show password checkbox
2019-08-13 17:59:11 -04:00
Benjamin Wheeler
4e0aaafa01
Merge pull request #3239 from benjiwheeler/join-flow-confirm-text
...
Add ToS footer to email step, make next button Create Account
2019-08-13 17:55:04 -04:00
Benjamin Wheeler
46de5a23e1
Merge pull request #3236 from benjiwheeler/join-flow-highlighting
...
handle username validation errors states better
2019-08-13 17:52:00 -04:00
Benjamin Wheeler
0321929412
Merge pull request #3185 from benjiwheeler/join-flow-more-strings
...
Revised and added several join flow strings
2019-08-13 17:50:59 -04:00
Benjamin Wheeler
2e506de6be
Merge pull request #3241 from benjiwheeler/join-flow-info-button
...
Join flow info button
2019-08-13 17:49:29 -04:00
picklesrus
2165c3f004
Revert "Standalone join flow page."
2019-08-13 17:42:26 -04:00
picklesrus
55e8f2c323
Add in the error boundary.
2019-08-13 16:25:17 -04:00
picklesrus
aa1c4116e0
Standalone join flow page.
2019-08-13 16:25:17 -04:00
Ben Wheeler
fa6913c346
use info button in birthdate step, gender step
2019-08-13 15:29:44 -04:00
Ben Wheeler
3f7681821e
info button in join flow: add support for, formatting of
2019-08-13 15:29:44 -04:00
Ben Wheeler
775a5edeaa
WIP draft of info button tooltip for join flow
2019-08-13 15:29:44 -04:00
Ben Wheeler
e75b73d6fe
revised validation strings
2019-08-13 15:02:25 -04:00
Ben Wheeler
7ead9d0e96
use updated strings in join flow
2019-08-13 15:02:25 -04:00
Ben Wheeler
ca6711e860
switch validation error message to just ‘Required’
2019-08-13 15:02:25 -04:00
Ben Wheeler
4fa85e5c3b
add several missing strings for join flow errors
2019-08-13 15:02:25 -04:00
Ben Wheeler
aa69de39f3
keep showing validation errors on focus, until first keystroke; prioritize vulgarity
2019-08-13 14:22:46 -04:00
Ben Wheeler
11e2b0bf78
removed ie 10 and 11 css case
2019-08-13 14:22:46 -04:00
Ben Wheeler
f7fac2e41c
handle username validation errors states better
2019-08-13 14:22:46 -04:00
Ben Wheeler
85bbd88ae4
fixed nonbinary id
2019-08-13 14:16:10 -04:00
Ben Wheeler
d88661113a
make terms of use link underlined
2019-08-13 12:21:50 -04:00
Ben Wheeler
30e68db79e
make terms of use a link in email footer
2019-08-13 12:21:03 -04:00