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 davelandry about 4 years ago

  • Merge pull request #1116 from Datawheel/feature-need-params-toggle (6bef2f3b)
  • restructures need arguments to allow future config and toggling param behavior (6558b950)
canon - @datawheel/[email protected]

Published by davelandry about 4 years ago

  • Merge pull request #1115 from Datawheel/feature-translations (5d008da6)
  • syntax tweaks (3bbc9c7e)
  • adds more comments and updates helper script (c2489d61)
  • re-enables auth (ac0ff89d)
  • refactors function passing (9238500c)
  • refactors translation scripts for access to SSR (22497750)
  • abstracts translatetext function (2239ef67)
  • re-enables login wall (4ac383dc)
  • adds error handling and bubbling to translation (ed4e87a4)
  • fixes busted comma (82441e84)
  • updates readme (2eb16248)
  • moves translation script and adds to package.json (1dccea68)
  • renames script and adds to package.json (8750e354)
  • updates translation script (8f3a6e33)
  • updates readme (53583d69)
  • adds documentation (c5bd30eb)
  • fixes leading/trailing spaces in translation (6a002b17)
  • adds readme, refactors api (fc566c78)
  • puts translation route behind dev and authentication (0c820b95)
  • refactors translation utils (319fca81)
  • refactors some functions, adds profile translator (aff3c3d2)
  • adds toast to callback (6a33022c)
  • actually updates textcards on translation return (df0f16db)
  • generalizes section translation (db04c8bc)
  • renames translate function, adds dummy route, removes dead code (4f151d8b)
  • abstracts out formatters4eval (e4d2df88)
  • adds section translation endpoint (96c92f42)
  • adds translate button and redux action to secitoneditor (de206784)
  • upgrade storage, move translate serverside, adjust textcard (bbc4bfab)
  • upgrades google cloud storage package (779efed4)
  • Merge branch 'master' of http://github.com/datawheel/canon into feature-translations (e6aaa589)
  • removes async function from class method (f6463941)
  • adds translate button to textcard (4fa23d43)
  • Add missing transparent pixel for cms (fe963ea9)
  • Merge branch 'master' of http://github.com/datawheel/canon into feature-translations (a66b44bf)
  • adds translation stub (852e995d)
  • adds opts to translate script and begins refactor (a5c0e036)
  • updates package lock (490bfbe2)
  • Merge branch 'master' of http://github.com/datawheel/canon into feature-translations (e4e97b18)
  • stores original word for translation, adds comments (117bd0d8)
  • remakes package lock (693bf90c)
  • Merge branch 'master' of http://github.com/datawheel/canon into feature-translations (8be2049c)
  • fixes spanify to work for formatterse (2eb47a08)
  • refactors and sets up actual remote calls (478d099f)
  • adds better regex with capture group (1333c466)
  • Merge branch 'master' of http://github.com/datawheel/canon into feature-translations (481ff7e6)
  • adds model loading and writing (50a4d27d)
  • fills out translate script with db models (bfc6589b)
  • adds translate library and stub script (1b1f6d92)
canon - @datawheel/[email protected]

Published by jhmullen about 4 years ago

  • Merge pull request #1111 from Datawheel/fix-keywords-overlap (a77a11db)
  • changes overlap behavior to handle keywords (a947868a)
canon - @datawheel/[email protected]

Published by davelandry about 4 years ago

  • adds ignoreHTTPSErrors to puppeteer config in pdfRoute (5637d490)
  • Update README.md (7cdc0697)
  • Update README.md (5ebf6b57)
canon - @datawheel/[email protected]

Published by jhmullen about 4 years ago

  • hotfixes pdf route (97fc4f2c)
canon - @datawheel/[email protected]

Published by jhmullen about 4 years ago

  • hotfixes viewport reversion (35790e71)
canon - @datawheel/[email protected]

Published by jhmullen about 4 years ago

  • Merge pull request #1104 from Datawheel/fix-pdf-sandbox-viewport (a0e6aaac)
  • removes sandbox workaround and fixes viewport dpi (e081c155)
canon - @datawheel/[email protected]

Published by jhmullen about 4 years ago

  • Merge pull request #1103 from Datawheel/feature-htaccess-vars (7611ce3e)
  • adds htaccess vars for pdf gen (54a7bed9)
canon - @datawheel/[email protected]

