Skip to content

feat(flags): add account-scoped frontend route guards - #326

Merged
VarshithReddy2006 merged 1 commit into
mainfrom
codex/issue-291-frontend-flags
Nov 15, 2026
Merged

VarshithReddy2006 merged 1 commit into
mainfrom
codex/issue-291-frontend-flags

Conversation

@vbtgongithub

Copy link
Copy Markdown
Collaborator

Closes #291.

Summary

  • I added a frontend client for GET /api/v1/flags and cached flag decisions per signed-in account.
  • I added a reusable FlagRoute with loading, disabled, redirect, and retry states, plus user-facing copy for standardized API errors.

Validation and limitations

Signed-off-by: VBTG <vuppubhanu18@gmail.com>
@vbtgongithub

Copy link
Copy Markdown
Collaborator Author

@VarshithReddy2006 I have implemented the changes for this issue. Please review my changes and merge this PR if everything looks good.

@VarshithReddy2006 VarshithReddy2006 added enhancement New feature or request help wanted Extra attention is needed nsoc26 level2 5 points - UI, frontend components, layouts, styling, and page-level changes. labels Nov 15, 2026

@VarshithReddy2006 VarshithReddy2006 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

LGTM! Verified account-scoped frontend route guards with useFeatureFlags and FlagRoute component with passing CI.

@VarshithReddy2006
VarshithReddy2006 merged commit 92b0109 into main Nov 15, 2026
5 checks passed
@VarshithReddy2006
VarshithReddy2006 deleted the codex/issue-291-frontend-flags branch November 15, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request help wanted Extra attention is needed level2 5 points - UI, frontend components, layouts, styling, and page-level changes. nsoc26

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(frontend,m0): implement useFeatureFlags hook, FlagRoute guard, and errorCopy UX mapping

2 participants