Content
View differences
Updated by Parimal Satyal over 1 year ago
**As** a project member
**I want to** know when a previously published comment has been edited
**so that** I can be assured that such edits are displayed and that the integrity of unedited comments does not need to be questioned
**Context**
Split from ##39174. The 6 user votes for that feature were moved to this one.
**Acceptance criteria**
* Comments can be edited without any sign of the edit before whichever of these happens first:
* within the first 2 minutes or
* before any other activity is registered (another comment, emoji reaction, changes)
* For comments that are edited after that initial window, there is an indication of that edit at the bottom of the comment:
* Text with a corresponding icon: "Edited by {user} on {date} {time}"
* Context: The username is important since it's possible in OpenProject for certain roles to have moderation rights and thus the ability to edit other users' comment"
* If a comment is edited to remove all content, the text is changed to:
* "Removed by {user} on {date} {time}"
* Edits do not change the order of the comments; they remain in the order of publication.
* \[open\] Should edits be disallowed after a certain time window (eg. an hour)?
* ~~\[open\] \[open\] Do we show a diff of the modifications? This could be done with a simple "View difference" link at the end of the edit note.~~ note.
**Technical notes**
* _tbd_
**Permissions and Visibility considerations**
* Any user able to see a comment should also see the edit note
* For restricted visibility comments, only those who have the permission to view the comments will be able to see the notes concerning any subsequent edits (##31163)
**Out of scope**
* Deleting past comments
**I want to** know when a previously published comment has been edited
**so that** I can be assured that such edits are displayed and that the integrity of unedited comments does not need to be questioned
**Context**
Split from ##39174. The 6 user votes for that feature were moved to this one.
**Acceptance criteria**
* Comments can be edited without any sign of the edit before whichever of these happens first:
* within the first 2 minutes or
* before any other activity is registered (another comment, emoji reaction, changes)
* For comments that are edited after that initial window, there is an indication of that edit at the bottom of the comment:
* Text with a corresponding icon: "Edited by {user} on {date} {time}"
* Context: The username is important since it's possible in OpenProject for certain roles to have moderation rights and thus the ability to edit other users' comment"
* If a comment is edited to remove all content, the text is changed to:
* "Removed by {user} on {date} {time}"
* Edits do not change the order of the comments; they remain in the order of publication.
* \[open\] Should edits be disallowed after a certain time window (eg. an hour)?
* ~~\[open\]
**Technical notes**
* _tbd_
**Permissions and Visibility considerations**
* Any user able to see a comment should also see the edit note
* For restricted visibility comments, only those who have the permission to view the comments will be able to see the notes concerning any subsequent edits (##31163)
**Out of scope**
* Deleting past comments