Managing Flags
The flag management interface is the core of the FeatureSignals dashboard.
Creating a Flag
- Navigate to Flags in the sidebar
- Click Create Flag
- Fill in the form:
- Key: Unique identifier used in code (e.g.,
enable-dark-mode) - Name: Human-readable label
- Description: Optional description
- Type:
boolean,string,number,json, orab - Default Value: Value when disabled
- Tags: Optional tags for organization
- Key: Unique identifier used in code (e.g.,
- Click Create
Flag Detail Page
The flag detail page is organized into tabs:
Overview Tab
- Flag metadata (key, name, type, description)
- Tags management
- Prerequisite flags configuration
- Mutual exclusion group editor
- Flag expiration date
Environment Tabs
Each environment (dev, staging, production) has its own tab showing:
- Enable/Disable toggle — master switch
- Targeting Rules — conditional value delivery
- Percentage Rollout — gradual rollout slider
- Variants — A/B experiment configuration (for
abtype flags) - Schedule — planned enable/disable times
Toggling Flags
Click the toggle switch in any environment tab to enable or disable a flag. This takes effect immediately and triggers:
- SSE notification to connected SDKs
- Webhook delivery to configured endpoints
- Audit log entry
Adding Targeting Rules
- Open a flag's environment tab
- Click Add Rule
- Configure:
- Conditions: Attribute comparisons
- Segment references: Link to reusable segments
- Value: What to return when matched
- Percentage: What percentage of matching users to include
- Priority: Evaluation order
- Save
Mutual Exclusion Groups
In the Overview tab, find the Mutual Exclusion Group section:
- Enter a group name (e.g.,
checkout-experiments) - Click Save
- The dashboard shows how many other flags share this group
To remove from a group, click Remove.
Kill Switch
For emergency situations:
- Open the flag detail page
- In the target environment tab, click Kill
- The flag is immediately disabled
This creates an audit entry with action flag.killed.
Flag Promotion
Copy configuration from one environment to another:
- Open the flag detail page
- Use the Promote action
- Select source and target environments
- The target environment receives the source's rules, rollout percentage, and enabled state