mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-07-26 11:49:16 +00:00
feat(meta): gate deferred Fleet tabs behind SENCHO_EXPERIMENTAL flag (#886)
Hide the Traffic / Routing, Deployments, Federation and Secrets Fleet tabs by default. They re-appear when the operator opts in by setting SENCHO_EXPERIMENTAL=true. Backend routes and database tables are unchanged; this is a UI discovery gate only. The /api/meta endpoint now returns experimental as a boolean. A new useExperimental hook reads it once per page load and feeds the four tab triggers and tab content panels in FleetView.
This commit is contained in:
@@ -77,3 +77,11 @@ SSO_DEFAULT_ROLE=viewer
|
||||
|
||||
# External base URL for OAuth callback URLs (required behind reverse proxy)
|
||||
SSO_CALLBACK_URL=
|
||||
|
||||
# Experimental UI surfaces. When unset or any value other than "true",
|
||||
# the UI hides surfaces that are kept in the repo but not yet promoted
|
||||
# to the default 1.0 build (Fleet Traffic · Routing tab, Fleet
|
||||
# Deployments / Blueprints tab, Fleet Federation tab, Fleet Secrets
|
||||
# sync tab, Fleet Actions tab). Backend routes for these surfaces stay
|
||||
# live regardless. This flag controls UI discovery only.
|
||||
SENCHO_EXPERIMENTAL=false
|
||||
|
||||
Reference in New Issue
Block a user