Skip to content

Feature flag / switch system #54

Description

@SanAlexis

Summary

Introduce a lightweight feature flag mechanism to safely ship and roll back new features without a redeployment.

Scope

  • Define a central FEATURE_FLAGS map (e.g. environment-driven or config-file-driven)
  • Each flag is a named boolean: on | off
  • Provide a isEnabled(flag) helper usable in both server actions and React components
  • Flags are user-agnostic — they gate code paths globally, not per user
  • Document the convention for wrapping new features behind a flag at PR time

Acceptance criteria

  • A feature can be disabled instantly by flipping a flag, with no code change required
  • The flag system is decoupled from the user tier / access gating logic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions