# Merge duplicate ideas

Merge a duplicate idea into the one it repeats in three clicks: its votes, followers and comments move over. See what cannot be merged, and undo a merge.

When two ideas ask for the same thing, merge one into the other. The idea you keep is the **main idea**: the other one's votes, followers and comments move to it, and nobody is counted twice. You can undo a merge at any time.

Admins and owners merge ideas. Merging is included in every plan.

## Merge an idea

From the duplicate's page in the dashboard, it takes three clicks:

1. In the **Actions** card, click **Merge into another idea**.
2. In the dialog, pick the main idea. **Similar ideas** suggests up to five; to find another, type in **Main idea** (**Search ideas by title**). Each idea shows its status, its votes and when it was created.
3. Click **Merge**.

The toast says **Idea merged**, and you land on the main idea, which says **"{title}" was merged into this idea.** On the roadmap, **Mark as duplicate...** in a card's right-click menu opens the same dialog.

The oldest idea is usually the one to keep. If the idea you pick is newer than the one you are merging, the dialog says so and offers **Keep "{title}" as the main idea**, which merges the other way round.

**Similar ideas** never suggests Closed or Unlikely to Build ideas: to merge into one of those, search for it by title.

## What moves, and what the duplicate becomes

- **Votes** move to the main idea, each person counted once: someone who voted for both ideas has one vote on the main idea.
- **Followers** and **comments**, with their replies, move too.
- The duplicate gets the status **Duplicate**. It leaves the **Ideas** list, the roadmap, the public board and the widget, and takes no new votes, followers or comments.
- Its page in the dashboard opens the main idea, and so does its public page when both ideas are public.

Merging emails nobody.

## What cannot be merged

- Ideas waiting for review or rejected: approve the idea in [Moderation](https://docs.feedzzie.com/manage/moderation/) first. The main idea must be approved too.
- Ideas of two different projects.
- An idea linked to an [announcement](https://docs.feedzzie.com/manage/changelog/). It can still be the main idea.
- An idea that other ideas are merged into: undo those merges first. The same holds for deleting it.
- Into an idea that is itself merged into another one: merge into its main idea instead.

## Undo a merge

The main idea's page has a **Merged idea** card (**Merged ideas** when there are several), with who merged each one and when.

1. Click **Undo merge** next to the idea.
2. Confirm in **Undo this merge?** with **Undo merge**.

The toast says **Merge undone**. The idea is separate again, with the status it had, and the votes, followers and comments that came from it go back to it. A vote removed from the main idea in the meantime stays removed, and votes cast on the main idea since the merge stay there.

There is no time limit to undo. The idea counts again against your plan's active ideas when it goes back to an active status: when the plan is full, the undo fails and the idea stays merged.

## Merge with the API

An admin key merges with `PATCH /api/v1/ideas/{id}` and `{"merged_into": "<main idea id>"}`, and undoes with `{"merged_into": null}`. The [API reference](https://docs.feedzzie.com/api/reference/) has the details.

## Similar ideas while you post

When a team member creates an idea in the dashboard, **Similar ideas found** lists close matches as they type the title, each with **View**. **My idea is different, continue** hides the list. The widget and the public board do not show these suggestions.

## Check that it works

1. Open the newer of two ideas that ask for the same thing, and note the votes of both.
2. Click **Merge into another idea**, pick the older idea and click **Merge**. The older idea says the other one was merged into it, and its votes are the sum of both minus the people who had voted for both.
3. In the **Merged idea** card, click **Undo merge** and confirm. Both ideas have their votes back.
