-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Make feature flag dev tools show reality #9567
fix: Make feature flag dev tools show reality #9567
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:1 nice thx for fixing but really against reverting #9400, the developer experience was improved and the tradeoff is you keeping track of your flags.
However, if important to you, we could add a "Don't store flags" checkbox to trigger logic in the useEffect to keep LDs defaults and prevent setting flags in local storage so we really only store that noFlags
option in storage. This way we can both be happy :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM -- I'm in favor of adding a "Don't store flags" toggle as suggested by Alban to accommodate both preferences.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While we're here we might as well get rid of L16 to more accurately reflect what's actually feature flagged currently
Good idea about |
* make dev tools match real life * Added changeset: Make feature flag dev tools show reality * fix import order * clean up flags --------- Co-authored-by: Banks Nussman <[email protected]>
* make dev tools match real life * Added changeset: Make feature flag dev tools show reality * fix import order * clean up flags --------- Co-authored-by: Banks Nussman <[email protected]>
Description 📝
Preview 📷
How to test 🧪