From ebd8e0011966f297de9d7680c065e785bf26ac2d Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Mon, 3 Aug 2026 17:21:26 +0200 Subject: [PATCH] fix: scope app right-click bypass to view mode only --- .../nextjs/src/components/board/items/widget-context-menu.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/nextjs/src/components/board/items/widget-context-menu.tsx b/apps/nextjs/src/components/board/items/widget-context-menu.tsx index 6320941e7..5d889758b 100644 --- a/apps/nextjs/src/components/board/items/widget-context-menu.tsx +++ b/apps/nextjs/src/components/board/items/widget-context-menu.tsx @@ -170,7 +170,9 @@ export const WidgetContextMenu = ({ item, widgetStateRef, children }: WidgetCont if (!session) return <>{children}; if (!isRightClickEnabled) return <>{children}; - if (item.kind === "app") return <>{children}; + // App widgets are links — let the browser's native context menu (open in new tab, copy link) + // show in view mode. In edit mode keep the Homarr menu so items can still be edited/removed. + if (item.kind === "app" && !isEditMode) return <>{children}; const visibleWidgetActions = widgetContextActions.filter((a) => !a.hidden);