Commit Graph

591 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