[Bug] DUPLICATION OF ITEMS SYNCS THEM

Open
#9,121 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
dart, flutter
Domain
database

Research direction

Start by tracing the board-inline Duplicate action and how it copies the board's underlying data. Reproduce the issue by duplicating a board-inline and editing either copy; identify where both copies retain shared data. Done means each duplicate keeps the current contents but subsequent changes remain independent.

Written by the indexing model from the issue text.

Description

Bug Description

When I duplicate a board-inline and duplicate it instead of just making an exact copy of it the duplicate feature syncs them too.

https://github.com/user-attachments/assets/f4e03dcc-c7ae-4e39-ab15-34ff041a6cdcis

How to Reproduce
  1. Open AppFlowy and navigate to a page containing an inline board (board-inline).
  2. Right-click or select the board-inline item and click Duplicate.
  3. Observe that modifying the original or the duplicated board-inline item unexpectedly syncs changes between them instead of acting as an independent copy.
Expected Behavior

Duplicating a board-inline item should create an independent, standalone copy of the item at its current state. Changes made to the duplicate or the original should remain separate and not sync or overwrite each other.

Operating System

macOS Golden Gate 27.2

AppFlowy Version(s)

Version 0.15.0 (0.15.0)

Screenshots

https://github.com/user-attachments/assets/8d97057b-e54a-4503-afbe-9e39fa5550e4

Additional Context

No response

Dominant language
Dart
Stars
79.1k
Forks
6.3k
Avg merge
17h 29m
Merged PRs (30d)
1

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No 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.

More from AppFlowy-IO/AppFlowy

All issues in AppFlowy-IO/AppFlowy

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.