Skip to content

feat(ui): Add org feature flag controls (frontend only)#119798

Open
scttcper wants to merge 2 commits into
masterfrom
scttcper/org-feature-flags
Open

feat(ui): Add org feature flag controls (frontend only)#119798
scttcper wants to merge 2 commits into
masterfrom
scttcper/org-feature-flags

Conversation

@scttcper

Copy link
Copy Markdown
Member

adds a staff-only Cmd+K admin for toggling organization feature flags and adding local overrides, including flags that do not exist yet.

Updates the active organization immediately so feature-gated UI rerenders without a full page reload. Uses the same persisted overrides as the Sentry toolbar.

Staff can now toggle organization feature flags from Cmd+K and add local overrides for flags that don't exist yet. Updates the organization store immediately so feature-gated UI rerenders without a reload.

Uses the same persisted overrides as the Sentry toolbar.

Co-Authored-By: Codex <noreply@openai.com>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 16, 2026
Disabling a flag updated OrganizationStore but Cmd+K could reopen with its previous enabled result. Track local overrides in the command and derive the effective flag state from those overrides immediately.

Updates the test to use the real Cmd+K modal close and reopen flow.

Co-Authored-By: Codex <noreply@openai.com>
@scttcper scttcper marked this pull request as ready for review July 16, 2026 17:47
@scttcper scttcper requested a review from a team as a code owner July 16, 2026 17:47
@scttcper scttcper changed the title feat(command-palette): Add org feature flag controls feat(ui): Add org feature flag controls (frontend only) Jul 16, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 203673a. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants