nextcloud / nextcloud/notes

Manage concurrent edits of notes part 2

Open
#1,280 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request feature: editor needs discussion
Dominant language
JavaScript
Stars
738
Forks
162
Avg merge
6h 2m
Merged PRs (30d)
35

Description

Is your feature request related to a problem? Please describe.
If a note, for example with a checklist, is changed on two devices at the same time, this always leads to a conflict.

Describe the solution you'd like
For my understanding, the merge mechanism #56 would have to look more closely at what has changed when and where in the file in order to be able to merge different changes on different devices in a meaningful way. Perhaps the document can be compared line by line and the latest version of the line is kept. If A has changed something in line 1, it is newer than line 1 of B. If B has changed line 2, it is newer than line 2 of A.

Describe alternatives you've considered
I can well imagine that it is difficult to implement such a comparison with Markdown. Perhaps a separate app would have to be created for this (simultaneous and possibly offline editing of a document).

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

The issue points to merge mechanism #56 and Markdown documents, but names no file or test. Start by reviewing #56 and the existing merge behavior; done means concurrent edits on different lines from two devices can be combined meaningfully without the described conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, markdown
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.