Commit graph

2796 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
chrisgarrity
a4572b37ec
Merge pull request #1740 from Kenny2github/research-page
Migrate /research page
2018-04-03 13:04:21 -04:00
Ken
68ae157bbf
Add /info/research redirect 2018-04-03 21:13:30 +08:00
Kenny2github
a516e8d9be Lint 2018-04-03 19:28:53 +08:00
Kenny2github
bf8baaf7d0 Fix everything
*Updated to new convention for InformationPages
+Added route in routes.json (might be missing previous /info/research path)
-Removed package-lock.json to fix conflicts
*Updated l10n to not use HTML
2018-04-03 16:22:36 +08:00
Ray Schamp
ac17fd9268 Un-update website
This reverts commit b3845a975e.

(ty @seotts!)
2018-04-02 17:22:54 -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
b3845a975e update website 2018-03-30 16:49:21 -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
Colby Gutierrez-Kraybill
89f731efa7 Add docker info and documentation 2018-03-27 15:14:07 -04:00
Colby Gutierrez-Kraybill
5b1891efdb node:8 is current 2018-03-27 14:11:24 -04:00
Kenny2github
82c651cece A New Beginning 2018-03-27 18:33:10 +08:00
Colby Gutierrez-Kraybill
70468321c5 Docker files
Completes first pass at dockerization
2018-03-23 15:50:01 -04:00
Colby Gutierrez-Kraybill
878116f949 Add protocol and localhost
With API_HOST and FALLBACK, need full protocol.  API_HOST must be localhost, as it’s the browser performing the local request and does not know the docker network hostnames assigned during docker-compose
2018-03-23 15:49:40 -04:00
Colby Gutierrez-Kraybill
d428025287 Need protocol
With API_HOST and FALLBACK, need full protocol.  API_HOST must be localhost, as it’s the browser performing the local request and does not know the docker network hostnames assigned during docker-compose
2018-03-23 15:49:02 -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