Skip to content

💥Offline update doc conflict #239

Closed

Description

@AntoLC

Problem

2 users are editing the same doc, 1 is offline, when the offline user get the connection back , he can override the work of the first user.

Solution ?

Add at least a warning to say that the update is overriding the document. Warning could be on the version ?

Could be nice to have a modal proposing the 2 choices:

  • Override - as it is now, we override the existing doc
  • Or Rebase - we pull the updated doc and merge it with offline updated Doc (see y.js)

Activity

  1. moved this from Backlog to To do in Docs - La Suite Deploiementon Nov 8, 2024
  2. self-assigned this
    on Nov 19, 2024
  3. YousefED commented on Nov 19, 2024

    @YousefED
    Collaborator

    fyi, I'm adding myself to issues that are directly BlockNote related or where we might be able to help out - so that I have a bit of an overview in the project board

    In this case, @AntoLC should be in the lead but we can help out on request if necessary :)

    cc @virgile-dev

  4. moved this from In Progress to Backlog in Docs - La Suite Deploiementon Nov 21, 2024
  5. moved this to Backlog in LaSuite Docson Jan 31, 2025
  6. linked a pull request that will close this issueSwitch to yhub as a collab backend #2556on Oct 1, 2026
  7. AntoLC commented on Oct 1, 2026

    @AntoLC
    MemberAuthor

    We are now using y-indexeddb to store and synchronize local changes.
    When synchronized the changes are merged instead of replaced as it was before.
    See: d3e9bf7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions