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 over 4 years ago

  • adds documentation for advanced api techniques (aa1ec561)
  • adds negative index lookup for urlswap (30331dda)
  • adds rudimentary dot notation accessor to urls (2de0b35e)
  • adds user to cms payload for attributes (6eb3d3ee)
  • adds multilocale name support to magic generator (89be617c)
  • moves parents and attr fetch to one-time on preview select/load (5ddf7e26)
  • adds parents fetch before generators (34dad3c4)
  • adds parents object to magic generator (4d67ece6)
  • changes var for clarity (cee7e930)
  • fixes bug with options panel (3e19e08a)
canon - @datawheel/[email protected]

Published by jhmullen over 4 years ago

  • Merge pull request #942 from Datawheel/hotfix-slow-generators (5f9e5ec9)
  • fixes chugging generators (31564b73)
canon - @datawheel/[email protected]

Published by davelandry over 4 years ago

  • refactors api logic (434fbc7c)
  • adds check for multiple length, removes cms animations, fixes bug with array of datacalls (db4a7f6e)
  • adds single string workaround (db2e3403)
  • allows for multiple data calls in simpleviz (613ca367)
  • removes unused class (a4fc46e5)
  • changes groupBy to always be an array (1026098d)
  • handles composite groupby buttons (04fb96bb)
  • makes room for multiples in vizui (bb29a0de)
  • moves vizrows to another file (e67462f8)
  • adds plus/minus stubs to viz-ui (8b7b3934)
  • Merge pull request #940 from Datawheel/fix-nulls-last (d6f80224)
  • pushes null z values to end of search result (c9b88e64)
canon - @datawheel/[email protected]

Published by davelandry over 4 years ago

  • fixes ProfileTile image pathing (78a3af59)
  • renames columnTitles to profileTitles in ProfileSearch and uses user titles in list display (cacc5797)
canon - @datawheel/[email protected]

Published by jhmullen over 4 years ago

  • Merge pull request #939 from Datawheel/update-search-structure (bd1d4b12)
  • updates search structure to fit uniqueness ids for marcio (d131d458)
canon - @datawheel/[email protected]

Published by davelandry over 4 years ago

  • fixes issues with stock Table viz (53770ed0)
canon - @datawheel/[email protected]

