Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab
GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 23,561
    • Issues 23,561
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 820
    • Merge Requests 820
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • Container Registry
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #23204

Closed
Open
Opened Jul 10, 2018 by Chris Peressini@cperessini
  • Report abuse
  • New issue
Report abuse New issue

Frontend for showing × on hover on label to remove the label in sidebar

We add a chip with an x icon (icn/close) that can be clicked to delete the label. The chip will change its style and show a background on hover and active states.

The shape of the chip will be a 16px x 16px circle. The icon inside should be 8px x 8px. The margin with the label name is 2px and the padding on the right side of the chip is 4px. Spec previous will be uploaded with all these measurements.

The target area of the chip will be a 16px x 16px square indepndently of its shape.

We currently underline the label's name when hovering. This underline should be removed when hovering over the chip.

States Sidebar

The colors of the badge are based on the label name color:

Resting Hover Active
Icon Color: same as text, Opacity: 100% Color: same as text, Opacity: 100% Color: same as label, Opacity: 100%
Icon Background Color: none, Opacity: 0% Color: same as text, Opacity: 30% Color: same as text, Opacity: 100%

In scope

  • This should apply to issue, merge request, and epic pages.
  • This should apply to the slide out board sidebar for project boards and group boards.
Edited Sep 12, 2019 by Winnie Hellmann

Related issues

  • Discussion
  • Designs
Assignee
Assign to
Backlog
Milestone
Backlog
Assign milestone
Time tracking
None
Due date
None
10
Labels
Accepting merge requests Plan [DEPRECATED] UX ready [DEPRECATED] depth devops::plan feature frontend group::project management labels workflow::planning breakdown
Assign labels
  • View project labels
Reference: gitlab-org/gitlab#23204