优化: 设置域体验完善

- 校验失败红框定位字段,保存反馈改持久化成功后
- 数值越界钳制,双提示队列化不再重叠
- 搜索防抖跳分类,托盘气泡文案进多语言
This commit is contained in:
lxy
2026-10-03 17:57:43 +08:00
parent f67e65633b
commit 8396849d04
19 changed files with 329 additions and 93 deletions
+13
View File
@@ -89,6 +89,19 @@ export default {
truncated: 'truncated',
failed: 'failed',
meta: '{rounds} rounds · {tokens} tokens',
// S3: finished card is clickable to open the read-only trace (hover hint)
viewHint: 'Click to view execution trace',
},
// S3 sub-agent trace overlay (opened from the finished card, read-only simple render,
// discarded on close)
agentTrace: {
title: 'Sub-agent Trace',
empty: 'No messages recorded',
loadFail: 'Failed to load sub-agent trace',
roleUser: 'User',
roleAssistant: 'Assistant',
roleTool: 'Tool result',
roleSystem: 'System',
},
},
}
+5
View File
@@ -292,5 +292,10 @@ export default {
sendErrRateLimit: 'Rate limit reached, please retry later (error: {msg})',
sendErrQuota: 'AI quota or balance insufficient, check your provider account (error: {msg})',
sendErrNetwork: 'Network error or timeout, check your connection and retry (error: {msg})',
// ── UX-P3 chat polish additions ──
editEmptyBlocked: 'Edit content is empty, submission cancelled',
skillNoMatchQuery: 'No skill matches "{q}", send blocked',
backfillOverwriteConfirm: 'The input box has an unsent draft; backfilling will overwrite it. Continue?',
},
}
+2
View File
@@ -24,5 +24,7 @@ export default {
perPage: 'Per page',
total: '{n} total',
},
// Close-to-tray notice bubble (App.vue consumes the tray-hide-notice event; moved from hardcoded Chinese)
trayNoticeRunning: '{n} conversation(s) keep running in the background — the tray icon brings the window back anytime',
},
}
+8
View File
@@ -17,7 +17,15 @@ export default {
// ===== Instant feedback (phase 5 SettingRow) =====
savedHint: '✓ Saved',
// False-success family: red inline feedback for persist/IPC failure
saveFailedHint: '✗ Save failed',
nextRoundBadge: 'Next message',
// Out-of-range clamp notices (concurrency 1-64 + per-conv ≤ global; temperature reports the corrected value)
toastConcurrencyClamped: 'Value out of range, corrected automatically (concurrency 1-{max}; per-conversation capped at global)',
toastTempClamped: 'Sampling temperature must be within 0-2, corrected to {v}',
// Prompt caching toggle save feedback (previously silent)
toastAnthropicCacheSaved: 'Prompt caching setting saved',
toastAnthropicCacheFail: 'Failed to save the prompt caching setting',
// ===== Connection mgmt (phase 7: experimental badge, not wired to AI yet) =====
experimentalBadge: 'Experimental · not wired to AI tools',
+2
View File
@@ -91,5 +91,7 @@ export default {
descSaveFailed: 'Failed to save description: {msg}',
saveDesc: 'Save',
cancelEdit: 'Cancel',
// S4 related conversations (reverse lookup of main sessions that ran task tools, click to jump)
relatedConversations: 'Conversations',
},
}