Jeff Avallone
f364673388
Adding promisified setState and simplfying reflow code for SVG stuff
2018-02-17 12:06:35 -05:00
Jeff Avallone
e04e4edc1f
Renaming type property to theme
2018-02-17 11:23:20 -05:00
Jeff Avallone
3ead0c13df
Refactoring rendering root to be a component
2018-02-17 11:16:05 -05:00
Jeff Avallone
dea6d92272
Reorganizing the rendering flow
2018-02-17 10:45:03 -05:00
Jeff Avallone
2a0e0149fd
Toning down borders on literal and escape boxes
2018-02-17 10:26:01 -05:00
Jeff Avallone
c047dab5a4
Adding style for anchor elements
2018-02-17 06:24:50 -05:00
Jeff Avallone
06a90429ff
Getting Download links working
2018-02-16 22:47:53 -05:00
Jeff Avallone
6bc4306ca3
Fleshing out expample render and cleaning up some SVG code
2018-02-16 21:48:01 -05:00
Jeff Avallone
82b780e9c3
First cut of SVG rendering components
...
These still need work, but they're functional enough to render a diagram
2018-02-16 19:16:30 -05:00
Jeff Avallone
3fdc74bdf2
Adding color output to prerender script and relocating to script
2018-02-16 17:16:23 -05:00
Jeff Avallone
d69ab00ad5
Updating i18n:scrub command with better output
2018-02-16 17:15:45 -05:00
Jeff Avallone
8e8fbd3219
Making GitHub and CC license links open in new window
2018-02-16 17:14:29 -05:00
Jeff Avallone
0d41100e04
Updating formatting
2018-02-15 21:21:43 -05:00
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
Jeff Avallone
152bf1e361
Updating noscript statement
2018-02-11 12:49:02 -05:00
Jeff Avallone
c81943628c
Fixing production sourcemaps
2018-02-11 12:37:41 -05:00
Jeff Avallone
4600d1748a
Doing the short hash correctly
2018-02-11 12:18:29 -05:00
Jeff Avallone
e0716ef683
Adding tests for RavenBoundary
2018-02-11 12:13:15 -05:00
Jeff Avallone
edf4ecd081
Removing react-test-renderer
2018-02-11 11:58:03 -05:00
Jeff Avallone
7caf439c53
Adding tests for RavenError
2018-02-11 11:57:23 -05:00
Jeff Avallone
5f11a11ba2
Updating PageTemplate tests to use enzyme
2018-02-11 11:52:35 -05:00
Jeff Avallone
637c9c2afd
Updating Message tests to use enzyme
2018-02-11 11:50:08 -05:00
Jeff Avallone
cabc2adc1f
Adding enzyme
2018-02-11 11:49:50 -05:00
Jeff Avallone
90e57e26e7
Updating PageTemplate tests
2018-02-11 11:25:15 -05:00
Jeff Avallone
6ec546ace1
Adding error boundary using Sentry.io
2018-02-11 11:18:27 -05:00
Jeff Avallone
8b86ddc14c
Updating babel and eslint configs
...
Adding support for class properties amongst other things
2018-02-11 11:16:07 -05:00
Jeff Avallone
5afca2241a
Fixing some propTypes
2018-02-11 10:57:41 -05:00
Jeff Avallone
b009d078b6
Adding Sentry.io
2018-02-11 10:41:03 -05:00
Jeff Avallone
6bf094a4c1
Declaritively initializing service worker
2018-02-11 10:29:35 -05:00
Jeff Avallone
fd5a8786d0
Adding Google Analytics
2018-02-11 10:27:43 -05:00
Jeff Avallone
214a9eb5c1
I hate typos
2018-02-11 10:08:23 -05:00
Jeff Avallone
1e07be44da
Trying install with more output
2018-02-11 10:06:59 -05:00
Jeff Avallone
1e45520e67
Updating packages before attempting install
2018-02-11 09:59:54 -05:00
Jeff Avallone
6dcd0595ae
More fixes to deploy scripting
2018-02-11 09:58:44 -05:00
Jeff Avallone
9abbb86f2c
Fixing awscli installation for deploy
2018-02-11 09:57:10 -05:00
Jeff Avallone
a30d1f07fc
Mocking environment for PageTemplate tests
2018-02-11 09:45:46 -05:00
Jeff Avallone
70455ea2b8
Moving build-time deps out of devDependencies
2018-02-11 09:41:03 -05:00
Jeff Avallone
37af8c24c8
Adding deploy scripting
2018-02-11 09:22:37 -05:00
Jeff Avallone
bbdacca1da
Adding an environment banner to the page
...
To prevent testing local changes in production
2018-02-11 09:16:33 -05:00
Jeff Avallone
84df219d7f
Creating separate templates for each page
2018-02-11 07:42:52 -05:00
Jeff Avallone
95a6709ec0
Pulling most of the page template into a component
2018-02-11 07:28:34 -05:00
Jeff Avallone
bdf54945fe
Keeping description consistent across app
2018-02-11 07:11:16 -05:00
Jeff Avallone
eef5d50436
Tweaking some spacing
2018-02-11 07:09:03 -05:00
Jeff Avallone
69999fa948
Fixing postcss config
2018-02-11 07:04:36 -05:00
Jeff Avallone
49a236bf89
Switching back to SVG components for icons
...
No longer need the hack to only use them in components while URLs are
used in styles since I don't need icons in the styles anymore. Embedding
the markup also provides the option to restyle the icons
2018-02-11 06:58:59 -05:00
Jeff Avallone
1de5079aa9
Rendering page template using React
...
Allows for using components (like Message) when rendering the base page
template
2018-02-11 06:53:34 -05:00
Jeff Avallone
810b37aa47
Removing SVG components
...
Sticking with importing data URIs for now
2018-02-11 06:51:54 -05:00
Jeff Avallone
c368e9031f
Reworking Message component
...
* Supporting URLs for icon
* Moving styles into top-level stylesheet for use in the template
2018-02-11 06:41:15 -05:00
Jeff Avallone
b3e4bd2cff
Switching to using latest node image
2018-02-10 21:01:58 -05:00
Jeff Avallone
4e46aa76be
Removing debug output
2018-02-10 20:58:59 -05:00
Jeff Avallone
adb579ed8b
Fixing job names
2018-02-10 20:57:52 -05:00