Skip to content

Conversation

@gustavohstrassburger
Copy link
Contributor

Problem

When clicking to edit a feature flag and then navigating to another page, when navigating again to the original flag, it would still be in editing mode.

Changes

This fix resets the editing state in the urlToAction handler when navigating via PUSH (clicking links), ensuring each flag starts with isEditingFlag=false unless explicitly set to edit mode.

chrome-capture-2025-10-31

How did you test this code?

Manual

When clicking to edit a feature flag and then navigating to another flag,
the editing state was persisting, causing the new flag to incorrectly
open in editing mode.

This fix resets the editing state in the urlToAction handler when
navigating via PUSH (clicking links), ensuring each flag starts with
isEditingFlag=false unless explicitly set to edit mode.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

1 file reviewed, no comments

Edit Code Review Agent Settings | Greptile

@github-actions
Copy link
Contributor

github-actions bot commented Oct 31, 2025

Size Change: 0 B

Total Size: 3.34 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 3.34 MB

compressed-size-action

Copy link
Contributor

@haacked haacked left a comment

Choose a reason for hiding this comment

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

🚢

@github-project-automation github-project-automation bot moved this from In Review to Approved in Feature Flags Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants