Only show repository file tooltip when truncated

Problem to solve

When navigating the repository view, hovering a file/folder presents the user with a tooltip. The intent of this tooltip is to provide the user with the full name of the file/folder in the event it is long enough that it needs to be truncated. However, this tooltip is being shown regardless of the name being truncated and therefore providing duplicate useless information. This has led to some user confusion pointed out during a heuristic review and in feedback from users.

Proposal

Only show file/folder tooltip when the name is long enough that it is truncated.

image

Edited by Mike Nichols