Skip to content

Wrap artifact names

Miranda Fluharty requested to merge 378209-wrap-artifact-names into master

What does this MR do and why?

For #378209 (closed)

This MR adds wrapping to the names of artifacts in the artifacts view so that they don't extend beyond their column boundaries and overlap with other elements.

Screenshots or screen recordings

before after
Screen_Shot_2022-10-21_at_17.31.58 Screen_Shot_2022-10-21_at_17.31.06

How to set up and validate locally

reproduce the issue

  1. git checkout master
  2. echo "Feature.enable(:artifacts_management_page)" | bundle exec rails console
  3. run a pipeline that generates artifacts with long names
  4. navigate to the pipeline's project => CI/CD => Artifacts
  5. expand the job that generated the artifact with a long name, notice the artifact name overlaps other elements

verify the fix

  1. git checkout 378209-wrap-artifact-names
  2. refresh the artifacts page, expand the job again
  3. verify that the long artifact name now wraps and doesn't overlap with other elements

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 Miranda Fluharty

Merge request reports