Published by jhmullen about 4 years ago

  • Merge pull request #1102 from Datawheel/fix-keyword-inputs (b7adc33c)
  • add trailing spaces (1f74b700)
  • fixes keyword inputs to avoid leading/trailing spaces and quotes (f14b5eaf)
  • New name in Google Cloud options (cb859f8e)
canon - @datawheel/[email protected]

Published by davelandry about 4 years ago

  • adds info on PDF Printing to README (45260b44)
  • temporarily disables sandbox in pdfRoute (76457b4b)
  • fixes release script compatibility with powershell (ce950adb)
canon - @datawheel/[email protected]

Published by jhmullen about 4 years ago

  • Merge pull request #1097 from Datawheel/create-canon-patches (fad5acb1)
  • removes optional chaining operator from scaffold (6db35470)
canon - @datawheel/[email protected]

Published by jhmullen about 4 years ago

  • hotfixes slug issue for oec (9b0f06ae)
  • compiles @datawheel/[email protected] (0e69be10)
  • backports mirrorSelector prop in Options.jsx (3e84d8d2)
  • compiles @datawheel/[email protected] (06a238de)
  • backports profileSearch filtering, attr pass-through, and duplicate results (abdcf1e1)
  • compiles @datawheel/[email protected] (a969be7e)
canon - @datawheel/[email protected]

Published by jhmullen about 4 years ago

  • Merge pull request #1096 from Datawheel/fix-mortar-merge (fba4aaae)
  • fixes botched merge in mortar and search routes (5cf986f9)
canon - @datawheel/[email protected]

Published by davelandry about 4 years ago

  • small tweaks to print Profile CSS (64ec43fa)
  • Section component now sets unique element ID (5f46a0a9)
  • fixes Data Appendix tables not breaking mid-table (6717c466)
  • fixes bug where Data Appendix tables were capped at 20 rows (ce20dc0b)
canon - @datawheel/[email protected]

Published by davelandry about 4 years ago

  • backports mirrorSelector prop in Options.jsx (3e84d8d2)
canon - @datawheel/[email protected]

Published by davelandry about 4 years ago

  • backports profileSearch filtering, attr pass-through, and duplicate results (abdcf1e1)
canon - @datawheel/[email protected]

Published by davelandry about 4 years ago

  • fixes compatibility with canon-core v0.19
canon - @datawheel/[email protected]

Published by davelandry about 4 years ago

  • reverts ambiguous "Subdimension" and "Language Hints" labels to their real names (d963b857)
  • adds v0.13 migration script to README (5a9f5ac2)
canon - @datawheel/[email protected]

Published by davelandry about 4 years ago

As with most major CMS releases, please run the migration script to update a 0.13 database to the new 0.14 format.

New Features

  • Entire profiles now have a "visible" status, which allows them to be edited in the CMS but not appear in front-end search results.
  • Dimension variants within a profile now have an "allowed" status, so that work can be done on new variants in the CMS without exposing them via search results.
  • Generators now contain an "allowed" status, based on Boolean variables provided by the customAttributes endpoint. Generators that are not allowed for a given dimension will not be run for that profile (reducing load times).
  • Materializers now contain an "allowed" status, based on Boolean variables provided by either the customAttributes endpoint or Generators. Materializers that are not allowed for a given dimension will not be run for that profile (reducing load times).
  • Selector/setVariables state is now stored in query arguments when changed on the front-end, allowing to share more specific URLs.
  • The /profilesearch endpoint now contains filters for dimension, hierarchy, and profile.
  • The /profilesearch endpoint now returns any custom defined meta information in its results.
  • Profiles now feature a "Save as PDF" button in the hero section. This button can be hidden by adding the following CSS to a project: .cp-hero-pdf { display: none }

