Labels widget architecture consolidation
Follow up from !71791 (merged).
- Add
workspaceTypeprop and remove use offullPathin favor ofattrWorkspacePathto simplify mutation variables for labels widget - Fetch selected labels at the widget level instead of passing them as a prop.
- Move
updateLabelsmutation 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
addLabelIdsandremoveLabelIdswithlabelIdsto simplify the mutation.
Edited by Florie Guibert