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 about 6 years ago

  • removes Canon component from canon-setup (bbbeffa)
  • fixes tagging in canon-release script (8a57999)
  • updates env (0364c8d)
  • updates datawheel-canon references in package.json (19def5e)
  • updates vizbuilder to use new canon (59007a5)
canon - @datawheel/[email protected]

Published by davelandry about 6 years ago

datawheel-canon is now @datawheel/canon-core

In anticipation for modularizing the canon codebase, the main repository has been renamed. Please start moving packages over to use @datawheel/canon-core instead of the now deprecated datawheel-canon (both in the package.json dependency, and in all ES6 import statements).

The Canon component is no more

Wrapping your entire project in the Canon component is now not necessary. All of the logic that it contained has been internalized inside of Canon, which allows for the following:

React <a> tag detection

All <a> tags in your project will be analyzed to see if they can take advantage of the client-side react routing. This let's us do the following:

  • Links can now be injected into the HTML from Strings, like when using dangerouslySetInnerHTML. This is especially beneficial when using Content Management Systems and rendering components from static content (where we can't use the <Link> component).
  • If someone forgot to use the <Link> component, this will now catch those and automatically make them work.
  • If you would like to force a page refresh, you can do so by setting the data-refresh attribute: <a href="/" data-refresh="true">Home</a>

Full Changelog

  • renames main package to @datawheel/canon-core (d004576)
  • creates canon-release script (646c876)
  • rewrites release script with execAsync (f481d74)
  • [breaking] removes the Canon component (e53bb4e)
  • adds react-router link detection to CanonProvider (ece514b)
  • adds dangerouslySetInnerHTML support to AnchorLink (7b8025d)
  • adds JSDOC comments to src/client.jsx (081a40f)
  • fixes SectionTitle and TopicTitle to use AnchorLink component (286c864)
  • adds id support to AnchorLink (c98b62a)
canon - v0.15.21

Published by davelandry over 6 years ago

  • refactors server-side language detection (fixing mailgun localization) (7a66836)
canon - v0.15.20

Published by davelandry over 6 years ago

  • documents new activate/reset html behavior and env vars (7587996)
  • allows for custom activation and reset HTML (4b1d28c)
  • moves user activation and reset e-mail content into locale files (598729b)
canon - v0.15.19

Published by davelandry over 6 years ago

  • fixes AnchorLink in IE (c0d6e5e)
  • updates react-scroll to v1.7.9 (ec91e1a)
canon - v0.15.18

Published by davelandry over 6 years ago

  • uses babel-eslint as default eslint parser (f72dfa0)
canon - v0.15.17

Published by davelandry over 6 years ago

  • adds "utils" folder to babel transformer (d90bca9)
canon - v0.15.16

Published by davelandry over 6 years ago

  • fixes packages compiling src folders (a06e5c0)
  • globs static assets and reports in gitignore (29f51c5)
  • adds packages folder to npmignore (65c6c4c)
canon - v0.15.15

Published by davelandry over 6 years ago

  • fixes scroll to top for new pages (50879e2)
canon - v0.15.14

Published by davelandry over 6 years ago

  • gixes npmignore node_modules cache (57a9fac)
canon - v0.15.13

Published by davelandry over 6 years ago

  • adds node_modules to npmignore (52803b9)
canon - v0.15.12

Published by davelandry over 6 years ago

  • adds facebook pixel code to server.jsx and updates readme (thanks @jhmullen!)
canon - v0.15.11

Published by davelandry over 6 years ago

  • fixes production builds (c322144)
  • tweaks example promise cache (5f6f11d)
canon - v0.15.10

Published by davelandry over 6 years ago

  • fixes anchor scrolling for pages that haven't finished rendering (closes #95) (10e2555)
  • adds server-side data cache management (236d49d)
  • adds 2017 ecmaVersion to eslintrc to support async/await (0692730)
canon - v0.15.9

Published by davelandry over 6 years ago

  • allows preRenderMiddleware with router replaces that do not alter query params (closes #89) (6847cd5)
  • catches empty filename strings in api/db imports (83e4b33)
  • moves HardSourceWebpackPlugin after ExtractTextPlugin (cba5850)
  • adds HardSourceWebpackPlugin to prod server webpack (9aee3a8)
  • updates postcss-cssnext to v3.1.0 (ded294b)
canon - v0.15.8

Published by davelandry over 6 years ago

  • adds hard-source-webpack-plugin to speed up webpack builds (34f93f6)
canon - v0.15.7

Published by davelandry over 6 years ago

  • renames email field for social logins to socialEmail to avoid duplication issues (7a3b087)
  • adds socialEmail to user table (7435de3)
  • adds socialEmail to test table (7e179c5)
  • alters Reset component to use router for URL detection and navigation (bb30575)
  • updates README with new Reset component instructions (d518b3d)
  • updates twitter instructions (6d36b58)
  • adds email retrieval for twitter (43b09ea)
  • requests email addresses for users of google, fb, linkedin and github (e5c7035)
  • adds section on page routing to README (006bc91)
canon - v0.15.6

Published by davelandry over 6 years ago

  • fixes syntax errors blowing up server webpack (closes #81) (c9dd2b5)
  • doesn't load needs if using browserHistory.replace (12e58c0)
  • loading is only triggered when component has needs (closes #73) (97f1428)
  • updates d3plus-react and d3plus-viz (2e05e30)
canon - v0.15.5

Published by davelandry over 6 years ago

  • catches for blueprint ContextMenu and MenuFactory imports (ad9440d)
  • adds example showing loading user information (be440a8)
canon - v0.15.4

Published by davelandry over 6 years ago

  • implements better import path (d662772)
  • fixes import path for external projects (0cf0332)