Show Work Item notes description diff in Activity
What does this MR do and why?
This MR closes Work Item: View description diff (#390376 - closed)
You can see the description diff changes in work item system notes. The diff can also be deleted for security reasons.
Similar behavior which exists for issues.
The description diffs are only available in EE version
P.S : This MR has a backend dependency which is being reviewed here - Fix deletePath and diffPath for system notes de... (!119327 - merged) and to be merged separately
Screenshots or screen recordings
Before | After ( within 10 minutes of changing) |
---|---|
Screen_Recording_2023-05-10_at_10.29.16_AM | Screen_Recording_2023-05-10_at_10.25.06_AM |
How to set up and validate locally
- Enable the flags
Feature.enable(:okrs_mvc) Feature.enable(:work_items_mvc)
- Open a task (If you don't have an existing task, open an issue and create a task via the "Add" menu in the Tasks widget)
- You can also create a new objective and test the changes there
- Change its description by clicking on the edit button twice / thrice
- See that any changes within a 10 mins time difference apart are collapsed in one item
- Now expand and see the diff between the 10 min time gap , the start version is correct
- Now delete the diff - see to it that it is deleted
- You should not be able to see the deleted diff
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #390376 (closed)
Edited by Deepika Guliani