text icon indicating copy to clipboard operation
text copied to clipboard

Suggest changes inline

Open codedust opened this issue 2 years ago • 6 comments

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

codedust avatar Sep 16 '23 20:09 codedust

I desperately need this implementation <3

claudiorrrr avatar Sep 22 '23 04:09 claudiorrrr

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

alexispurslane avatar Oct 16 '23 12:10 alexispurslane

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 avatar Oct 31 '23 17:10 juliusknorr

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 avatar Nov 02 '23 08:11 juliusknorr

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

  • [ ] Find a way to upstream required changes
  • [ ] Figure out a way to rather extend insert/delete marks
  • [ ] Discuss UX with design team

juliusknorr avatar Nov 02 '23 08:11 juliusknorr

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. ❤️

codedust avatar Oct 09 '24 22:10 codedust