ballotnav icon indicating copy to clipboard operation
ballotnav copied to clipboard

remove hard-coding of types

Open jmensch1 opened this issue 4 years ago • 2 comments

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

jmensch1 avatar Dec 06 '20 20:12 jmensch1

the /metadata endpoint would be a backend role; consuming it is for the front

jmensch1 avatar Mar 23 '21 18:03 jmensch1

Issue relates to v1 of the project. Currently not pursuing this format of the product.

https://docs.google.com/spreadsheets/d/1ib0z47RjslylwX72FKkA9A07Gu9HkorHEC-b8XOWv5Y/

layneam avatar Apr 04 '22 23:04 layneam