Fix project name truncation in dependency project count dropdown
What does this MR do and why?
Fix project name truncation in dependency project count dropdown
The truncation for long project names is now working in the project count dropdown on the group-level dependency list.
Related #467688 (closed)
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
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Create a new group
- Import https://gitlab.com/lorenzvanherwaarden/security-reports-with-few-dependencies/ project in this new group (make sure the project name is quite long so it will show the truncation later on)
-
- Import https://gitlab.com/gitlab-examples/security/security-reports project in this new group
- Run a pipeline on both projects
- Go to
http://gdk.test:3000/groups/<your-group-name>/-/dependencies
- Click on any "x projects" in the Project column and validate that the 1st project's name is truncated
Edited by Lorenz van Herwaarden