diff --git a/app/packages/operators/src/built-in-operators.ts b/app/packages/operators/src/built-in-operators.ts index 205115b5c3..674ade93e1 100644 --- a/app/packages/operators/src/built-in-operators.ts +++ b/app/packages/operators/src/built-in-operators.ts @@ -325,7 +325,6 @@ class OpenDataset extends Operator { return new OperatorConfig({ name: "open_dataset", label: "Open Dataset", - unlisted: true, }); } async resolveInput(): Promise { @@ -781,7 +780,11 @@ class ClearSelectedLabels extends Operator { class SetSpaces extends Operator { get config(): OperatorConfig { - return new OperatorConfig({ name: "set_spaces", label: "Set spaces" }); + return new OperatorConfig({ + name: "set_spaces", + label: "Set spaces", + unlisted: true, + }); } useHooks() { const setSessionSpacesState = useSetRecoilState(fos.sessionSpaces); @@ -799,10 +802,6 @@ class SetSpaces extends Operator { } } -function usePanelStateForContext(ctx: ExecutionContext) { - return usePanelState(ctx.getCurrentPanelId()); -} - class ClearPanelState extends Operator { get config(): OperatorConfig { return new OperatorConfig({ diff --git a/fiftyone/operators/builtin.py b/fiftyone/operators/builtin.py index 7f7ac09548..a2ebf26cb5 100644 --- a/fiftyone/operators/builtin.py +++ b/fiftyone/operators/builtin.py @@ -434,9 +434,7 @@ class LoadWorkspace(foo.Operator): @property def config(self): return foo.OperatorConfig( - name="load_workspace", - label="Load Workspace", - unlisted=True, + name="load_workspace", label="Load Workspace" ) def resolve_input(self, ctx): @@ -454,9 +452,7 @@ class SaveWorkspace(foo.Operator): @property def config(self): return foo.OperatorConfig( - name="save_workspace", - label="Save Workspace", - unlisted=True, + name="save_workspace", label="Save Workspace" ) def resolve_input(self, ctx): @@ -496,9 +492,7 @@ class DeleteWorkspace(foo.Operator): @property def config(self): return foo.OperatorConfig( - name="delete_workspace", - label="Delete Workspace", - unlisted=True, + name="delete_workspace", label="Delete Workspace" ) def resolve_input(self, ctx):