canon

Reusable React environment and components for creating visualization engines.

GPL-3.0 License

Downloads
1.4K
Stars
27
Committers
19
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • rolls react-redux back to v5.1.1 to fix needs (0033b10)
  • removes deprecated fetchAttrs reducer (16adce3)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • adds SMR to stats libs (710ba83)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • adds SMR calc to stats lib (5bab807)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • implements new multicut query kind (a414e39)
  • deactivates confidence intervals if main level has more than 12 members (9f4e756)
  • fixes bug on rules for average aggregations (480328c)
  • updates example app parameters (a1707ef)
  • enables support for default_year annotation (a39c45c)
  • moves non-query parameters to their own namespace on state on vizbuilder (40a2fb4)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • exports Profile component for rendering CMS content (7d472d4)
  • removes deprecated topic-title margin/padding (0856ecf)
  • adds information to README about changing locales (9c26728)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • fixes bug on member selector with members without ancestors closes #456 (a0d032f)
  • updates top ten selection procedure adds criteria to remove stacked and treemap charts with too many elements (c62bf9b)
  • fixes bug on initialization without parameters (dd45faa)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • adds support for default_year annotation (0ba32b4)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • wraps CSV headers in quotes (1070657)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • wraps CSV column headers in quotes (5d2a978)
  • compiles @datawheel/[email protected] (9faa597)
  • fixes flex alignment issue in IE with new image download toggles (e3b29e9)
  • compiles @datawheel/[email protected] (54c6358)
  • updates view data table on selector change (7e8510c)
  • scrolls to topic on options click (fixes IE image downloads) (0801f75)
  • adds image download status indicator (74c0f93)
  • adds background transparency option to image downloads (4ddbd76)
  • removes malformed topic padding (8a0b7ff)
  • updates d3plus-export to v0.3.10 (cf0fb19)
  • compiles @datawheel/[email protected] (e714f5b)
  • Merge pull request #446 from Datawheel/fix-storytopic-deletes (9378911)
  • fixes storytopic deletes (140a6b0)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • adds transparency, loading, and fixes view data selector updates and image IE downloads to Options component (65be9c7)
  • removes malformed topic title padding (705c4a3)
  • updates d3plus-export to v0.3.12 (7b697cd)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • fixes flex alignment issue in IE with new image download toggles (e3b29e9)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • updates view data table on selector change (7e8510c)
  • scrolls to topic on options click (fixes IE image downloads) (0801f75)
  • adds image download status indicator (74c0f93)
  • adds background transparency option to image downloads (4ddbd76)
  • removes malformed topic padding (8a0b7ff)
  • updates d3plus-export to v0.3.10 (cf0fb19)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • adds support for dimensionType year detection (closes #443) (604fb24)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • updates information on instanceKey on README (b38ed4e)
  • fixes permalink parsing on initialization (09876d3)
  • prevents instance conflict through instance identification closes #442 (a296363)
  • updates reducer action names with VB namespace fixes bug on error handling (57daff9)
  • updates test app structure to match datausa map/vizb use (d1ce0ff)
  • updates formatting removes last references to xlevel (3114740)
  • removes treemaps that appeared duplicate due to 1 member cuts closes #434 (02fbe42)
  • removes datasource from chart titles closes #437 (b043fa9)
  • updates labels in chart shapes closes #435 (b8a460b)
  • fixes exported modules (9c4ec8f)
  • updates labels in sidebar buttons closes #438 closes #439 (99413a9)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • Merge pull request #446 from Datawheel/fix-storytopic-deletes (9378911)
  • fixes storytopic deletes (140a6b0)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • throttles down cube cache from 50 to 10 requests per second (0a15de6)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

The v0.2 release of canon-vizbuilder contains a breaking change: any site using the vizbuilder must now add a specific reducer to it's project.

Vizbuilder's state is managed from the site-wide redux state, so is a requirement to setup the Vizbuilder's reducer function.
In app/reducers/index.js, import the reducer function and assign it to the vizbuilder key:

import {vbStateReducer} from "@datawheel/canon-vizbuilder";
...
export default {
  ...
  vizbuilder: vbStateReducer,
  ...
};
  • Merge pull request #432 from Datawheel/issues/feedback (4cb04c4)
  • Merge branch 'master' into issues/feedback (ee8ef2a)
  • Merge branch 'issues/feedback' of github.com:Datawheel/canon into issues/feedback (678716b)
  • updates demo page adds instructions on readme to enable reducer on a canon app (0f9469d)
  • fixes bug on items height for virtual list rendering (5ffccac)
  • implements external state management through redux (eb31b90)
  • compiles @datawheel/[email protected] (0486861)
  • updates readme implements typescript typings (90ba81d)
  • Merge branch 'issues/feedback' of github.com:Datawheel/canon into issues/feedback (c3001e2)
  • fixes visual overflow on deeplist title (cfdbaf0)
  • Merge branch 'master' into issues/feedback (6d6a278)
  • fixes measureConfig required issue (6cfa982)
  • implements full virtual list on measure selector when filtering by query (fe8e274)
  • moves Loading screen rendering from css-controlled to react-controlled (a252c1c)
  • adds ability to remove title closes #421 (6f73503)
  • prevents reload when deleting an empty filter/group (1369d6c)
  • prevents className conflict with site-wide default loading component (33295ea)
  • removes custom chart height calculation in favor of simplified approach (c62010c)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

canon-cms v0.2 is an entire rewrite of the CMS (mad props to @jhmullen). We will be creating an update script to migrate old v0.1 databases at a later point. This update includes the following breaking changes:

  • Moving away from the traditional Profile -> Section -> Topic hierarchy, this PR takes an "Everything is a Topic" approach. This means that profiles are actually quite small now - containing only generators, materalizers, and a title. Everything else, sections, footnotes, topics, vizes - these are all special cases/templates of the generic "Topic," and are organized in an ordered list like a website (as opposed to strictly hierarchically).

  • Most every entity is now multi-lingual. This required the creation of corollary content tables that contain translated content, controlled by the CANON_LANGUAGES environment variable. API endpoints now accept a &locale=<locale> parameter to fetch content in the given locale, falling back to CANON_LANGUAGE_DEFAULT if fields are missing.

  • Update to canon-core 17.4. The most "breaking" part of this upgrade is the jump from blueprint 1.x to blueprint 3.x (though moving to react 16 caused a few blips as well). I have run both migration scripts and reorganized all labs components and moved all pt- classes to bp3-.

Full Changelog

  • updates canon-core to v0.17.6 (73b37f0)
  • Merge pull request #431 from Datawheel/refactor-flatten (0cccafa)
  • adds formatter seed content to model (2953709)
  • updates pt- prefix to bp3- on non-updated classnames (49542de)
  • updates css path in Options.jsx for bp3 (4e3f659)
  • updates package lock (daf4419)
  • pulls in master (60cbe1d)
  • adds framework for possible path setting, commented out (2591dfb)
  • fixes bug where topic titles would regress when secondary locale was updated (26a725b)
  • adds is-dirty? functionality to all cards, skipping confirm prompt if no changes (dd321c6)
  • removes unnecessary object pruning that was causing input warning (09b1833)
  • fixes blueprint portal nesting to inherit css properly (fde90fe)
  • adds keys to comps in generatoreditor to address react16 key-unique warning (1ac6e00)
  • fixes storytopic bugs and linting errors (d5923e5)
  • fixes bugs with creating new topics (eb7dd61)
  • updates to canon-core 17.4 (612ff4a)
  • adds single lang switch (c18235b)
  • fixes bug with renaming slugs in profiles (c6e9e13)
  • fixes bug in storytopic saving (5a3f2d3)
  • removes references to hard coded english from stories (a737b54)
  • fixes bug with title changes in profilebuilder (fafddf5)
  • adds locale toggle, fixes topic naming bug, fixes control flow for editors (f3b0422)
  • removes console log (d1ee5c1)
  • fixes bug with saving stories in storyeditor (662f03e)
  • removes english defaults, fixes locale switching bug (10a8cd2)
  • refactors routes and front-end so that defaultlang can be anything, not just en (5c3873c)
  • adds defaults to top-level editors so we know which keys to iterate on in Cards (b8713f5)
  • adds locale default to profile builder and editor (90b6f14)
  • adds localeDefault to outer Builder (a04f978)
  • updates vizes to respect locale, performs urlswap by locale (71aba51)
  • fixes topic endpoint to respect locale (eeb60ab)
  • splits out variables into locale-specfic blocks (efd3e35)
  • adds locale to mortareval (f40914c)
  • updates mortar front-end to respect locale requests (7c112a4)
  • fixes ordering bug by returning correct payload for create route (532113a)
  • checks that an update has content before updating language table (55755f3)
  • uses actual canon vars for dropdown, hides entire lang interface if none set (534b98d)
  • streamlines control flow in profile editor (b3920bd)
  • updates story and storytopic editors to match new structure (75c32ed)
  • adds visual split and locale dropdown to builder (aee55df)
  • enables textcard to accept locales and write to the proper db (cff3519)
  • fixes associations and broken topic title content (a1a7b1e)
  • removes parent_id from content tables, using regular id instead (2e81be7)
  • updates cms/mortar routes to respect content (2aca743)
  • moves unnecessary props from story_content (bbe1a28)
  • adds content tables to db (ac3b684)
  • removes section from profile scaffold (5016f74)
  • removes sectioneditor and old profile stats (f5288b8)
  • removes sections from profilebuilder (c6ca4cb)
  • removes sections from cms and mortar route (e030c7b)
  • refactors db structure (e4cfd0b)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • allows db models to have seed content (8b561ed)
canon - @datawheel/[email protected]

Published by davelandry over 5 years ago

  • adds IE polyfill for SVG innerHTML (6d63ebb)