ballotnav
ballotnav copied to clipboard
remove hard-coding of types
Overview
The facilityTypes
, phoneNumberTypes
and urlTypes
are currently hardcoded into the models. (see e.g. src/modals/location.js
). These types should be loaded from the contemplated /metadata
endpoint (#281) when the app loads and then inserted dynamically into the models.
Action Items
- [ ] remove hard-coding of types
the /metadata endpoint would be a backend role; consuming it is for the front
Issue relates to v1 of the project. Currently not pursuing this format of the product.
https://docs.google.com/spreadsheets/d/1ib0z47RjslylwX72FKkA9A07Gu9HkorHEC-b8XOWv5Y/