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 ofaddLabelIds
. - Make
attrWorkspacePath
andlabelType
props required to simplify mutation variable to create a label. - Remove unnecessary
selectedLabels
prop fromlabels_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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #342970 (closed)
Edited by Florie Guibert