Labels widget architecture consolidation
Follow up from !71791 (merged).
- Add
workspaceType
prop and remove use offullPath
in favor ofattrWorkspacePath
to simplify mutation variables for labels widget - Fetch selected labels at the widget level instead of passing them as a prop.
- Move
updateLabels
mutation into the widget instead of updating labels at the parent level. This will deduplicate the mutation and consolidate the widget architecture. - Replace the use of
addLabelIds
andremoveLabelIds
withlabelIds
to simplify the mutation.
Edited by Florie Guibert