Commit Graph

594 Commits

Author SHA1 Message Date
Jeff Avallone
9f15287fcc Updating privacy page to use react-testing-library 2019-03-24 13:01:03 -04:00
Jeff Avallone
5d700f47aa Updating 404 page to use react-testing-library 2019-03-24 12:59:31 -04:00
Jeff Avallone
58dc36b0c6 Updating index page tests to use react-testing-library 2019-03-24 12:57:53 -04:00
Jeff Avallone
d813fdf742 Updating component mock to handle non-standard attrs 2019-03-24 12:57:46 -04:00
Jeff Avallone
babab418c7 Replacing enzyme in SentryError tests 2019-03-24 12:15:24 -04:00
Jeff Avallone
143a18807e Adding mocking tools for components 2019-03-24 12:15:06 -04:00
Jeff Avallone
4fd02d661d Removing enzyme 2019-03-24 12:13:50 -04:00
Jeff Avallone
728a7fbb14 Adding react-testing-library 2019-03-24 12:08:36 -04:00
Jeff Avallone
2f7c67c953 Adding a jest transform to handle yaml files 2019-03-23 18:51:32 -04:00
Jeff Avallone
b5cde63e4e Disabling i18next XHR backend
This gets the build working until I can figure out the issues between it
and react-i18next
2019-03-23 18:08:12 -04:00
Jeff Avallone
274fdf038d Adding late-breaking upgrades 2019-03-23 17:34:37 -04:00
Jeff Avallone
51c21881cc Upgarding dependencies 2019-03-23 16:11:24 -04:00
Jeff Avallone
59ebe433b6 Tests for Box rendering component 2019-02-01 18:06:29 -05:00
Jeff Avallone
5a782b439e Adding tests for rendering layout 2019-02-01 08:49:55 -05:00
Jeff Avallone
b3b7480358 Adding some initial tests for Render component 2019-01-31 21:51:53 -05:00
Jeff Avallone
b7393b3a4b Breaking getBBox function out of layout 2019-01-31 21:32:14 -05:00
Jeff Avallone
a13f26286d Moving quadratic curve helper to be owned by VerticalLayout 2019-01-31 21:28:31 -05:00
Jeff Avallone
8830fad923 Tests for SVG rendering component 2019-01-31 21:19:19 -05:00
Jeff Avallone
47ee62d387 Tests for Pin rendering component 2019-01-31 21:15:11 -05:00
Jeff Avallone
ee915c39dc Tests for Text rendering component 2019-01-31 21:10:33 -05:00
Jeff Avallone
f4e7bc0e76 Adding Loop rendering component 2019-01-31 18:20:58 -05:00
Jeff Avallone
c1716570a8 Fixing calculation of axis for HorizontalLayout 2019-01-31 17:33:10 -05:00
Jeff Avallone
3920c716e4 Fixing text positioning
IE & Edge don't support dominant-baseline
2019-01-31 17:08:30 -05:00
Jeff Avallone
91ab1dbd05 Adding VerticalLayout rendering component 2019-01-30 18:12:23 -05:00
Jeff Avallone
67ca83ff16 Updating demos 2019-01-29 17:48:14 -05:00
Jeff Avallone
97509773af Adding useAnchor prop to Box and calculating axis coords 2019-01-29 17:47:52 -05:00
Jeff Avallone
cdb77255a7 Cleaning up HorizontalLayout path calculations 2019-01-29 17:47:22 -05:00
Jeff Avallone
b47d03cb31 Switching to an SVG for CC license logo 2019-01-29 17:23:54 -05:00
Jeff Avallone
3fcf31bc48 Adjusting font baseline to avoid needing to transform it 2019-01-29 17:16:09 -05:00
Jeff Avallone
9d7da52ee3 Adding Pin rendering component 2019-01-28 18:35:55 -05:00
Jeff Avallone
4e27c4ef87 Adding HorizontalLayout 2019-01-28 18:27:40 -05:00
Jeff Avallone
4f1ad26635 Refactoring to work with multiple children correctly 2019-01-28 18:26:13 -05:00
Jeff Avallone
6c603b7958 Adding debug tooling for rendering component bounding boxes 2019-01-28 07:18:20 -05:00
Jeff Avallone
f71d707e23 Normalizing bounding boxes 2019-01-27 11:49:48 -05:00
Jeff Avallone
67d970c837 Moving dimension calculation to layout for SVG 2019-01-27 11:49:33 -05:00
Jeff Avallone
35efa7cdb0 Adding theme support for Text rendering component 2019-01-27 11:14:49 -05:00
Jeff Avallone
fe714f2363 Adding Box rendering component 2019-01-27 11:14:30 -05:00
Jeff Avallone
a118519c3a Extracting type mapping into shared module 2019-01-27 08:50:03 -05:00
Jeff Avallone
f16a51abcb Moving layout function into component module 2019-01-27 08:46:48 -05:00
Jeff Avallone
1ee3055f37 Calling layout on children before laying out node 2019-01-27 08:42:09 -05:00
Jeff Avallone
e70705be5f Extracting bounding box code into its own function 2019-01-27 08:39:49 -05:00
Jeff Avallone
754868b9d5 Converting rendering components to functional components 2019-01-27 08:30:05 -05:00
Jeff Avallone
d4aa207f75 Removing dead code 2019-01-27 08:24:47 -05:00
Jeff Avallone
b299d32fc3 Adding a layout pass to SVG image components
text nodes are the only elements that need to be "measured". The
dimensions of all other image components can be determined based on the
dimensions of their children. This adds a pre-rendering pass to work out
dimensions so multiple renders don't need to happen
2019-01-26 17:25:38 -05:00
Jeff Avallone
21c392752e Stubbing out parsing and starting on rendering flow 2019-01-26 16:46:49 -05:00
Jeff Avallone
3378c68aed Starting to add SVG components 2019-01-26 11:02:45 -05:00
Jeff Avallone
57dbea8c40 Updating dependencies 2019-01-24 17:14:18 -05:00
Jeff Avallone
fcf9a354f4 Moving close button for Privacy modal to Message
This allow any Message to have a configurable close button. It also
makes the styling more robust
2019-01-19 13:41:42 -05:00
Jeff Avallone
f9b34ebd94 Moving modal styles to CSS 2019-01-19 13:26:13 -05:00
Jeff Avallone
ef8b3a4bde Removing unnecessary property 2019-01-19 13:13:37 -05:00