Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(settings): improve migration report accessibility and copy

Steven Enamakel7ff1d78b2e5f
diff --git a/app/src/components/settings/panels/MigrationPanel.tsx b/app/src/components/settings/panels/MigrationPanel.tsx
index 31202e442d..b4997a793d 100644
--- a/app/src/components/settings/panels/MigrationPanel.tsx
+++ b/app/src/components/settings/panels/MigrationPanel.tsx
@@ -306,15 +306,16 @@ const MigrationPanel = () => {
value: reportToRender.stats.renamed_conflicts,
},
].map(stat => (
- <div key={stat.key} className="rounded-lg bg-surface-muted px-3 py-2.5">
+ // Label first in the DOM (dt before dd), number first on screen.
+ <div
+ key={stat.key}
+ className="flex flex-col-reverse gap-0.5 rounded-lg bg-surface-muted px-3 py-2.5">
+ <dt className="text-[11px] leading-tight text-content-muted">{t(stat.key)}</dt>
<dd
className="text-lg font-semibold tabular-nums text-content"
data-testid={stat.testId}>
{stat.value}
</dd>
- <dt className="mt-0.5 text-[11px] leading-tight text-content-muted">
- {t(stat.key)}
- </dt>
</div>
))}
</dl>
diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.ts
index 990b05286d..ec180338e5 100644
--- a/app/src/lib/i18n/en.ts
+++ b/app/src/lib/i18n/en.ts
@@ -415,6 +415,12 @@ const en: TranslationMap = {
'migration.vendorLabel': 'Source vendor',
'migration.vendor.openclaw': 'OpenClaw',
'migration.vendor.hermes': 'Hermes Agent',
+ 'migration.vendor.openclawDesc': 'Memory database and markdown notes',
+ 'migration.vendor.hermesDesc': 'Memories and notes from Hermes',
+ 'migration.sourceHeading': 'Source',
+ 'migration.badgePreview': 'Preview',
+ 'migration.badgeImported': 'Imported',
+ 'migration.confirmTitle': 'Import into this workspace?',
'migration.sourceLabel': 'Source workspace path (optional)',
'migration.sourcePlaceholder': 'Leave blank to auto-detect (e.g. ~/.openclaw/workspace)',
'migration.sourcePlaceholderHermes': 'Leave blank to auto-detect (e.g. ~/.hermes)',
@@ -422,11 +428,11 @@ const en: TranslationMap = {
"Defaults to the vendor's standard location when blank. Set an explicit path if you've moved the workspace elsewhere.",
'migration.previewAction': 'Preview',
'migration.previewRunning': 'Previewing…',
- 'migration.applyAction': 'Apply import',
+ 'migration.applyAction': 'Import',
'migration.applyRunning': 'Importing…',
'migration.applyDisclaimer':
'Apply is unlocked after a successful Preview of the same source. Existing memory is backed up before any import.',
- 'migration.reportTitlePreview': 'Preview: nothing imported yet',
+ 'migration.reportTitlePreview': 'What would be imported',
'migration.reportTitleApplied': 'Import complete',
'migration.report.source': 'Source workspace',
'migration.report.target': 'Target workspace',
@@ -437,7 +443,7 @@ const en: TranslationMap = {
'migration.report.renamedConflicts': 'Renamed on conflict',
'migration.report.warnings': 'Warnings',
'migration.report.previewHint':
- 'No data has been imported yet. Click Apply import to copy it over.',
+ 'Nothing has been imported yet. Click Import to copy it over.',
'migration.report.appliedHint':
'Imported entries are now in your memory. Re-run Preview if you want to compare again.',
'migration.confirmImport.singular':