Skip to content

Add edit in description and title in work items

Deepika Guliani requested to merge dg-429138-add-editable-title into master

What does this MR do and why?

This MR adds edit icon for title and description behind the FF ( :work_items_mvc_2 ). Closes Work items: Add edit button to title and descri... (#429138 - closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before ( without the FF on ) After ( with the FF on )
WI_title_and_description_with_FF_off WI_title_and_description_with_FF_on

Screenshots with FF on

Without parent ancestors With parent ancestors
Edit mode large screen large screen without parent edit mode.png large screen with parent edit mode.png
Read mode large screen large screen without parent read mode.png lareg screen with parent read mode.png
Edit mode small screen small screen without parent edit mode.png small screen with parent edit mode.png
Read mode small screen small screen without parent read mode.png small screen with parent read mode.png

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. In rails console enable the FF

    Feature.enable(:work_items_mvc_2)
  2. See that you can edit the title and description of any work item by clicking the edit button and there is no inline editing

  3. Disable the flag and make sure that there are no changes in the work

MR acceptance checklist

  • Should work on small screens as well
  • No changes / regressions with FF off
  • title and updated both change with same CTA
  • Error scenarios are handled well
Edited by Deepika Guliani

Merge request reports

Loading