mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 02:47:34 +00:00
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:
@@ -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>
|
||||
</>
|
||||
|
||||
@@ -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…",
|
||||
|
||||
Reference in New Issue
Block a user