From 5fadf4fec8235beff1f695731be10eef4f8abc35 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 10 Nov 2026 21:06:24 -0800 Subject: [PATCH] =?UTF-8?q?fix(cloud):=20local=20commands=20=E2=80=94=20re?= =?UTF-8?q?cent=20requests=20say=20'just=20now'=20(design-squad=20P3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../settings/orca-cloud/OrcaCloudLocalCommandsPane.tsx | 4 +++- src/renderer/src/i18n/locales/en.json | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/components/settings/orca-cloud/OrcaCloudLocalCommandsPane.tsx b/src/renderer/src/components/settings/orca-cloud/OrcaCloudLocalCommandsPane.tsx index 51a70c2892b..71ab6b3af93 100644 --- a/src/renderer/src/components/settings/orca-cloud/OrcaCloudLocalCommandsPane.tsx +++ b/src/renderer/src/components/settings/orca-cloud/OrcaCloudLocalCommandsPane.tsx @@ -225,7 +225,9 @@ export function OrcaCloudLocalCommandsView({

{[ entry.workspaceLabel, - formatUiRelativeTime(entry.at - now), + now - entry.at < 60_000 + ? t('localCommands.audit.justNow', 'just now') + : formatUiRelativeTime(entry.at - now), result, entry.detail ] diff --git a/src/renderer/src/i18n/locales/en.json b/src/renderer/src/i18n/locales/en.json index b300a21d885..8d801001fa4 100644 --- a/src/renderer/src/i18n/locales/en.json +++ b/src/renderer/src/i18n/locales/en.json @@ -28240,7 +28240,8 @@ "resultSignal": "Stopped ({{signal}})", "resultFinished": "Finished", "resultFailed": "Failed (exit {{code}})", - "noCommand": "(unreadable request)" + "noCommand": "(unreadable request)", + "justNow": "just now" }, "notification": { "title": "Run a command on this computer?",