Rolling out feature flag environment by environment is tricky
Problem to solve
As a developer, I want to graduate a feature between environments gradually, so I can test it out on staging
(smoketest) before it hits production
(my end users)
The existing feature flag UI gives me a toggle for each environment: | With environments and their on/off status in the list overview: |
---|---|
![]() |
![]() |
For the new feature flags the solution is to only add the environment that should be on; where I as a user want to explicitly turn feature flags off for a specific environment.
Intended users
User experience goal
The user should have a clear visual indication that a feature is off for a targeted environment
Proposal
Browser mockup |
---|
![]() |
Copy in the mockup may be out of date, please use copy below |
Copy:
Enable features for specific users and environments by configuring feature flag strategies.
Select strategy activation method.
- Link to specific documentation on strategies including their additive nature
Select the environment scope for this feature flag.
- Link to specific documentation on environment scoping including their additive nature and a reference to
all environments
if none are selected
Further details
In the Customer Portal our feature flags are on for all environments *(All environments)
and explicitly off for customers-production
until we're ready to have the feature go live. We do this so that the feature is on for staging and local development, so that work from the team can surface any issues we have with the feature while it's in development.