Skip to content

Fix superfluous space in titles on merge train page

What does this MR do and why?

This removes the superfluous trailing space from MR titles on the new merge train page.

Screenshots or screen recordings

What Before After
List entry image image
Car removal modal image image

How to set up and validate locally

  1. Go to a project
  2. Enable the merge_train_viz feature flag in the project (e.g. Feature.enable(:merge_train_viz, Project.find(id)) where id is your project ID) until !160262 (merged) is merged
  3. Enable merge trains
  4. Enable merged results pipelines: https://docs.gitlab.com/ee/ci/pipelines/merge_request_pipelines.html#prerequisites
  5. Create a long-running job (e.g. by adding a sleep 60 command) that runs in merge trains, so you have enough time to test
  6. Create an MR
  7. Start a merge train
  8. Go to the merge train page
  9. See that there is no longer a trailing space in the link
  10. Click on the X icon
  11. See that there is no longer a trailing space in the MR title <code> block
Edited by Kev Kloss

Merge request reports