Skip to content

GitLab Next

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 39,511
    • Issues 39,511
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 1,222
    • Merge requests 1,222
  • Requirements
    • Requirements
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Snippets
    • Snippets
  • 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@kushalpandya🌴Maintainer

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
Time tracking