Skip to content

Fix minor UX issues with "group by" within Iteration Report

What does this MR do?

This MR fixes some minor UX issues with "group by" labels within the iteration report, as described in #299238 (closed).

It:

  • Replaces the loading icon with skeleton loaders to decrease the amount of height shifting

It also fixes some issues with the label dropdown component, thereby fixing issues on the iteration report page as well as in the issues sidebar:

  • Stops the page from jumping when the user goes through the labels dropdown list using the arrow keys
  • Fixes the label dropdown item text color to be black
  • Wraps the label name when long
  • Stops the checkmark and color block from being squashed when the label name is long
  • Adds a bit of extra space between the color block and label name
  • Vertically centers the checkmark, color block, and label name for the case where the label name wraps to multiple lines
  • Shows the label dropdown above the dropdown button if there's not enough space below for it to fit

Screenshots (strongly suggested)

Screen_Recording_2021-04-15_at_7.09.18_pm

Screenshot_2021-04-19_Iterations___H5bp.png

Sidebar variant Standalone variant Embedded variant
Screenshot_2021-04-19_at_4.43.57_pm Screenshot_2021-04-19_at_4.43.16_pm Screenshot_2021-04-19_at_4.42.31_pm
Screenshot_2021-04-19_at_4.44.10_pm Screenshot_2021-04-19_at_4.43.25_pm Screenshot_2021-04-19_at_4.42.52_pm

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #299238 (closed)

Edited by Coung Ngo

Merge request reports