Skip to content

Update extension action items on GitLab

Created by: AlicjaSuska

Part of the tracking issue #16165, RFC 250

Description

Updates for GitLab:

  • display extension action items in the header, remove the labels
  • add tooltips to action items, follow GitLab styles. Content of the tooltips should be the same as on Sourcegraph
  • add static info to the file header, next to the information provided by GitHub
  • add tooltips to the static info items that require it
  • implement the behavior of dropping items to the next row for many action items/static info items. On very small screens this point will probably require more work and the current implementation is cutting off some of the native GitLab buttons.
  • for diffs, keep action items and static info items displayed per file

Fixes on GitLab connected to this issue:

  • increase the spacing between the button with the Sourcegraph logo and the native GitLab 'Edit' button to match the spacing between other buttons (see in Figma)
  • update Sourcegraph logo on the button - currently used logo has incorrect colors (download our logo here)
  • center Sourcegraph logo in the button - currently it is misaligned

Design details

Important note: for static action items that have no data, display the 'no data' label analogically to what's in the bottom bar on Sourcegraph.