site-admin: add feature flags list view
Created by: bobheadxi
Adds a simple list view to the site admin pages that presents a simple list (of active feature flags)
This is a first iteration of https://github.com/sourcegraph/sourcegraph/issues/31182, which aims to introduce nicer UI/UX for feature flags.
Closes https://github.com/sourcegraph/sourcegraph/issues/32231
Notes
Querying for the namespace of an override seems to cause auth errors, at least on sourcegraph.com:
{
"errors": [
{
"message": "org not found: id 2615",
"path": [
"featureFlags",
2,
"overrides",
0,
"namespace"
]
},
To avoid this, I'm opting to not render the namespace name for now, and just show the override ID (see screenshot)
Test plan
sg run web-standalone-http-prod
See above for screenshot