PostHog / PostHog/posthog

Copy Question in Survey

Open
#40,441 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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?

Sometimes the user wants to copy a question in a survey to reuse throughout

Describe the solution you'd like

Add a copy button when hovering over each question. When clicked, a duplicate question will appear and open below the existing one

Describe alternatives you've considered

The best current alternative is to manually copy the contents of one question to a new one

Additional context

I want to ask the same set of questions about multiple features to our app users: "how would you feel if X feature was added?" with 5 multiple choice answers. It is INCREDIBLY tedious to do this for all 7 features.

Debug info
- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]

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.

Research direction

No files, tests, or entry points are named in the issue. Start by locating the survey question editor and trace how questions are rendered and added; done means each question has a hover copy button that creates and opens a duplicate directly below it.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.