canon

Reusable React environment and components for creating visualization engines.

GPL-3.0 License

Downloads
1.4K
Stars
27
Committers
19

Bot releases are hidden (Show)

canon - @datawheel/[email protected]

Published by jhmullen almost 3 years ago

  • bumps blueprint version (91d76be7)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

  • hotfixes constraint error (cb5dd6b0)
  • Merge pull request #1274 from Datawheel/issue-1271-flickr (c3a51e60)
  • clears flickr data on custom upload (559205c8)
  • Update README.md (1fadca49)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

This release adds generators, materializers, and selectors to Stories.

It also adds a visible toggle for stories for pre-releases, and doesn't show stories whose date is past the present day. There is also a new image column for the story header which can point to a static image on disk.

Because of the changes to the database, it requires a migration script, explained in migration section of the README.

A huge number of read/write endpoints were rewired in this release, so please keep an eye on behaviors and keep daily backups as usual.

  • Merge pull request #1268 from Datawheel/feature-improve-stories (ea085d25)
  • adds static image to story (e1e8a4c3)
  • adds story visibility (8e728f6c)
  • adds matswap and fixes button bug (d6b695cd)
  • fixes bug with story gens (5f410fa4)
  • fixes constraint bug with migratino (dcc8ec2e)
  • removes erroneous formatter loader (565a980d)
  • disables duplicates and fixes storyslug lookup (2dcfce4f)
  • adds migration script (f77cc0cb)
  • Update README.md (e69885a0)
  • adds image column for story (fef2be7b)
  • adds stories to front-end (af5aa196)
  • adds prepareStory function (e1546325)
  • adds story fendpoint for frontend (6a1fc033)
  • makes stories update on selection (e026fe22)
  • adds reducers for story selector operations (39a766c7)
  • hooks up section selector usage (e1694f67)
  • updates selectorusage to work with stories (a683573d)
  • adds more endpoints for story selectors (ee52abd4)
  • adds deletion endpoints (c0230b82)
  • fixes switch from stories to profiles (bdee77de)
  • fixes very old bug with stale variables (48d41ffc)
  • fixes bug with switching panels (3577a90c)
  • Merge branch 'master' of http://github.com/datawheel/canon into feature-improve-stories (1882acc9)
  • fixes story_id lookup in materializers (45ee1ef7)
  • resets variables on tab change (a0a163f4)
  • refactors endpoints and redux for storyvars (d088c908)
  • adds storygen reducers (20207536)
  • adds stories (f90772aa)
  • Merge pull request #1265 from Datawheel/create-gitignore (203a6957)
  • Merge branch 'master' of http://github.com/datawheel/canon into feature-improve-stories (fea09843)
  • updates .gitignore to include prod index.js (3264f68f)
  • adds db models (fdc10e07)
  • Merge branch 'feature-improve-stories' of http://github.com/datawheel/canon into feature-improve-stories (b96f0c94)
  • brings toolbox into stories (e7fc3a09)
  • Merge branch 'master' of http://github.com/datawheel/canon into feature-improve-stories (a102fdf1)
  • Merge branch 'master' of http://github.com/datawheel/canon into feature-improve-stories (4d50340e)
  • adds new models (3c3d6ef6)
  • filters list by date for prerelease stories (d4f2b86b)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

  • Merge pull request #1264 from Datawheel/core-loaders-fix (115e56c1)
  • removes unecessary node_modules transpiling (drops IE11 support) (e6d5026b)
  • adds d3plus-text to pnpm-lock.yaml (ebe24607)
  • adds missing d3plus-text dependency (84e9dbbb)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

  • Merge pull request #1260 from Datawheel/core-user-security (782e2666)
  • removes password and salt from isAuthenticated response (b9bdee10)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

  • Merge pull request #1261 from Datawheel/cms-input-css-error (3ccb5e62)
  • fixes incorrect CSS for inputFontSize-sm (closes #1256) (93ea5dae)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

  • Merge pull request #1259 from Datawheel/fix-multiselects (eec728de)
  • fixes multiselect callback (6ea91d71)
  • Update README.md (4b9b7d7e)
  • Update README.md (5db260ea)
canon - @datawheel/[email protected]

Published by davelandry about 3 years ago

  • adds support for Adobe Launch Analytics (af17936)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

  • hotfixes image parent lookup (a4fe97ef)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

  • Merge pull request #1255 from Datawheel/core-variable-fix (fd53a7e8)
  • puts back in preserving CSS variables (b36d045c)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

  • fix regex in ignoreTerms for profileSearch #1252 (81d94725)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

  • fixes path (d1a73d40)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

  • Merge pull request #1253 from Datawheel/ignore-list-profile-search (449a93b3)
  • Merge pull request #1254 from Datawheel/feature-populate-search-command (85b74127)
  • adds env var examples (b1d91fc6)
  • adds more details to readme (b219585b)
  • updates text (696f6658)
  • adds npx and readme (49df44d3)
  • completes script (8fb2b28d)
  • ignore terms in profile search #1252 (0652684a)
  • refactors script (029bc4ef)
  • adds stub for ingest script (6017b68e)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

@datawheel/[email protected]

canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

  • Merge pull request #1250 from Datawheel/core-css-color-functions (2d3ac0e1)
  • removes postcss-color-function and all color references in CSS (6fcf8082)

This release changes css loading behavior and requires upgrade steps:

Upgrade Steps

Add the following block to style.yml:

# RGB versions of colors for use with alpha channels
white-RGB: 255, 255, 255
light-1-RGB: 248, 249, 250
light-2-RGB: 236, 239, 241
light-3-RGB: 207, 218, 226
gray-RGB: 174, 189, 204
dark-1-RGB: 138, 151, 174
dark-2-RGB: 42, 47, 59
dark-3-RGB: 32, 36, 46
black-RGB: 24, 26, 33

accent-light-RGB: 255, 214, 91

Convert all instances of color( ) in CSS to use a different method, typically rgba( ). For example, this:

color: color(var(--black) a(0.5));

Should become this:

color: rgba(var(--black-RGB), 0.5);

If you are using custom colors (none of the YML variables posted above), then you will have to convert the color to RGB (Googling the hex value shows the rgb values) and store it either in style.yml or at the top of the CSS file like this:

:root {
  --custom-color: 100, 50, 25;
}

And finally, the following REGEX syntax can work well to capture a large portion of the changes with a find/replace:

Find: color\(var\(--dark-3\) a\(([0-9.]{1,})\)\)
Replace: rgba(var(--dark-3-RGB), $1)

canon - @datawheel/[email protected]

Published by davelandry about 3 years ago

  • rolls back faulty postcss variable preserve (44ffcef)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

@datawheel/[email protected]

canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

  • Merge pull request #1251 from Datawheel/core-login-toasts (19fceb89)
  • fixes issue with incorrect toasts firing based on previous state (69d95128)
  • fixes if/else leaks in login function (12066f79)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

  • Merge pull request #1249 from Datawheel/fix-image-promise (7a204fab)
  • fixes image lookup by switching to promise (a1b352bf)
canon - @datawheel/[email protected]

Published by jhmullen about 3 years ago

  • installs postcss-combine-duplicated-selectors (35a6b403)