Commit Graph

656 Commits

Author SHA1 Message Date
Jeff Avallone
5218906385 Adding script to scrub locale files
For any keys in en/translation.yaml and missing in
<lang>/translation.yaml, this tool will add the key to
<lang>/missing.yaml. This is to facilitate translation of keys that have
been added to the app.

This also serves as a lint-like tool for translation files since they
will all be re-written when running.
2018-02-15 21:19:25 -05:00
Jeff Avallone
adba2999bf Updating prerender script to use async/await 2018-02-15 20:26:03 -05:00
Jeff Avallone
17e8be5f42 Updating packages 2018-02-15 20:03:10 -05:00
Jeff Avallone
9adaa6041d Formatting 2018-02-15 20:03:04 -05:00
Jeff Avallone
8a18304225 Tweaking design of error and warning messages 2018-02-15 19:46:11 -05:00
Jeff Avallone
521f7965b0 Making border in select less pronounced 2018-02-15 19:32:25 -05:00
Jeff Avallone
74f1513311 Moving configs into package.json 2018-02-15 18:17:40 -05:00
Jeff Avallone
d634985698 Setting environment reported to Sentry separate from NODE_ENV
For preview and prod, NODE_ENV is "production"
2018-02-15 17:55:37 -05:00
Jeff Avallone
f3e3e7922c Adding line next to select arrow 2018-02-15 17:52:04 -05:00
Jeff Avallone
569c06b041 Softening header shadow and adding shadows to messages 2018-02-15 17:48:30 -05:00
Jeff Avallone
abe646cec8 Adding tests for page components 2018-02-15 17:35:59 -05:00
Jeff Avallone
8b2ce32b75 Fleshing out Form tests 2018-02-15 17:35:45 -05:00
Jeff Avallone
7a8a9836aa Adding to i18n mocks 2018-02-15 17:35:12 -05:00
Jeff Avallone
79191c0fd7 Improving coverage in RavenError tests 2018-02-15 17:33:43 -05:00
Jeff Avallone
d9af19ca63 Cleanup setup modules 2018-02-15 17:33:14 -05:00
Jeff Avallone
fcba4b75ec Moving Jest setup and consolidating 2018-02-15 17:27:15 -05:00
Jeff Avallone
2904519ff5 Tweaking for styles 2018-02-15 17:24:55 -05:00
Jeff Avallone
927718832b Cleaning up back copy-paste job 2018-02-15 17:23:15 -05:00
Jeff Avallone
eb384831fe Tweaking Jest config 2018-02-15 17:22:25 -05:00
Jeff Avallone
895827e881 Moving list styles complete to use @apply 2018-02-15 09:08:50 -05:00
Jeff Avallone
672ded87af Fixing positoining of action links in Form 2018-02-15 09:05:07 -05:00
Jeff Avallone
bec4279c31 Cleanup tests 2018-02-13 21:38:10 -05:00
Jeff Avallone
6cf064eaf0 Fleshing out messaging 2018-02-13 21:36:10 -05:00
Jeff Avallone
d328727ceb Adding support for default icons based on Message type 2018-02-13 21:28:31 -05:00
Jeff Avallone
b83f5cd34d Adding Form component 2018-02-13 21:23:49 -05:00
Jeff Avallone
597cce4566 Extracting green gradient 2018-02-13 21:23:33 -05:00
Jeff Avallone
364139d362 Extracting translation mock 2018-02-13 21:23:11 -05:00
Jeff Avallone
3931cee8af Updating import paths in tests 2018-02-13 20:18:26 -05:00
Jeff Avallone
91ee254477 Moving App into a directory and adding tests 2018-02-13 20:13:11 -05:00
Jeff Avallone
8817b5f027 Setting up webpack resolve root 2018-02-13 20:09:52 -05:00
Jeff Avallone
6b55f1ec72 CSS modules EVERYWHERE! 2018-02-13 18:15:18 -05:00
Jeff Avallone
6ab4978a03 Documenting scripts in README 2018-02-13 17:57:03 -05:00
Jeff Avallone
d8a8177f41 Setting NODE_ENV for builds 2018-02-13 17:54:14 -05:00
Jeff Avallone
888336cbec Adding loader for i18next translation files 2018-02-13 17:46:44 -05:00
Jeff Avallone
5ab4a70414 Adjusting formatting on 404 page title and adding PropTypes 2018-02-13 17:34:22 -05:00
Jeff Avallone
94e511bb96 Further improvements to page prerendering 2018-02-13 17:28:47 -05:00
Jeff Avallone
44a9cad9b3 Removing unused PageTemplate component 2018-02-13 17:26:32 -05:00
Jeff Avallone
24062d978a Improving SVG mocking for tests 2018-02-13 17:17:55 -05:00
Jeff Avallone
1fd797f52a Adding identity-obj-proxy for CSS module mocks 2018-02-13 17:15:33 -05:00
Jeff Avallone
20adf55c11 Breaking up main stylesheet into per-component styles 2018-02-13 17:12:02 -05:00
Jeff Avallone
7238643740 Reworking static page generation
Including styles in components wasn't working with the old system.
2018-02-13 17:10:32 -05:00
Jeff Avallone
ad6583d5dc Reorganizing components into directories 2018-02-12 20:05:47 -05:00
Jeff Avallone
21146549f7 Adding language detection 2018-02-11 18:43:11 -05:00
Jeff Avallone
355ef79d20 Adding i18next 2018-02-11 18:37:07 -05:00
Jeff Avallone
63766e84e9 Breaking Header and Footer out into components
For forthcoming i18n setup
2018-02-11 15:58:59 -05:00
Jeff Avallone
4923bbd985 Adding some styling to messages to spice up errors 2018-02-11 15:27:01 -05:00
Jeff Avallone
63e56c5df7 Setting browserslist 2018-02-11 14:56:39 -05:00
Jeff Avallone
eda8daf8dd Switching to use cssnext 2018-02-11 14:51:17 -05:00
Jeff Avallone
d4d764f81e Storing build and coverage report 2018-02-11 13:12:23 -05:00
Jeff Avallone
ca41d2015a Adding test coverage 2018-02-11 13:10:24 -05:00