From 468002d4c70ecb5a179debf982797c5a7a8a90db Mon Sep 17 00:00:00 2001 From: Wassim SAMAD Date: Mon, 31 Aug 2026 15:59:18 -0400 Subject: [PATCH] Add presentation.findInCatalog opt-out for the action menu's find button Panel-placed plugin kinds (e.g. pets) have no catalog entry to find; let a definition drop the Search action while keeping move/duplicate/delete. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01FB5xnSoozJZ1jXCFgbLSDG --- packages/core/src/registry/types.ts | 3 +++ .../editor/src/components/editor/floating-action-menu.tsx | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/core/src/registry/types.ts b/packages/core/src/registry/types.ts index e6a504a1a..c580a45f4 100644 --- a/packages/core/src/registry/types.ts +++ b/packages/core/src/registry/types.ts @@ -1458,6 +1458,9 @@ export type Presentation = { /** Set false when selection is edited directly through in-scene affordances * and the generic floating action menu would duplicate or conflict with them. */ actionMenu?: boolean + /** Set false to drop the "Find in catalog" action for this kind — for nodes + * that are placed through a plugin panel rather than a browsable catalog. */ + findInCatalog?: boolean } export type IconRef = diff --git a/packages/editor/src/components/editor/floating-action-menu.tsx b/packages/editor/src/components/editor/floating-action-menu.tsx index c8d518d5f..60bd1dbe9 100644 --- a/packages/editor/src/components/editor/floating-action-menu.tsx +++ b/packages/editor/src/components/editor/floating-action-menu.tsx @@ -786,7 +786,13 @@ export function FloatingActionMenu() { > {menuVisibility.actions ? (