diff --git a/apps/desktop/src/app/shell/gateway-menu-panel.tsx b/apps/desktop/src/app/shell/gateway-menu-panel.tsx index 8e1516b7bd..ff61fe6c26 100644 --- a/apps/desktop/src/app/shell/gateway-menu-panel.tsx +++ b/apps/desktop/src/app/shell/gateway-menu-panel.tsx @@ -6,7 +6,7 @@ import { LogView } from '@/components/ui/log-view' import { Tip } from '@/components/ui/tooltip' import { getLogs } from '@/hermes' import { useI18n } from '@/i18n' -import { LayoutDashboard, RefreshCw } from '@/lib/icons' +import { LayoutDashboard, Power, RefreshCw } from '@/lib/icons' import type { RuntimeReadinessResult } from '@/lib/runtime-readiness' import { cn } from '@/lib/utils' import { reconnectGateway } from '@/store/gateway-reconnect' @@ -185,17 +185,6 @@ export function GatewayMenuPanel({ )} - - - + {/* Restart is the heavy, disruptive action: keep it visually distinct + (power icon, destructive hover) and separated from the benign + reconnect/system buttons so it can't be hit by mistake. */} + + + + diff --git a/apps/desktop/src/lib/icons.ts b/apps/desktop/src/lib/icons.ts index 943dd1870a..54cac8d185 100644 --- a/apps/desktop/src/lib/icons.ts +++ b/apps/desktop/src/lib/icons.ts @@ -94,6 +94,7 @@ import { IconPin as Pin, IconPlayerPlay as Play, IconPlus as Plus, + IconPower as Power, IconRefresh as RefreshCw, IconRefresh as RefreshCwIcon, IconDeviceFloppy as Save, @@ -222,6 +223,7 @@ export { Pin, Play, Plus, + Power, RefreshCw, RefreshCwIcon, Save,