Skip to content

Truncate long value stream analytics names in the stage list

What does this MR do?

As part of #35823 (closed) this MR ensures we truncate long stage names.

This closes #207054 (closed)

  • Adds .text-truncate utility
  • Adds tooltip for stages with truncated text

Testing

You will need to enable the :customizable_cycle_analytics feature flag

  1. Navigate to http://localhost:3001/-/analytics/value_stream_analytics
  2. Select a group
  3. Click the Add a stage button
  4. Create a stage with a really long stage name
  5. After the table refreshes the stage should appear in the list, truncated and with a tooltip

Screenshots

Before After
Screen_Shot_2020-02-26_at_6.52.02_pm Screen_Shot_2020-02-26_at_6.55.27_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

Closes #207054 (closed)

Edited by Ezekiel Kigbo

Merge request reports

Loading