GoogleChrome / chromium-dashboard

Chrome Status Dashboard
https://www.chromestatus.com
Apache License 2.0
641 stars 370 forks source link

Consolidate the constants on the frontend and the backend #2344

Open jrobbins opened 2 years ago

jrobbins commented 2 years ago

Is your feature request related to a problem? Please describe. We have a new search API that can accept "field operator value" search terms, however the values of enums would need to be specified as numbers, which would make no sense to users.

Describe the solution you'd like On the server side:

On the client side:

KyleJu commented 1 year ago

For the task, Change chromedash-feature-filter.py to use form-field-specs.js and form-field-enums.js instead of defining QUERIABLE_FIELDS, we need to consolidate the constants on the frontend and the backend. Plan to take a stab at it Q1 next year

jrobbins commented 1 week ago

I changed the title of this issue to reflect the remaining work.