Skip to content

@datawheel/canon-cms@0.5.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@davelandry davelandry released this 30 May 20:03
· 3129 commits to master since this release

This release contains a refactor that adds n-variate profiles (closes #539).

Profiles are no longer hard-coded to a dimension. A new profile_meta table has been created to handle the n-variate combinations of dimensions and slugs. This allows for the creation of multi-variate profiles. Though at the database level, n is theoretically limitless, on the front-end, Profile.jsx only allows for a maximum of three dimensions in a given profile in its canon need.

Note: This is a major cms release as the DB structure is changing. Props to @jhmullen and @perpetualgrimace for their great work!

Full Changelog

  • closes #542 (3bf1810)
  • adds delete dimension button for #539 (6eec50c)
  • reduces duplication from languages in GeneratorCards, fixes theming, makes cards load in more gracefully, moves fast and breaks things, but then fixes them probably (cea3db3)
  • hooks up checkboxes to replace multiselect in creator (01b65bd)
  • hooks up search rebuild button for #539 (e11fcf6)
  • fixes hidden icons set to "false" istead of {false} (e322ed8)
  • adds level checkboxs to replace level multiselect (WIP) (360d046)
  • updates profile need to work with up to 3 slug-id pairs for #539 (8fedfc8)
  • fixes weird locale text wrapping that's been bothing me since two show and tells ago (cb497f7)
  • touches up dimension card design (bc936f6)
  • adjusts page meta layout (19f8190)
  • adds repopulatesearch endpoint (5fdc928)
  • streamlines topic endpoint to only require topic id and params (eb469c6)
  • fixes bug where objectassign was persisting between requests (6a4d976)
  • removes old code path for reportsave (f46db6b)
  • fixes bug with adding new dimensions not showing up without refresh (fd7c67f)
  • updates frontend topic endpoint to match new style (444a07e)
  • fixes deletitem and allows variables endpoint to be hit without preview ids (048d931)
  • fixes add item to respect new variablehash format (8cc3c9e)
  • removes old profile scaffold and fixes topiceditor preview bug (944c059)
  • refactors add profile to be simple adder with no dims (dd8ddd2)
  • adds dimensionbuilder (48c5dcd)
  • adds (broken) endpoint for adding new dims (d064166)
  • adds dimension builder and cards (ab45197)
  • removes profile slug editor, as slugs are now dimensions (29aab7c)
  • modifies front end to respect multiple previews and new meta structure (30d7517)
  • adds delete route to profile_meta (fcd89a4)
  • begins to add meta throughout cmsroute (d9c25c2)
  • refactors mortarroute to use bivariate (6838a80)
  • refactors db for bivariate (816fe86)