Skip to content

Make copy project / group ID action more apparent in GitLab

Background

From a comment in this MR

I noticed that by including the group id into a gl-button, it misaligns the group id from the group name. Another thing I noticed, while elegant, was the action of coping the group id to the clipboard is hidden until the user hovers over the group id itself. I am wondering if instead of having the group id be in a gl-button, we include a dedicated button for copying the group id next to it. So it could look something like this:

Screen_Shot_2021-09-22_at_2.57.50_PM

The gl-button variant for this is: [icon-button]-tertiary - variant:default - size:small

Proposal

Use an icon button to make the action of copying a project/group ID more apparent to the user.

Edited by Andy Volpe