Skip to content

Fix design inconsistencies in work items child/linked widget item metadata

Nick Brandt requested to merge nb-fix-link-child-inconsistencies into master

What does this MR do and why?

This MR addresses some design inconsistencies in the Child/Linked widgets item metadata, notably:

  • Makes all metadata items (icon & text) gray-500
  • Removes some of the metadata specific styles, and instead applies them to the wrapper (gl-text-sm , gl-text-secondary)
  • Adjusts the gap between metadata items to 8px
  • Aligns all metadata items to use flex for icon/count, where some were using margin instead
  • Removes some extra undesired spacing (weight metadata had an unnecessary min-width)

Note: there are some additional known spacing/alignment issues that are already being addressed separately

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Example Before After
Work Item Widgets Screenshot_2024-09-03_at_6.28.13_PM Screenshot_2024-09-03_at_6.11.42_PM
Legacy Widgets Screenshot_2024-09-03_at_6.28.26_PM Screenshot_2024-09-03_at_6.11.56_PM

How to set up and validate locally

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

Edited by Nick Brandt

Merge request reports

Loading