Add: Truncate breadcrumb link and show tooltips for search results
Created by: abeatrix
Closes https://github.com/sourcegraph/sourcegraph/issues/30593
Issue: File-path is currently not truncated so the user is unable to tell the full file path/repo name when the browser window is shrunk :
The above only applies to file match results as it is currently truncated for commits and repo results :
This PR fixes the truncate issue for file match results, and add tooltip to display the following on hover when the texts are truncated:
- full file-path for file match results
- repo name for repo match results
- commit title for commit match results
display tooltip on hover when text is truncated:
display repo name on hover when text is truncated:
display commit title on hover when text is truncated:
Test plan
All associated test files and snapshots have been updated.