fix: improve question handling in chat

Updates question card behavior
Improves localized question text
Covers session question actions with tests
This commit is contained in:
Bohdan Triapitsyn
2026-06-03 14:51:17 +03:00
parent a0b22c9960
commit 2163c2e3f7
12 changed files with 208 additions and 22 deletions
@@ -1655,6 +1655,10 @@ export const dict: Record<I18nKey, string> = {
'chat.questionCard.copiedMarkdown': '問題已複製為 Markdown',
'chat.questionCard.copiedJson': '問題已複製為 JSON',
'chat.questionCard.copyFailed': '複製問題失敗',
'chat.questionCard.submitFailed': '傳送回答失敗',
'chat.questionCard.dismissFailed': '忽略問題失敗',
'chat.questionCard.noLongerPending': '此問題不再等待回答。',
'chat.questionCard.tryAgain': '請稍後再試。',
'chat.textSelection.toast.noProject': '找不到此會話對應的專案',
'chat.textSelection.toast.addToNotesFailed': '加入筆記失敗',
'chat.textSelection.toast.addToNotesSuccess': '已將選取文字加入筆記',