Skip to content

only show Sourcegraph icon, no text, in "View file" buttons

Warren Gifford requested to merge smaller-icon into master

Created by: sqs

The browser extension's buttons on file and diff headers on code hosts currently read "View file" and "View file diff". These take up a lot of width (which creates jitter and sometimes means that the buttons can require more than 1 line, which causes even more UI jitter).

It is almost certainly clear enough to users that the buttons mean "View this thing on Sourcegraph". The buttons have tooltips that describe what they do, so users are unlikely to be confused.

After

image

image


Before

image

image

Merge request reports

Loading