Merge Request File Browser: File tool-tip shows path with ellipsis

Summary

The tree based file browser in a Merge Request, where you see all the Changes made as part of the MR, shortens path names if they are bigger than the screen size with ellipsis. There is also a tool-tip when hovering over a file or folder, but it not useful as it matches to what is already visible. The tool-tip should always show the full path so that in case ellipsis are used, there is an easy way to see the full path of the file/folder.

tooltip_full_name

Steps to reproduce

Create a Merge Request which modifies a file nested in a deep folder structure. This happens very often e.g. in Java projects, where you have such long names. For example something like: com.mycompany.myorg.myproject.db.migration/src/main/java/ch/mycompany/myorg/myproject/db/migration/create/CreateTableMyTableForGitlabMR.java

What is the current bug behavior?

You have no indication in which folder a modified file is located. Yo also have no idea what folder you are looking at because of the ellipsis

What is the expected correct behavior?

  • Do not use multiple ellipsis
  • Do show the full path in the tool-tip, do not make use of ellipsis in the tool-tip