fix(webui): make action feedback easier to notice (#6702)

* fix(webui): make action feedback easier to notice

* fix(webui): preserve undo and report confirmed action results

* refactor(webui): trim toast preview and redundant coverage

* test(webui): advance the undo window for the last topic deletion
This commit is contained in:
chengyongru authored and GitHub committed 2026-11-18 16:10:02 +08:00
1 parent 0f45d74fec
commit 9ccf3b6214
59 files changed
+1621 -508

No files matched your search

+14 -3
View File
@@ -1951,8 +1951,6 @@
"deleteConfirm": {
"title": "Delete this topic?",
"titleMany": "Delete {{count}} conversations?",
"description": "This action cannot be undone.",
"descriptionMany": "This action cannot be undone.",
"cancel": "Cancel",
"confirm": "Delete",
"automationsDescription": "Deleting this topic also deletes its linked automations.",
@@ -2222,7 +2220,7 @@
"tooLong": "Recording is too long.",
"tooShort": "Hold a little longer to record voice.",
"noInput": "No microphone input detected.",
"noDevice": "No microphone was found. Connect a microphone and try again.",
"noDevice": "Connect a microphone to record.",
"failed": "Could not transcribe audio."
},
"slash": {
@@ -2720,6 +2718,19 @@
"main-stack": "Main and stack"
}
},
"toast": {
"undo": "Undo",
"pendingDeleteSingle": "Topic will be deleted",
"archivedSingle": "Topic archived",
"archiveFailed": "Could not change archive status.",
"unarchivedSingle": "Topic unarchived",
"deleteFailedSingle": "Could not delete the topic",
"deleteWindow": "You have {{seconds}} seconds to undo.",
"pendingDelete": "{{count}} topics will be deleted",
"archived": "{{count}} topics archived",
"unarchived": "{{count}} topics unarchived",
"deleteFailed": "Could not delete {{count}} topics"
},
"common": {
"retry": "Retry",
"dismiss": "Dismiss",