Skip to content

Show Work Item notes description diff in Activity

Deepika Guliani requested to merge 390376-work-item-view-description-diff into master

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

  1. Enable the flags
    Feature.enable(:okrs_mvc)
    Feature.enable(:work_items_mvc)
  2. 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)

Screenshot_2023-05-10_at_10.16.19_AM

  1. You can also create a new objective and test the changes there

Screenshot_2023-05-10_at_10.14.45_AM

  1. Change its description by clicking on the edit button twice / thrice
  2. See that any changes within a 10 mins time difference apart are collapsed in one item
  3. Now expand and see the diff between the 10 min time gap , the start version is correct
  4. Now delete the diff - see to it that it is deleted
  5. 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.

Related to #390376 (closed)

Edited by Deepika Guliani

Merge request reports

Loading