PostHog/posthog

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

Closed

#5,187 opened on Jul 17, 2021

 (19 comments) (0 reactions) (1 assignee)Python (988 forks)batch import
enhancementfeature/feature-flagsgood first issueteam/feature-flags

Repository metrics

Stars
 (16,704 stars)
PR merge metrics
 (Avg merge 17h 29m) (995 merged PRs in 30d)

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