fix(cloud): status panel shows the copied-to-this-computer line on two rows with an Open local workspace link

This commit is contained in:
Neil
2026-11-09 15:37:35 -08:00
parent 2c084b8c0d
commit 0bce290023
2 changed files with 20 additions and 20 deletions
@@ -279,24 +279,24 @@ export function CloudWorkspaceStatusPanel({
/>
) : null}
{moved ? (
<Fact
label={t('orcaCloudWorkspace.copiedToComputer', 'Copied to this computer')}
muted
value={
<span className="flex items-baseline gap-2">
{formatShortDate(moved.at)}
{moved.localWorktreeId ? (
<button
type="button"
className="text-foreground underline-offset-2 hover:underline focus-visible:outline-[var(--focus-ring)]"
onClick={() => activateAndRevealWorktree(moved.localWorktreeId!)}
>
{t('orcaCloudWorkspace.openLocal', 'Open local workspace')}
</button>
) : null}
</span>
}
/>
<div className="flex flex-col gap-0.5 pt-1">
<dt className="text-muted-foreground">
{t('orcaCloudWorkspace.copiedOn', 'Copied to this computer · {{date}}', {
date: formatShortDate(moved.at)
})}
</dt>
{moved.localWorktreeId ? (
<dd>
<button
type="button"
className="text-foreground underline-offset-2 hover:underline focus-visible:outline-[var(--focus-ring)]"
onClick={() => activateAndRevealWorktree(moved.localWorktreeId!)}
>
{t('orcaCloudWorkspace.openLocal', 'Open local workspace')}
</button>
</dd>
) : null}
</div>
) : null}
</dl>
</>
+2 -2
View File
@@ -26200,8 +26200,8 @@
"idleSleptMinutes_other": "{{name}} slept after {{count}} minutes idle",
"moveToComputer": "Move to this computer",
"moveHere": "Move here",
"copiedToComputer": "Copied to this computer",
"openLocal": "Open local workspace"
"openLocal": "Open local workspace",
"copiedOn": "Copied to this computer · {{date}}"
},
"cloudAgentSetup": {
"loading": "Checking what agents can use…",