Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !8036

Closed
Created Oct 14, 2014 by Administrator@rootOwner
  • Report abuse
Report abuse

Edit labels from issues and merge requests show page.

  • Overview 24
  • Commits 1
  • Changes 22

Created by: PaulaCara

The idea of this feature is to have the possibility of editing labels from the issues and merge requests show pages.

User Interface

The implementation consists of a modified UI for issues and merge requests show page:

  • the project's labels which aren't selected are displayed in a dropdown between Asignee and Milestone
  • the selected labels are shown underneath the issue/merge request box. They can be removed from there using the remove image which is contained in the left area of the label

Screenshot before: before-issue-page Screenshot after: after-issue-page2 Small screen: small-screen

Implementation

  • selecting a label from dropdown will add it to the issue/merge request through Javascript and the updated label's list will be shown underneath the issue/merge request box
  • in order to remove a label, a backend modification was required. The partial created for these labels contains two links: the first removes the label and the second has the basic functionality – to filter by label.

Testing

A Spinach feature was written to test the functionality for the issue, given the fact that it is similar to the merge request functionality.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/PaulaCara/edit-labels-on-show