Demonstrates feature toggles and kill switch patterns using the Atlas feature flags module.
Demo New Table
When enabled, shows the new table design
key: demo_new_table
Demo Dangerous Action
A risky feature that can be killed
key: demo_dangerous_action
New Table Feature:
🚫 New table is disabled. Enable demo_new_table flag.
Dangerous Action Button:
Kill Switch Logic:
demo_dangerous_action: disabledkill_demo_dangerous_action: inactiveFeature flags are read from runtime config. To change flag values:
config/server.ts:
features: {
demo_new_table: true,
demo_dangerous_action: true,
kill_demo_dangerous_action: false,
}In production, flags are typically managed via environment variables or a feature flag service (LaunchDarkly, etc.).