Full Changelog

  • Merge pull request #1073 from Datawheel/feature-1070-pdf (56a2d0e2)
  • fixes monorepo packages linking to canon-core (b1abd8ed)
  • Merge branch 'master' into feature-1070-pdf (dcecf288)
  • Merge pull request #1058 from Datawheel/feature-allowed-generators (f1d24186)
  • Merge branch 'master' into feature-allowed-generators (c43d7ed3)
  • tweaks design of is-not-allowed class (5b14b520)
  • documents new behavior (dc1e2edc)
  • adds filtering to profilesearch (cd216074)
  • adds attr to grouped profiles (911b5472)
  • returns attr in profile search results (db39a1ec)
  • Merge branch 'master' into feature-allowed-generators (1e468ba0)
  • allows data appendix tables to page-break-inside (f539a3fd)
  • adds pdfOptions prop to PDFButton and wraps text prop in translate function (bc02a874)
  • adds description to Data Appendix and wraps title/desc in translate function (61400764)
  • removes overly aggressive print styles (48899581)
  • allows custom pdfOptions to be passed in body to express endpoint and fixes viewport sizing (ce6503c6)
  • adds columns to db_0.14 migration script (568d3197)
  • updates readme (9c0967e2)
  • hides results from /api/search unless ?cms=true (8883d1c4)
  • adds another hidden indicator to ui (3b45eb72)
  • adds eye icon to indiciate invisible profiles (23727c50)
  • filters out search results from hidden profiles (5aa35234)
  • adds visibility to profile variants (38a75bfb)
  • uses size-me with printable Table viz (d3cc8717)
  • improves profile print styles (d2603bb6)
  • improves data appendix table styles in print (bd257a76)
  • improves data appendix column widths in print mode (9ac4dc03)
  • Merge branch 'master' of http://github.com/datawheel/canon into feature-allowed-generators (3b50a472)
  • print css page break tweaks (c758d540)
  • hides Tabs selector in print (18725ef5)
  • removes viz titles from print Tables (97b0226f)
  • fixes print bug in Selector where no default is selected (fb696aaa)
  • removes unused imports from ProfileRenderer (26dea084)
  • uses profile title for PDFButton filename (01d97aa2)
  • uses saveAs in PDFButton and adds filename and text props (845188c3)
  • changes Button icon when rebuilding (1ae05079)
  • adds print styles for Data Appendix (3e9a2eef)
  • adds configOverride to MultiColumn, SingleColumn, and Tabs (6c7d3ab3)
  • removes test code from Selector (97de8e0c)
  • hides empty viz header in print mode (1777a651)
  • fixes declaration line (68dcb19f)
  • converts appendix to true sections (9303edd2)
  • removes dataOnly badness (2c580e88)
  • Merge branch 'feature-1070-pdf' of https://github.com/datawheel/canon into feature-1070-pdf (af29391f)
  • hides Options when print is true (375f537c)
  • hides Subnav when print is true (324eb7b3)
  • initial profile print styles (21b2f909)
  • only shows activeValue in Selector when print is true (7ff52fd2)
  • offsets cp-hero-pdf top by nav-height (7744df3c)
  • adds print to childcontext of ProfileRenderer and adds a cp-print class (ca3f0c56)
  • resizes and styles puppeteer PDF (c4f7375a)
  • fixes pnpm-lock for examples logiclayet (6e7f1271)
  • creates exported PDFButton component (2f9b0e3d)
  • bundles query state into pdf request (74066b66)
  • catches cases where panelIndex is out of range (c2f72eb2)
  • adds tab state to dropdown configuration (f17159cb)
  • makes front-end pages store and respect dropdown states (0dc4ab76)
  • Merge branch 'master' into feature-1070-pdf (f1d96ca7)
  • adds req passthru to fetchprofile so print visibility var works (25f28518)
  • adds query param spread pass-thru to canon-core (0ca97ad8)
  • adds showWhenPrinting var to cms-side (0e4b5f3e)
  • Merge branch 'master' of http://github.com/datawheel/canon into feature-1070-pdf (47387b57)
  • adds profile visibility toggle (33b42574)
  • Merge branch 'master' of http://github.com/datawheel/canon into feature-allowed-generators (9fb4f628)
  • adds print option to dropdown (bab13e14)
  • adds source to pdf data (6ea70e4b)
  • adds pass-thru options to show tables at end of doc (300ff132)
  • hides button on save, adds vizes to end of render (42eb19fc)
  • adds print mode and api endpoint for puppeteer pdf (76b39c96)
  • adds puppeteer package and print query to url (9527a025)
  • Merge branch 'master' of http://github.com/datawheel/canon into feature-allowed-generators (355204ed)
  • adds migration script for 0.14 (0eff537b)
  • filters materializers by allowed (b84660f4)
  • adds models for allowed generators (6ae2f808)
  • adds allowed to generators (f6d835e7)
canon - @datawheel/[email protected]

Published by davelandry about 4 years ago

  • adds new Data Appendix and PDFButton text to default canon translations (af6d5236)