-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
feat: feature flags added to dev mode #133
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.
I though about another way to manage page visibility, not sure it's better. As you prefer. We can merge without the changes
src/pages/settings/index.jsx
Outdated
Object.keys(visiblePages).forEach((pageUrl)=>{ | ||
visiblePages[pageUrl]=event.target.checked | ||
localSettings.update(localSettingsKeys.visiblePages[pageUrl], event.target.checked); | ||
}) |
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.
Don't care about that, the pages will just appear as they was before. Not a problem
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.
I added this so that when devmode is switched on, regardless of the previous states, both nutrition and insights will be turned on
Co-authored-by: Alexandre Fauquette <45398769+alexfauquette@users.noreply.github.com>
Screen.Recording.2022-08-08.at.9.12.49.PM.mov
Closes #131