PostHog / PostHog/posthog

Alert me on refresh so that I don’t lose all of my progress when refreshing the page (survey editors)

Open
#22,286 5 comments 0 reactions 1 assignee View on GitHub

@dmarticus is already working on this.

Since May 20, 2024.

enhancement feature/surveys
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
7h 27m
Merged PRs (30d)
222

Description

Feature request

Is your feature request related to a problem?

Right now, refreshing the survey editor form kills all of your progress. This is distressing for users who've spent a good chunk of time working on it (e.g. editing survey rules). We should have some sort of alert that prevents/warns users from refreshing the page so they're aware that doing so nukes their progress.

Describe the solution you'd like

@jurajmajerik mentioned some other parts of the product have an existing UX for this, so I would propose just piggybacking on that.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.