Skip to content

"track changes" feature: show deleted text #5341

@milahu

Description

@milahu

"track changes" feature

  • show a character-based "diff view" of the document. deletions are red, inserts are green
  • allow to accept or reject changes, so the deletions are finally removed, and the inserts lose the green color

useful to

  • moderate changes from untrusted sources
  • improve end-user involvement by in-place editing of documents

example

context-before this-text-was-deletedthis-text-was-inserted context-after

accept this change:

context-before this-text-was-inserted context-after

note that this-text-was- is redundant, its both in deleted and inserted text.
this is desired, to visualize the human-intended change,
not the machine-interpreted change, which would produce a smaller diff

demos

challenges

visualize deletion of style. example: mix html tags with rich text

context-before <b>content-is-same</b> context-after

plugin

Might this feature be better suited to being a plugin?

"show deleted text" should be possible with the current etherpad-lite

"accept/reject changes" ...
send accept/reject events to other users.
permissions: who can accept/reject changes? who "owns" the document?
how to resolve conflicts? -> allow users to start "hostile" forks
imitate git branches and github PRs/forks? -> nonlinear history

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions