Commit Graph

444 Commits

Author SHA1 Message Date
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 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 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 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 adba2999bf Updating prerender script to use async/await 2018-02-15 20:26:03 -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 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 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 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 eda8daf8dd Switching to use cssnext 2018-02-11 14:51:17 -05:00
Jeff Avallone 152bf1e361 Updating noscript statement 2018-02-11 12:49:02 -05:00
Jeff Avallone e0716ef683 Adding tests for RavenBoundary 2018-02-11 12:13:15 -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 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 a30d1f07fc Mocking environment for PageTemplate tests 2018-02-11 09:45:46 -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 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 3e729b2a34 Adding Jest 2018-02-10 18:30:07 -05:00
Jeff Avallone cf0c175d0a Addressing lint errors 2018-02-10 18:10:30 -05:00
Jeff Avallone 74d622c7a4 Getting icon loading in the root styles working 2018-02-10 17:55:48 -05:00
Jeff Avallone 2377cb2497 Removing unnecessary imports 2018-02-10 17:27:30 -05:00
Jeff Avallone 1576904f9c Ahem... 2018-02-10 17:20:56 -05:00
Jeff Avallone 5984f59063 Adding Message component 2018-02-10 17:20:04 -05:00
Jeff Avallone 7ef40cba9c Adding app frame 2018-02-10 17:01:30 -05:00
Jeff Avallone f8aaeba7a9 Going to one template for all pages 2018-02-10 16:39:38 -05:00
Jeff Avallone 8eb4b450ca Adding SVG icons 2018-02-10 16:32:52 -05:00
Jeff Avallone e52103a516 Integrating React 2018-02-10 16:22:59 -05:00
Jeff Avallone 40d08ddef8 Adding service worker cache 2018-02-10 16:08:42 -05:00
Jeff Avallone d78f4efd16 Base webpack config 2018-02-10 15:58:54 -05:00
Jeff Avallone ae2b7c74dd Clearing out old site code 2018-02-10 13:33:13 -05:00