PostHog/posthog

Add pageleave warning to Feature Flags edit page if changes are not committed

Open

#5187 opened on Jul 17, 2021

View on GitHub
 (19 comments) (0 reactions) (1 assignee)Python (16,704 stars) (988 forks)batch import
enhancementfeature/feature-flagsgood first issueteam/feature-flags

Description

Is your feature request related to a problem?

It is way too easy to navigate away from the Feature Flags edit page without pressing "Save", losing all changes. I have done it probably a dozen times.

Describe the solution you'd like

Longer term, any changes to filter criteria should auto-save. But because this will probably require extra testing and implementation time, for now a browser message like "Are you sure? Changes may not be saved" would suffice.

Describe alternatives you've considered

Additional context

Thank you for your feature request – we love each and every one!

Contributor guide