Skip to content

WIP: Refactoring model so that a provider isn't required to be selected

Chris Martin requested to merge c-mart:refactor-model-provider into master

This work fixes #70 (closed) and mostly undoes #55. It is required to support views of resources across all providers.

Problems to fix:

  • Case statements everywhere. ViewState ADT should have a SelectedProviderName broken out from inside the type constructor (??) which is resolved to a Provider type once in the code, before passing to view and update functions
  • "Provider picker" view does not highlight/disable button for selected provider, this is a regression

Merge request reports