Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 38,034
    • Issues 38,034
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 1,347
    • Merge requests 1,347
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #259024

Closed
Open
Created Sep 30, 2020 by Kushal Pandya@kushalpandyaMaintainer

Add support for search and including project labels within Group Labels API

Summary

Currently in Group context, we use private API (eg; /-/labels.json?include_ancestor_groups=true) to fetch labels which includes all the labels in the response. This is the case for labels dropdown in sidebar for Issues, MRs and Epics.

This has also been a performance problem for a while as now we have over 1000 labels for gitlab-org group in GitLab.com. As we're migrating labels dropdown to labels_select_vue across GitLab, it would be sensible to make the dropdown use Public API and perform searching of labels an async action (we're already doing it for Epics and Milestones dropdown currently).

Currently, both Group Labels API & Project Labels API lack support for search param. Additionally, Group Labels API doesn't support including project labels (via include_project_labels param for example), so we need to update both these endpoints to have search support and Group Labels API specifically to have project labels fetching support.

Assignee
Assign to
13.6
Milestone
13.6 (Past due)
Assign milestone
Time tracking