Skip to content

Restructure work item header

What does this MR do and why?

Restructure work item header , mainly focusses on the proposal as mentioned here

  • Restructure the layout of the header section of work items to accommodate the scenario when there is no ancestry widget.
  • Move the "Close [work item type]" button to be within the "More" menu (to match what was done in !125173 (merged) for other objects)
  • Layout should scale for mobile/small screens (see designs)

Screenshots or screen recordings

When the work item has no parent

Large screen mobile screen
Screenshot_2023-10-30_at_3.52.29_PM Screenshot_2023-10-30_at_3.53.05_PM

When the work item has parent

Large screen mobile screen
Screenshot_2023-10-30_at_3.51.28_PM Screenshot_2023-10-30_at_3.52.11_PM

Close button moved to three dots

Screenshot_2023-10-30_at_4.18.15_PM

How to set up and validate locally

Enable the FF

Feature.enable(:work_items_mvc_2)
  1. Open any work item
  2. Create any task in an issue and open the detailed view
  3. See the proposal objectives are fulfilled in mobile view and desktop view
  4. Unassign the parent either from the parent widget or remove the task from the issue

Attached is a video for the same

Screen_Recording_2023-10-30_at_4.22.50_PM

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 #417206 (closed)

Edited by Deepika Guliani

Merge request reports