Commit Graph
100 Commits
Author SHA1 Message Date
Jeff Avallone 0a9b0f6bfb Running tests in production environment to remove spurious warnings
This gets rid of the warnings from React due to jsdom not recognizing
SVG elements. Looks like there's a PR against jsdom that might fix this,
so once that's in this change can be reverted
2018-02-18 16:11:25 -05:00
Jeff Avallone ef33cdab04 Adding tests for Path#arcTo 2018-02-18 16:03:46 -05:00
Jeff Avallone d6cdad7ec3 Adding tests for Path#quadraticCurveTo 2018-02-18 16:01:24 -05:00
Jeff Avallone 354b65b623 Adding tests for cubicCurveTo 2018-02-18 15:58:23 -05:00
Jeff Avallone 9716e166df Adding test for Path#closePath 2018-02-18 15:52:40 -05:00
Jeff Avallone 45b652d9af Adding tests for Path#moveTo 2018-02-18 15:49:20 -05:00
Jeff Avallone bb37848265 Adding specs and some refactoring for the Path#lineTo method 2018-02-18 15:49:03 -05:00
Jeff Avallone 381df8bf93 Adding tests for root SVG component 2018-02-18 11:49:09 -05:00
Jeff Avallone 6285bd4320 Upgrading packages 2018-02-17 22:26:24 -05:00
Jeff Avallone cf824ac334 Adjusting text color to improve contrast 2018-02-17 22:19:39 -05:00
Jeff Avallone a1ef89b6fb Refining header styles 2018-02-17 22:07:49 -05:00
Jeff Avallone 9eea045d2b Fixing centering of rendered SVG when container is too small 2018-02-17 17:25:54 -05:00
Jeff Avallone 1362ceb8c8 Adding slight text-shadow to header to get logo popping a little 2018-02-17 17:21:18 -05:00
Jeff Avallone 6e8d7c297a Moving to using a decorator mixin instead of base class for SVGs 2018-02-17 16:58:49 -05:00
Jeff Avallone 44e6dae289 Simplifying "pre-reflow" logic 2018-02-17 16:28:46 -05:00
Jeff Avallone 1f9ba28099 Removing an unused property 2018-02-17 16:27:18 -05:00
Jeff Avallone 6c4972e726 Updating how initial state is set 2018-02-17 16:14:59 -05:00
Jeff Avallone 13dc496a02 Some optimization of immutable object use 2018-02-17 16:13:19 -05:00
Jeff Avallone c7aca59afc Tweaking ExtractTextPlugin config 2018-02-17 15:36:15 -05:00
Jeff Avallone d2651c585f Turn off modules in babel build (webpack handles it) 2018-02-17 15:20:23 -05:00
Jeff Avallone 6ff9145603 Adding tests for SVG components
Jest/enzyme/jsdom is kicking out some nastly looking messages because it
doesn't recognize various SVG elements, but they appear to be harmless.
2018-02-17 13:04:19 -05:00
Jeff Avallone 19d34a4d9e Adding extraneous PropType 2018-02-17 12:50:27 -05:00
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