Published by davelandry over 4 years ago

  • allows table columns to have onClick events (closes #932) (aec5468f)
  • enables multi-data loading in Table viz (closes #931) (5d7a6986)
  • adds loading message to Table viz (closes #933) (19f5883c)
  • Merge branch 'master' of https://github.com/datawheel/canon (92c222df)
  • adds dynamic column width to Table viz (c6bc1e79)
  • moves cubedata request to axios, only opens on dimensioneditor (d8c69955)
  • Merge pull request #935 from Datawheel/fix-viz-allowed (81b93eb9)
  • adds allowed back into vizes (4ac5c766)
  • adds catch in Table default cell format for "Year" columns (5b77b4ae)
canon - @datawheel/[email protected]

Published by davelandry over 4 years ago

  • only authenticates user in Builder if the site hasn't already authenticated them (e60e0932)
  • catches for when cube annotations key is present but value is falsey (e2680517)
canon - @datawheel/[email protected]

Published by davelandry over 4 years ago

  • adds support for OLAP_PROXY_SECRET (03af4744)
canon - @datawheel/[email protected]

Published by davelandry over 4 years ago

  • adds iframe example to README (91b6ba0d)
  • tweaks design of HTML viz component (86da8fb6)
  • removes unused component from Table (b9543402)
  • alpha-sorts Profiles in CMS dropdown (18db5ccb)
  • adds documentation for html type (6635c9c8)
  • adds variable dropdown to html type (69c09767)
  • begins to add in variables dropdown for html selector (75264b82)
  • adds html type (3dc07965)
  • blocks vizes from rendering until all vars are loaded (102f3570)
  • adds trycatch around dataFormat and cellFormat to avoid whitescreen (21d8f0ac)
canon - @datawheel/[email protected]

Published by davelandry over 4 years ago

  • removes console statement from router script (d54f3879)
canon - @datawheel/[email protected]

Published by jhmullen over 4 years ago

  • hotfixes options bug for zero length datasets (870f40f5)
canon - @datawheel/[email protected]

Published by davelandry over 4 years ago

  • allows custom config for bodyParser json and urlencoded via canon.js (223c321d)
canon - @datawheel/[email protected]

Published by davelandry over 4 years ago

  • fixes bug with image hosting wires crossed (475d4c29)
canon - @datawheel/[email protected]

Published by jhmullen over 4 years ago

  • fixes fetch data button width in CMS (closes #914) (331a00ec)
  • catches non-object return (412d6d2f)
  • wraps funcify in try catch (c576baed)
  • adds filter for empty bilateral case (575771e5)
  • updates searchroute to respect cubename (eb3fb64d)
  • adds metadata to filtering for proper search routing (808fdba7)
  • updates readme for cms 0.12 (1600dd6e)
  • updates package lock (ef7e8e04)
canon - @datawheel/[email protected]

Published by davelandry over 4 years ago

This release adds a cubeName field to search members, requiring a database change and therefore necessitating the release of cms 0.12. A migration script, npx canon-cms-migrate-0.11, is included.

cubeName and pslug are now valid parameters in the /api/search endpoint (for @palamago), see README for more info.

Note: Unlike all other migrations, the 0.11 -> 0.12 migration script performs a total search re-ingest from the source cubes. This means that the following env vars MUST be set in the environment where are you running the migration, AND they must match your production credentials to ensure a proper ingest.

  • CANON_CMS_CUBES - Required for connecting to the Cube
  • CANON_LANGUAGES - Required for cube ingest so language data can be populated. Make sure this matches your prod setup!
  • CANON_LANGUAGE_DEFAULT - Required for slug generation - slugs for search members are generated based on the default language.
  • CANON_CMS_LOGGING - Not required, but recommended to turn on to observe the migration for any errors.

Changelog

  • adds pslug lookup to search endpoint (d2eb24ee)
  • updates documentation for 0.11 script (fc92c090)
  • removes old code/comments (d7130428)
  • updates profile fetch to respect cubeName (be0048aa)
  • adds cube filter to meta editor (c16db77b)
  • adds cubeName filter to various search endpoints (8606b67d)
  • adds a few catches for undefined cases (451577c4)
  • updates populatesearch to respect metalookup for migrations (f22005d2)
  • adds migration to package and hooks up img preservation (70c739e1)
  • moves populatesearch to external file, adds 0.11 migration file (9f697bc8)
  • adds 0.12 db and updates search table to include cubename (d74e0c3b)
  • adds docs for minrole (d1c06448)
  • adds minrole to cms config (372aec73)
canon - @datawheel/[email protected]

Published by jhmullen almost 5 years ago

  • Merge pull request #917 from Datawheel/limit-fix (cd913352)
  • fixes limit for bilaterals (8e6f7b13)
canon - @datawheel/[email protected]

Published by davelandry almost 5 years ago

  • Merge pull request #894 from Datawheel/604-selectors-as-button-groups (336badac)
  • Merge branch 'master' into 604-selectors-as-button-groups (3bd09a3a)
  • fixes ButtonGroup label and Button active styles (697347a9)
  • Subnav gracefully fails it's getSectionWrapper if slug is undefined (bdac5504)
  • fixes React key warning in ProfileRenderer (c393dabc)
  • removes console (5cc90749)
  • removes needless striphtml (c4f7440b)
  • adds label to buttongroup (bc6b1214)
  • adds consistent font size (2869ce89)
  • converts selectors with 2–3 options to button group (23948c88)
canon - @datawheel/[email protected]

Published by jhmullen almost 5 years ago

  • Merge pull request #913 from Datawheel/fix-linkify-regex (e70d970a)
  • Merge branch 'master' of http://github.com/datawheel/canon into fix-linkify-regex (a06e8dbb)
  • fixes linkify (08b2776b)
  • Merge branch 'master' of https://github.com/datawheel/canon (fe45daf2)
  • fixes linting errors with Profile search components (384573b5)
  • Merge pull request #895 from Datawheel/729-compiled-endpoint-in-var-editor (145b3769)
  • moves url state change (03233281)
  • Merge pull request #896 from Datawheel/730-metadata-table-loading-state (afc53668)
  • Merge branch 'master' of http://github.com/datawheel/canon into 730-metadata-table-loading-state (09d82b31)
  • uses non-overloaded variable for initial state load (da390ce6)
  • adds topojson world-50m test file (5ecdda5e)
  • tweaks images in CMS toolbar titles (b2e0b5b5)
  • updates bundled d3plus dependencies (615fb0da)
  • Merge branch 'master' of https://github.com/datawheel/canon (a33913a6)
  • fixes data source display in Section.jsx (e967ccd0)
  • makes SourceGroup text CSS more subdued (c59a6119)
  • removes unused arg (06531cd8)
  • cleans up consoles and adds comments (c34d62f6)
  • speeds up slugify and ups timeout (a3aaaf50)
  • replaces looping await with bulk update (4303b080)
  • adds loading text to MetaEditor table (d3f70053)
  • prints compiled generator url in editor after fetch (eb32eddc)
canon - @datawheel/[email protected]

Published by davelandry almost 5 years ago

  • Merge pull request #903 from Datawheel/issue-875-deepsearch (9014059f)
  • fixes typo (36fd01a8)
  • adds documentation for user auth (c6228c21)
  • adds trap so preview mode doesn't break (62c2c0c1)
  • adds login loop to profile renderer (8cd2676b)
  • adds user to attributes generator (3ad480e5)
  • fixes whitescreen bug with tables (6a4f7cbd)
  • comments out console statement in ProfileSearch (27f25ae8)
  • documents new ProfileSearch component (887488e4)
  • exports ProfileSearch, ProfileColumns, and ProfileTile components (1169c842)
  • allows custom HTML in columnTitles of ProfileColumns (93de81cd)
  • creates ProfileColumns component (969b1117)
  • renames ProfileSearchTile to just ProfileTile (77f4d5b4)
  • adds availableProfiles prop to ProfileSearch (e47ad581)
  • adds "showExamples" mode (7c957e37)
  • adds absolute position option to ProfileSearch and improves blur state of inputs (d83ed40e)
  • Merge pull request #900 from Datawheel/component-library (409f8210)
  • Merge branch 'master' of http://github.com/datawheel/canon into component-library (f5c6b13c)
  • makes formatter safer (d19c0f6a)
  • adds columnTitles and columnOrder props to ProfileSearch (096e0cba)
  • Merge branch 'issue-875-deepsearch' of https://github.com/datawheel/canon into issue-875-deepsearch (0b21b72c)
  • adds keyboard support for ProfileSearch (02073194)
  • makes ProfileSearchTile hover/focus style more apparant (cadca72c)
  • fixes limiting and adds blank query autoreturn (f84b106d)
  • adds hierarchy to ProfileSearch column tiles (8f959e3d)
  • adds loading state to ProfileSearch (081401ff)
  • adds profile-type to "list" ProfileSearch (d98ebb17)
  • improves ProfileSearch column titles (f3c96794)
  • adds basic styling for ProfileSearch "list" display (0ea7bc49)
  • sets empty and starter states in ProfileSearch (92b4487d)
  • centers column titles in ProfileSearch (3e2a75a2)
  • adds "joiner" prop to ProfileSearch (873a8b4f)
  • Merge branch 'issue-875-deepsearch' of https://github.com/datawheel/canon into issue-875-deepsearch (fd4b07e7)
  • applies new styling to column layouts (94134175)
  • adds tokens to gitignore (c8e55915)
  • adds dim and hierarchy to search results (f303f7ca)
  • adds verbose filter (f10d8b72)
  • adds more graceful fallback for misconfigured deepsearch (06a50bfe)
  • updates readme for new search (314fef6d)
  • adds postgres fallback to deepsearch (0b592fc9)
  • Merge branch 'issue-875-deepsearch' of https://github.com/datawheel/canon into issue-875-deepsearch (91720a30)
  • makes ProfileSearch results overflow scroll (b470b4a1)
  • makes ProfileSearch work without needed a "Search" button (20aaa4b1)
  • fixes link in cms preview (6a8e4978)
  • refactors/styles ProfileSearch input (a5d6ed60)
  • adds linkify to deepsearch (b73a3786)
  • guards against empty queries in ProfileSearch (f1931b79)
  • renames DeepSearch components to ProfileSearch and renames "grouped" to a "display" prop (44791e9f)
  • adds documentation for deepsearch (bedddfc0)
  • pushes visualizations to the bottom in single column sections (0ad64eb5)
  • Merge branch 'master' of http://github.com/datawheel/canon into issue-825-deepsearch (4972d5df)
  • hide zero length results in keyed response (594a031f)
  • adds subroutes and improves performance a bit (fccac043)
  • makes tokens filterable (ccf686b1)
  • fixes status positioning in non-cms context (1ce3f0fd)
  • makes it so clicking on a token will copy it (69ba6186)
  • adds more token categories (9e39e70e)
  • designs token list, separates out colors, adds swatches (85e0385a)
  • adds design token list (eea276bb)
  • adds a method for switching between components & design tokens, which doesn't do anything yet (1e0c0229)
  • fixes markup and also removes dropdown because it's causing react to mix things up I'm sure that's fine and normal (07fca462)
  • adds select/deselect all buttons to generator table ui mode (aa4c39d5)
  • adds comments (5932802c)
  • moves files around (c5276578)
  • tweaks design (fe05b456)
  • adds filter (1f7f24cd)
  • adds variable/list examples (2eb6d49f)
  • whoops (4650e320)
  • adds Parse & Stat examples (0cb1a660)
  • adds grouped view (320e0a0b)
  • adds/styles/fixes Textarea & adds example (ef396354)
  • adds status example, and adds another toast-style status to use instead of alert() (c9ada9f1)
  • adds dropdown example (915eee9a)
  • adds namespace to list of current props (30e303b1)
  • tweaks spacing (9f3ff513)
  • adds Dialog example (7100ef24)
  • oops now you can escape out of alerts (b0cd4f38)
  • adds Alert, method for toggling Alert, and a crappy view props button (acd3fe01)
  • tweaks showcase item styles (4cfb2576)
  • removes duplicates from bilateral profiles (3a044800)
  • adds front-end test page (ee9d8643)
  • Merge branch 'master' of https://github.com/Datawheel/canon into component-library (260b80ca)
  • uses cartesian product for bilateral results (d54021ea)
  • adds some more components, tweaks/fixes some styles (880de860)
  • adds some style, and FilterSearch (80e0970c)
  • Merge branch 'master' of http://github.com/datawheel/canon into issue-825-deepsearch (ab312211)
  • begins building showcase (51455335)
  • scaffolds profile loop (be02be70)
  • adds profile lookup (c4bf7152)
  • begins hooking up search endpoitn (178dffe6)