nextcloud / text

📑 Collaborative document editing using Markdown
GNU Affero General Public License v3.0
552 stars 91 forks source link

Suggest changes inline #4805

Open codedust opened 1 year ago

codedust commented 1 year ago

Is your feature request related to a problem? Please describe. No, but switching from Word/Google Docs/LibreOffice/etc. is often not an option because there are no great options to collaborate asynchronously and suggest changes in Nextcloud Text. Currently, reviewing drafts asynchronously is hard because the only option to leave comments are > style quotes. E.g.

The above text needs to be written more formally.

Describe the solution you'd like The possibility of submitting proposed changes that can be accepted or rejected by others would greatly simplify or enable (asynchronous) collaboration between different team members. From my personal experience, this is a much requested feature that keeps people from switching.

Describe alternatives you've considered Alongside inline/per block comments (#185, #6478) and improved diffs (#4422), this feature provides additional possibilities for (asynchronous) collaboration.

Additional context Here are some examples of popular editors with similar features.

Google Docs

grafik

LibreOffice Text

grafik

OnlyOffice

grafik

claudiorrrr commented 1 year ago

I desperately need this implementation <3

alexispurslane commented 1 year ago

This would be a godsend, especially if anonymous guest users could add this kind of comment.

juliusknorr commented 1 year ago

While researching for #4422 I stumbled accross https://github.com/chenyuncai/tiptap-track-change-extension/blob/master/src/index.ts which seems quite promising to add change tracking during editing.

juliusknorr commented 1 year ago

Quick attempt to get this working is quite straight forward.

For making a feature out of that we'll need to clarify how the user interaction would look like and how tracking changes is handled as currently the metadata of what has changed is only within the editing session and cannot be persisted to the file itself. One approach could be to not drop the editing session data as long as there are still changes tracked.

juliusknorr commented 1 year ago

PoC branch in https://github.com/nextcloud/text/compare/feat/track-changes

codedust commented 1 month ago

Together with #6478 / #185, this would leverage nextcloud-text to be used as a lightweight drop-in replacement for Microsoft Word in many use-case. ❤️