Skip to content

Consolidate labels widget architecture

What does this MR do and why?

  • Update issuable labels from within widget instead of doing it from the parent. Mutation is simplified using labelIds instead of addLabelIds.
  • Make attrWorkspacePath and labelType props required to simplify mutation variable to create a label.
  • Remove unnecessary selectedLabels prop from labels_select_root as issuable labels are already fetched within the widget.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #342970 (closed)

Edited by Florie Guibert

Merge request reports

Loading