canonical-web-and-design / build.snapcraft.io

The Snapcraft Build site.
GNU Affero General Public License v3.0
21 stars 26 forks source link

refactor source repositories state in store [11+] #464

Closed earnubs closed 7 years ago

earnubs commented 7 years ago

Refactor the source repositories data in the store to include the selectRepositoriesForm, repository and repositoriesStatus in one list based on repositories (which is essentially just the response from gh repo api).

Consider use of normalizr module or similar to bring control to api responses according to schema with the ultimate goal of the source repo list being the main table against which other data is either indexed or selected.

This card can be broken down further along the lines of:

earnubs commented 7 years ago

See also #465 #466 #467