Skip to content

Refactor project structure

Martijn Vermaat requested to merge flux-refactor into master

This includes quite a bunch of related and unrelated changes, I couldn't be bothered to take it all apart :hear_no_evil_monkey:

  • Schemas now live in src/schemas/
  • New Document definition containing a Pedigree and schema extension
  • AppStore is now DocumentStore
  • AppActions is now DocumentActions
  • PedigreeControls is now DocumentControls
  • Simplified action dispathing (we don't need a source property)
  • Focus follows newly added members
  • Renamed props to fields for (naming was unfortunate since we already have props in components)
  • We now have ActionTypes (was in AppConstants), AppConstants (was in PedigreeConstants) and AppConfig (was in PedigreeConstants)
  • Renamed parsers to readers and they now return Document instances

We will likely have an AppStore and AppActions later, but I wanted to take this apart now.

It will probably break @z.tatum's testing setup again and I initially aimed to also do #6 and #7 but one can only do so much.

Merge request reports

Loading