Ray Schamp
55a45349da
WIP - update phone input
2018-03-30 10:51:22 -04:00
Ray Schamp
f375130190
Remove unrecognized props from Input
...
In the process, make Input into a stateless component, since apparently this state isn't ever changed.
2018-03-30 10:49:58 -04:00
Ray Schamp
34f39b1c0b
Update to React 16, and dependent packages
...
The Splash page renders with this commit.
2018-03-30 10:49:58 -04:00
Ray Schamp
61c2bb148a
Use country data from an NPM package
...
To prepare to upgrade react-telephone-input which removed this module
2018-03-30 10:49:58 -04:00
Ray Schamp
25a1280cca
Merge pull request #1759 from towerofnix/fix-firefox-focusring
...
Hide Firefox focus ring on <select> elements (language selector)
2018-02-01 09:29:09 -05:00
Ray Schamp
590f505a61
Revert "Merge pull request #1788 from LLK/revert-1775-hotfix/es6-upgrade"
...
This reverts commit 1b1b396e92
, reversing
changes made to a144bab0e6
.
2018-01-30 11:53:12 -05:00
Ray Schamp
46511e1253
Revert "[Develop] Upgrade to ES6"
2018-01-30 09:54:45 -05:00
Matthew Taylor
6d1f2fbccd
initial es6 commit
2018-01-19 14:06:26 -05:00
Florrie
9e487c8527
Fix CSS rule order
2018-01-12 11:51:11 -04:00
Florrie
ab107f865c
Hide Firefox focus ring
...
See this StackOverflow answer: https://stackoverflow.com/a/18853002/4633828
This isn't a perfect fix - we have to set `color` explicitly, rather
than use `inherit`, because we want the text color to be the same when
the select element is focused. That means both `color` and
`text-shadow`'s color have to be explicitly set to the same thing
(otherwise they might not match). Yay, hacks!
2018-01-05 13:37:06 -04:00
Florrie
870b916db3
Only transition border property
...
..since it's the only property which actually animates. (The background
image also changes on hover/focus, but that isn't visually effected by
transition, so we ignore it.)
This is for the next commit. Without this, the focus ring slowly
disappears, and the text slowly becomes the color it's meant to be;
neither of those are good.
2018-01-05 13:34:57 -04:00
Matthew Taylor
9affc8441c
Revert "Merge pull request #1255 from LLK/release/branch"
...
This reverts commit c36bde2c30
, reversing
changes made to becae19f6f
.
2017-04-03 14:32:38 -04:00
Matthew Taylor
d66e11fced
Banner updates
2017-03-31 09:02:54 -04:00
Matthew Taylor
9ae4e5a963
Move validationRequired
into general
...
thanks @rschamp!
2016-12-07 17:24:48 -05:00
Matthew Taylor
6be9fc1084
Localize default “required” message
...
Fixes #966 . I was trying, if possible, to not introduce localization at the component level in order to keep it in the views – but that seemed a bit too involved given that the fix in this way is only a few lines long.
2016-12-06 11:36:24 -05:00
Matthew Taylor
99cedec978
Put label for “Not Required” above input
...
Fixes #933
2016-09-30 15:02:05 -04:00
Matthew Taylor
537104c56b
Add username validation to student complete registration
...
Fixes #760
2016-08-12 08:10:20 -04:00
Matthew Taylor
30945bc078
Remove phoneLength
validation
2016-08-10 07:53:49 -04:00
Matthew Taylor
f3c4276d0f
Merge pull request #814 from St19Galla/patch-1
...
Fix GH-812 / Enhance Checkbox Display
2016-08-08 10:20:09 -04:00
St19_Galla
a7ea6d7fd9
whoops, don't need that anymore
2016-08-05 15:51:48 -04:00
St19_Galla
ef55f20ff3
now i finally understand scss variables
2016-08-05 15:50:51 -04:00
St19_Galla
3ff81296a7
test
2016-08-05 15:43:15 -04:00
St19_Galla
dd85de22e6
Enhance Checkbox Display
2016-08-05 15:24:33 -04:00
Matthew Taylor
4e568f7c06
use minLength instead
...
it’s the same thing :). Thanks @rschamp!
2016-08-03 14:34:07 -04:00
Matthew Taylor
cec3214def
some updates from feedback
...
thanks @rschamp!
1. moved org type validation to a custom validation
2. added a callback to the username validation call
2016-08-03 12:11:55 -04:00
Matthew Taylor
f0c2280fde
Updates to registration UX for teachers
...
1. Phone too long validation occurs before submit now.
2. Organization “other” type is now being required
3. Organization type required now shows up at the same time as other organization validation errors
4. Username check now occurs earlier, on blur rather than on submit
2016-08-02 15:23:09 -04:00
Matthew Taylor
69ac5b60bd
make .no-label
an auto assignment
...
thanks @rschamp!
2016-07-26 10:44:19 -04:00
Matthew Taylor
b510d154df
remove ‘noformsy` option on inputs
2016-07-26 10:20:06 -04:00
Matthew Taylor
6787ae03ce
Apply classes to row, not textarea
...
And move help rendering into the phone input row.
2016-07-26 08:06:38 -04:00
Matthew Taylor
d8e07ee7f6
use rowClassName
instead
...
so that it can include `label`. Also add some default styling to `label` in `.row`. Thanks @rschamp!
2016-07-25 15:43:44 -04:00
Matthew Taylor
263d292b3c
Fix formatting for a few form elements
...
and make use of the FRC `elementWrapperClassName`, since they way we did it before – custom `className` strings on the element – was not working. Fixes #749 .
2016-07-25 13:21:28 -04:00
Technoboy10
4e6efae667
Remove IE weird input additions, fallback to mobile error style on IE, fix some mobile error issues
2016-07-20 09:46:51 -04:00
Technoboy10
db049b871f
fix IE11 select background, indent issues
2016-07-18 10:17:22 -04:00
Ray Schamp
b7c46f483e
Don't error on null children
...
Was throwing a `TypeError` when child was null/undefined.
2016-07-05 15:48:21 -04:00
Ray Schamp
c50ac03a48
Merge pull request #671 from rschamp/bugfix/669
...
Disable default style for select elements in IE
2016-07-05 14:39:58 -04:00
Ray Schamp
edf0c1e475
Disable default style for select elements in IE
...
Fixes #669
2016-07-05 14:39:08 -04:00
Ray Schamp
6f9c16a7a5
Merge pull request #667 from rschamp/bugfix/647
...
Add style to general error messages
2016-07-05 14:18:49 -04:00
Ray Schamp
d990dee755
Move location of the general error message
...
From review of the style with @carljbowman
Requires a bit of magic, where the Form component manually adds the "all" value. But without a major overhaul of the validation system, I don't see how else to put the general error among the other fields.
2016-07-05 12:06:10 -04:00
Ray Schamp
b15b5b8614
Add style to general error messages
...
Resolves #647
2016-07-05 12:03:27 -04:00
Matthew Taylor
2cd8019ef6
Add box shadow for focus state on checkboxes
...
Fixes #628 by applying the same outline for focus as is currently applied to checked boxes.
2016-07-05 11:39:06 -04:00
Ray Schamp
c25852b3c6
Merge pull request #657 from rschamp/bugfix/645
...
Revalidate address step after invalid submissions
2016-07-01 13:48:13 -04:00
Ray Schamp
a56f994886
Revalidate address step after invalid submissions
...
I don't like that the state is being set to a calculation of existing props. When I did that calculation in `render`, it didn't update when fields were changed.
Fixes #645
2016-07-01 11:43:18 -04:00
Matthew Taylor
6db426a586
Use empty default object
...
Looks as if the having one of these objects as the default causes overwriting in some way, as opposed to augmentation. Have the source object be an empty one, so that it gets the attributes of both defaults and props. Fixes #642 .
2016-06-30 16:52:46 -04:00
Matthew Taylor
f2b8e9025d
switch ordering in defaults
...
This was assigning `props` to defaults, rather than the other way around. Fixes #618 .
2016-06-30 08:00:40 -04:00
Matthew Taylor
97516b1e1d
styling cleanup for teacher registration
...
some scoping, as well as class labeling
2016-06-24 11:19:41 -04:00
Matthew Taylor
0c1abada3a
Small tweaks
...
1. left-align form elements even in mobile
2. Bolden input labels, except for checkboxes and radio elements
/cc @carljbowman
2016-06-23 15:44:14 -04:00
Matthew Taylor
86a8f94919
some code formatting tweaks
2016-06-23 15:10:51 -04:00
Matthew Taylor
1a08e7ae49
Finalize styling for registration flow
...
/cc @carljbowman
One issue we ran into is that our `frameless` configuration is in `em` rather than `rem`, making it difficult to have an aboslute grid applied uniformly at all hierarchies. For now, we're using straight `rem` calculations instead of `$cols{1,8}` in the styling until we can refactor `frameless` to use `em`.
2016-06-23 14:06:36 -04:00
Matthew Taylor
8fb16bf397
Add formatting for teacher reg flow
2016-06-23 07:27:43 -04:00
Ray Schamp
fb57c25afd
Remove unused label component
2016-06-14 17:47:56 -04:00
Ray Schamp
97c4e9beb9
Explain the GeneralError component
2016-06-14 17:29:31 -04:00
Ray Schamp
f74a078afb
Add help text when a field is not required
...
Most of our fields are required, so it makes more sense to display help when they are optional than to asterisk every required field
2016-06-14 17:29:31 -04:00
Ray Schamp
4e0d54df98
Split up concerns of form progression and display
...
Still thinking of a good name for the form "card" component...
2016-06-14 17:29:30 -04:00
Ray Schamp
da2a4ce48c
Add bot honeypot
2016-06-14 17:29:30 -04:00
Ray Schamp
cfa85427b1
Add address validation
2016-06-14 17:29:30 -04:00
Ray Schamp
0206a4da9d
Lint
2016-06-14 17:29:29 -04:00
Ray Schamp
9da2bb29a8
Base phone and address country on user country
2016-06-14 17:29:29 -04:00
Ray Schamp
fe74208f32
Add international phone validation
2016-06-14 17:29:29 -04:00
Ray Schamp
bcda082014
Add validation to the rest of the form
2016-06-14 17:29:29 -04:00
Ray Schamp
b5c615b1fa
Use formsy-react for validation
...
Complete validation for username/password form (except for checking if a username exists).
2016-06-14 17:27:53 -04:00
Ray Schamp
de3151924c
Lint
2016-06-14 17:27:53 -04:00
Ray Schamp
1eaf6effcc
Tiny bit of style
2016-06-14 17:27:53 -04:00
Ray Schamp
04c8650512
Allow other types other than form in FormStep
2016-06-14 17:27:53 -04:00
Ray Schamp
2ca846f826
Use Scratch components for the form and clean up
2016-06-14 17:27:52 -04:00
Ray Schamp
350a573fc5
Move formset into forms
2016-06-14 17:27:52 -04:00
Matthew Taylor
d897d4387d
Use xhr to clear cache instead of form
...
because csrf. also, since we don't have a definite message/banner system in place yet, use the button itself for feedback rather than messages. The button will disable if it has been successfully used, or turn pink if there was an error (and it will not be disabled in that case).
2015-10-29 10:28:32 -04:00
Ray Schamp
d3b8c2085e
Add the language dropdown, it almost works
2015-10-15 11:48:03 -04:00
Ray Schamp
da9174c520
Make app more transparent to Selenium
2015-10-09 14:16:37 -06:00
Ray Schamp
2affa1b77e
Name all the exports for easier debugging
2015-10-08 14:25:18 -06:00
carljbowman
41e4b3b990
Add Global Colors and Updated SCSS / Linter
...
Created a new global style sheet to manage colors and converted all the current SCSS to match the new color scheme.
2015-09-29 11:22:48 -04:00
carljbowman
fbd54998e6
Add HOC Landing page View
...
Created a HOC Landing View. Currently all the SCSS lives at the view level and needs to be made into componets. After building out some Global style sheets I will revisit.
2015-09-25 09:59:56 -04:00
Ray Schamp
fd546296c2
Lint everything but color literals
2015-09-24 19:27:50 -04:00
Ray Schamp
c3bc59fee2
Add a Sass linter
2015-09-24 18:32:21 -04:00
carljbowman
f5351b651a
Removing Extra spaces from Button
2015-09-21 12:25:50 -04:00
carljbowman
e8bfa13a4f
Updates based on PR Feedback
...
- Removed Commented SCSS in Main
- Doubled checked Spaces over Tabs
2015-09-21 09:52:53 -04:00
carljbowman
9a67d3fb98
Navigation WIP
2015-09-21 09:18:00 -04:00