Labels widget architecture consolidation

Follow up from !71791 (merged).

  • Add workspaceType prop and remove use of fullPath in favor of attrWorkspacePath 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 and removeLabelIds with labelIds to simplify the mutation.
Edited by Florie Guibert