Unreadable directory names in merge request file browser
Summary
When a merge request is shown for changes in nested directories with the file browser in list view the directories are unreadable as they are partially or completely replaced by ellipsis. When hovering over the collapsed name nothing happens so you cannot see where the file is in the directory structure.
Steps to reproduce
- In a repository create a branch with a file structure with a fairly long name or fair amount of nesting. For example a file "MergeRequestIssueDemoProject.ProjectionManager.Host/MergeRequestIssueDemoProject.ProjectionManager.Host.csproj" would trigger this behaviour.
- Create a merge request for this branch to another branch
- Open the merge request and set the file browser to list view
Example Project
See this merge request for a demonstration of the issue: bzuurendonk/merge-request-issue-demo-project!1
What is the current bug behavior?
The directory names are collapsed/shortened in the file browser. For example the directory in the reproduction steps would be shortened to ".../...".
What is the expected correct behavior?
Either do not shorten the names and add a horizontal scroll bar or add a popup on hovering that shows the original content before shortening. Similar to what happens if you hover over a shortened filename.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com