diff --git a/ui/src/components/workspace/WorkspaceTemplateUpgradePanel.spec.tsx b/ui/src/components/workspace/WorkspaceTemplateUpgradePanel.spec.tsx index 90c530115..4f2bfe75e 100644 --- a/ui/src/components/workspace/WorkspaceTemplateUpgradePanel.spec.tsx +++ b/ui/src/components/workspace/WorkspaceTemplateUpgradePanel.spec.tsx @@ -119,6 +119,8 @@ describe('WorkspaceTemplateUpgradePanel', () => { { '.agents/skills/self-scheduling/SKILL.md': 'template' }, )) await waitFor(() => expect(screen.getByText('Template upgrade complete')).toBeTruthy()) + expect(screen.getByText('Latest version')).toBeTruthy() + expect(screen.getAllByText(`v${plan.toVersion}`)).toHaveLength(1) expect(onWorkspaceChanged).toHaveBeenCalled() }) diff --git a/ui/src/components/workspace/WorkspaceTemplateUpgradePanel.tsx b/ui/src/components/workspace/WorkspaceTemplateUpgradePanel.tsx index 87251a717..ce3bbdaac 100644 --- a/ui/src/components/workspace/WorkspaceTemplateUpgradePanel.tsx +++ b/ui/src/components/workspace/WorkspaceTemplateUpgradePanel.tsx @@ -128,9 +128,20 @@ export function WorkspaceTemplateUpgradePanel({ {t('workspace.upgradeManagedAssets')}
{current diff --git a/ui/src/i18n/locales/en.ts b/ui/src/i18n/locales/en.ts index f29abef5c..94b1b81c4 100644 --- a/ui/src/i18n/locales/en.ts +++ b/ui/src/i18n/locales/en.ts @@ -733,6 +733,7 @@ export const en = { upgradeLoading: 'Building a three-way upgrade preview…', upgradeUnavailableTitle: 'In-place upgrade is not available', upgradeManagedAssets: 'Managed template assets', + upgradeLatestVersion: 'Latest version', upgradeCurrentDescription: 'This Workspace is on the latest recorded template baseline. Its own customizations remain independent.', upgradeDescription: 'Only launcher-managed instructions and skills are compared. Research, reports, issues, credentials, and other work stay outside this upgrade.', upgradeRefresh: 'Refresh preview', diff --git a/ui/src/i18n/locales/ja.ts b/ui/src/i18n/locales/ja.ts index ece398ff1..3d1ebeedb 100644 --- a/ui/src/i18n/locales/ja.ts +++ b/ui/src/i18n/locales/ja.ts @@ -721,6 +721,7 @@ export const ja: Resources = { upgradeLoading: '3-way アップグレードのプレビューを作成中…', upgradeUnavailableTitle: 'このテンプレートはインプレース更新に対応していません', upgradeManagedAssets: 'テンプレート管理資産', + upgradeLatestVersion: '最新バージョン', upgradeCurrentDescription: 'このワークスペースは最新のテンプレート基準を使用しています。独自のカスタマイズは引き続き独立して保持されます。', upgradeDescription: 'OpenAlice が管理する指示と Skill だけを比較します。調査、レポート、Issue、認証情報、その他の成果物は更新対象外です。', upgradeRefresh: 'プレビューを更新', diff --git a/ui/src/i18n/locales/zh-Hant.ts b/ui/src/i18n/locales/zh-Hant.ts index f5f8aa15a..b20d34140 100644 --- a/ui/src/i18n/locales/zh-Hant.ts +++ b/ui/src/i18n/locales/zh-Hant.ts @@ -729,6 +729,7 @@ export const zhHant: Resources = { upgradeLoading: '正在建立三方升級預覽…', upgradeUnavailableTitle: '此範本不支援原地升級', upgradeManagedAssets: '範本管理資產', + upgradeLatestVersion: '最新版本', upgradeCurrentDescription: '此工作區已使用最新的範本基線;自己的客製內容仍保持獨立。', upgradeDescription: '這裡只比較由 OpenAlice 管理的說明與 Skill。研究、報告、Issue、憑證及其他工作成果不會參與升級。', upgradeRefresh: '重新整理預覽', diff --git a/ui/src/i18n/locales/zh.ts b/ui/src/i18n/locales/zh.ts index 843ea38bd..a8171845f 100644 --- a/ui/src/i18n/locales/zh.ts +++ b/ui/src/i18n/locales/zh.ts @@ -721,6 +721,7 @@ export const zh: Resources = { upgradeLoading: '正在生成三方升级预览…', upgradeUnavailableTitle: '此模板不支持原地升级', upgradeManagedAssets: '模板管理资产', + upgradeLatestVersion: '最新版本', upgradeCurrentDescription: '此工作区已使用最新的模板基线;它自己的定制内容仍保持独立。', upgradeDescription: '这里只比较由 OpenAlice 管理的说明和 Skill。研究、报告、Issue、凭据及其他工作产物不会参与升级。', upgradeRefresh: '刷新预览',