From c2bcbf85291fba7795e6ad4f83fae0bd14a746fe Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 10 Nov 2026 21:01:52 -0800 Subject: [PATCH] fix(cloud): status popover footer never clips: Move to this computer on its own row, actions wrap (DS-l); test the card's host row (JA-13) --- .../orca-cloud/CloudWorkspaceStatusPanel.tsx | 28 +++--- .../default-workspace-card-host-row.test.tsx | 97 +++++++++++++++++++ 2 files changed, 113 insertions(+), 12 deletions(-) create mode 100644 src/renderer/src/components/sidebar/workspace-card/template/default-workspace-card-host-row.test.tsx diff --git a/src/renderer/src/components/orca-cloud/CloudWorkspaceStatusPanel.tsx b/src/renderer/src/components/orca-cloud/CloudWorkspaceStatusPanel.tsx index 4a2bad51a26..ba1de73ac81 100644 --- a/src/renderer/src/components/orca-cloud/CloudWorkspaceStatusPanel.tsx +++ b/src/renderer/src/components/orca-cloud/CloudWorkspaceStatusPanel.tsx @@ -325,6 +325,20 @@ export function CloudWorkspaceStatusPanel({ ) : null} + {showFooter && actions.onMoveToComputer && canArchive && !restarting ? ( + // Its own row (DS-l): beside Sleep, Archive and Restart it pushed them out of the popover. +
+ +
+ ) : null} {showFooter ? (
{/* Not a live region: a ticking "ago" would announce itself every few seconds. */} @@ -335,18 +349,8 @@ export function CloudWorkspaceStatusPanel({ }) : null} -
- {actions.onMoveToComputer && canArchive && !restarting ? ( - - ) : null} + {/* Wraps rather than clips: every action stays reachable at any panel width (DS-l). */} +
{actions.onSleep && state === 'running' && !restarting ? (