Commit graph

2482 commits

Author SHA1 Message Date
Ray Schamp
52a5d929d1 Render messages inline
This omits `for...of` which requires Symbol. The Symbol polyfill required by Babel for `for...of` apparently doesn't work for the react-tooltip library.  So just don't use `for...of`.
2018-04-03 17:27:06 -04:00
Ray Schamp
25a0c5b729 Add Object.assign polyfill
Fixes IE11 Splash page error
2018-04-03 14:31:41 -04:00
Ray Schamp
ba45940807
Merge pull request #1843 from rschamp/upgrade-react
Upgrade to React 16
2018-04-02 17:19:50 -04:00
Ray Schamp
2f8017bb89 Lint 2018-04-02 17:04:54 -04:00
Ray Schamp
a01cb1962e Use empty string for placeholder value
Fixes React warning about using `selected` prop on `select` component options
2018-04-02 15:16:19 -04:00
Ray Schamp
8d634c7f22 Update formsy-react-component to 1.0
It's out of beta!
2018-04-02 15:02:54 -04:00
Ray Schamp
3ff3236b70 Fix ajv version
Previously I was seeing a warning that ajv@5 was required, so I downgraded. I was mistaken, because now the warning says 6 is required...
2018-04-02 15:02:34 -04:00
Ray Schamp
cc041c2550 Update Symbol polyfill to actual minified version 2018-04-02 14:53:05 -04:00
chrisgarrity
19039a4905 Catch empty phone number 2018-04-02 13:49:45 -04:00
chrisgarrity
730835c4be Fix validation and lint errors
* checkbox needed a default value
* general-error is passed a ref by formsy - cannot be stateless function
* add missing `label` prop to input field
* add missing proptypes to phoneinput.
2018-04-02 12:26:12 -04:00
Ray Schamp
191a95eb76 Resurrect phone input validation 2018-03-30 13:45:42 -04:00
Ray Schamp
41780fb7cb Finish updating react-telephone-input 2018-03-30 12:11:21 -04:00
Ray Schamp
ad81dba61b Finish linting 2018-03-30 11:28:59 -04:00
Ray Schamp
9001e6ba5c Lint 2018-03-30 11:21:41 -04:00
Ray Schamp
33e7b7fdd9 Remove package-lock.json 2018-03-30 10:51:23 -04:00
chrisgarrity
3c8fb99c44 eslint dependency
Someday: remove this when updating eslint
2018-03-30 10:51:23 -04:00
chrisgarrity
7c46f6957a Fix up student registration 2018-03-30 10:51:23 -04:00
chrisgarrity
67f292037a Correcting teacher registration for react16 2018-03-30 10:51:22 -04:00
Ray Schamp
55a45349da WIP - update phone input 2018-03-30 10:51:22 -04:00
Ray Schamp
827942f910 Update ES6 Symbol polyfill
Apparently the one we are using isn't sufficient for one of our dependencies coming with scratch-gui, so update to a different one that is sufficient.
2018-03-30 10:51:22 -04:00
chrisgarrity
53ca763646 Add Error Boundary and Crash message
Added all the strings to general l10n as error boundary/crash message applies to all pages.
2018-03-30 10:51:22 -04:00
chrisgarrity
37437636ff FIx lint errors 2018-03-30 10:51:22 -04:00
Ray Schamp
79665e5986 Fix warnings on About 2018-03-30 10:49:58 -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
d0e83afcb9 Allow building only a single view 2018-03-30 10:49:58 -04:00
Ray Schamp
18ddbbfd18
Merge pull request #1826 from BryceLTaylor/clarifyReadMe
Clarify README and fix link on README to testing guide
2018-03-29 11:11:27 -04:00
Bryce Taylor
c198c66066
Merge pull request #1836 from BryceLTaylor/addCypressTests
Add cypress tests
2018-03-23 09:19:38 -04:00
BryceLTaylor
d876c809ac Fix linting issues in Cypress test-footer-links test 2018-03-22 15:14:05 -04:00
BryceLTaylor
53e8d66a11 Linted Cypress test files with —fix 2018-03-22 15:06:37 -04:00
BryceLTaylor
3f169123d9 Delete cypress example files 2018-03-22 15:05:47 -04:00
BryceLTaylor
88de06f61b Setup Cypress linting 2018-03-22 15:01:51 -04:00
BryceLTaylor
7d8bd57714 Clarify README for the Cypress tests more. 2018-03-21 10:44:09 -04:00
BryceLTaylor
240780b859 Clarify README in the Cypress Tests 2018-03-21 10:42:41 -04:00
BryceLTaylor
057e000b12 Clarify and expand README for Cypress tests 2018-03-21 10:40:45 -04:00
chrisgarrity
b7900aca05
Merge pull request #1833 from chrisgarrity/feature/preview-project
Feature/preview project  - part 1 (elements 'above the fold')
2018-03-21 10:29:01 -04:00
BryceLTaylor
96f9ae40d4 Update git ignore for Cypress tests 2018-03-21 10:00:52 -04:00
BryceLTaylor
95303e7079 Add initial cypress tests 2018-03-21 10:00:23 -04:00
chrisgarrity
1b2050c58a cleanup 2018-03-20 20:19:48 -04:00
chrisgarrity
feda4416f3 Temporarily remove gui dependencies 2018-03-20 14:44:47 -04:00
Ray Schamp
91c6756878
Merge pull request #1690 from as-com/uglify-development
Don't run UglifyJS unless it's a production build
2018-03-19 14:00:08 -04:00
Ray Schamp
aee9f0c608 Fix linting
Something is off with our indentation rules. Possibly a bug in the version of eslint we're using?
2018-03-19 11:58:03 -04:00
chrisgarrity
c5ea057974
Merge pull request #1835 from JoelGritter/patch-2
Fix #1825
2018-03-19 10:00:38 -04:00
Joel Gritter
536e4c7e0b
Remove filled jobs
Removed: Designer, Learning Resource Designer, QA Engineer, Senior Backend Engineer
2018-03-17 18:50:04 -04:00
Joel Gritter
316a36f1ed Fix gh-1824: Add note about real names (#1830)
* Add note about real names as a new string

Fixes gh-1824
2018-03-16 16:18:17 -04:00
chrisgarrity
1c6b0dd64c Cleanup
Fixing lint problems and removing (most) unused code. I left user and session as they will get used soon even though they aren’t currently.
2018-03-15 17:40:16 -04:00
Andrew Sliwinski
7bf690df5e
Merge pull request #1821 from ktrvs/ktrvs-update-privacy-policy
Update privacy policy to be more clear. | Fixes #1803
2018-03-15 13:00:48 -04:00
chrisgarrity
f836c6e3a8 Adding in remix metadata
- Moved preview state into redux
- Gets remix credit if the project is a remix
- Shows up to 5 remixes (direct children?)
- handles empty remixes result (it’s not an array)
- Added Column component - based on Grid, but doesn’t use frameless to set width.
- allows trailing ‘/‘ on the URL
- cleaned up conditional content
2018-03-14 15:50:27 -04:00
chrisgarrity
79199d6d32 Placeholders for everything ‘above the fold’ 2018-03-08 15:57:19 -05:00