Skip to content

Fixed the layout of the work item health status widget

What does this MR do and why?

While having a look at the work items widgets I noticed a small layout issue with the health status widget, which this MR fixes 🙂

Update: I also aligned the "updating" behavior to what the weight widget does, keeping the dropdown visible but disabled until the update has been completed.

Screenshots or screen recordings

Before After
image image
image image

Recording_2023-12-14_115253

How to set up and validate locally

  1. In rails console enable flags

    Feature.enable(:work_items_mvc)
    Feature.enable(:work_items_mvc_2)
  2. Visit any task/issue work item, i.e. http://127.0.0.1:3000/groups/flightjs/-/work_items/31. If you don't have any you can go to issue page and edit URL, replace /issues/ with /work_items/

  3. Make sure the alignment of the Edit and Apply buttons are correct for the health status widget

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Marco Zille

Merge request reports

Loading