Skip to content

Conflict resolution for collaborative editing. #45

Open
@Aryaman1706

Description

@Aryaman1706

Is your feature request related to a problem? Please describe.

  • In the current implementation, the message received via socket connection is set as a value for the editor as well. There is no conflict resolution strategy.
  • For example:-
    If one user types "foo" in front of "bar" and the other types "baz" after "bar" at the same time, you will notice inconsistencies.
    To handle this we need some kind of conflict resolution strategy.
  • Demo Link

Describe the solution you'd like

Motivation

  • Resolving conflicts in the editor to maintain consistency for all the participants of a room.

Are you willing to contribute to this issue?

  • Yes

Describe alternatives you've considered

  • These are the only conflict resolution algorithms I know of. Personally, I cant see an alternative.

Additional context

  • I would like to work on this issue. I have implemented Operational Transformation previously.
  • Can you please assign this issue to me?
  • This is a major change and I would suggest discussing it beforehand.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions