Skip to content
Snippets Groups Projects

Limit autocomplete to currently selected items

What does this MR do?

When using the /unlabel command the autocomplete list of labels is nowlimited to the list of labels currently assigned to the issue.

Are there points in the code the reviewer needs to double check?

File: app/models/label.rb

Scope name "label_links" is right ?

Why was this MR needed?

It's better for user experience.

Screenshots (if relevant)

Et_rerum_voluptatum_earum_quam_aliquam_ratione.___2____Issues___Gitlab_Org___Gitlab_Test___GitLabEt_rerum_voluptatum_earum_quam_aliquam_ratione.___2____Issues___Gitlab_Org___Gitlab_Test___GitLab2

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #22680 (moved)

Merge request reports

Pipeline #5005285 passed

Pipeline passed on akramfares:22680-unlabel-limit-autocomplete-to-selected-items

Merged by avatar (Apr 16, 2025 10:39am UTC)

Loading

Pipeline #5011780 passed with warnings

Pipeline passed with warnings for 0a3cafb2 on master

Test coverage 89.75% from 0 jobs

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Thanks @akramfares, I had a couple of notes!

  • username-removed-128633 Added ~164274 ~584040 labels

    Added ~164274 ~584040 labels

  • Added 516 commits:

    Compare with previous version

  • username-removed-645669 Resolved all discussions

    Resolved all discussions

  • Milestone changed to %8.14

  • Added 372 commits:

    Compare with previous version

  • username-removed-645669 Resolved all discussions

    Resolved all discussions

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading