fix(webui): confirm linked automation deletion in untimed toast (#6731)

* fix(webui): confirm linked automation deletion in untimed toast

* feat(webui): add linked automation dropdown and session exclude in delete toast

* style(webui): align toast automation dropdown and refine visual polish
This commit is contained in:
chengyongru authored and GitHub committed 2026-11-20 15:05:23 +08:00
1 parent 7935176eb7
commit cb95277098
31 files changed
+652 -668

No files matched your search

+7 -24
View File
@@ -1948,29 +1948,6 @@
"description": "Conversations are kept. You can unarchive them at any time.",
"unarchiveDescription": "These topics will return to the sidebar."
},
"deleteConfirm": {
"title": "Delete this topic?",
"titleMany": "Delete {{count}} conversations?",
"cancel": "Cancel",
"confirm": "Delete",
"automationsDescription": "Deleting this topic also deletes its linked automations.",
"automationsDescriptionMany": "Linked automations will also be deleted.",
"moreAutomations": "+ {{count}} more",
"schedule": {
"at": "{{time}}",
"every": "Every {{duration}}",
"cron": "Cron {{expr}}",
"cronWithTz": "Cron {{expr}} ({{tz}})",
"local": "Local trigger",
"unknown": "Custom schedule"
},
"next": {
"label": "Next: {{time}}",
"disabled": "Paused",
"local": "Waiting for trigger",
"none": "No next run"
}
},
"connection": {
"idle": "Idle",
"connecting": "Connecting…",
@@ -2730,7 +2707,13 @@
"pendingDelete": "{{count}} topics will be deleted",
"archived": "{{count}} topics archived",
"unarchived": "{{count}} topics unarchived",
"deleteFailed": "Could not delete {{count}} topics"
"deleteFailed": "Could not delete {{count}} topics",
"confirmDeleteAutomationsSingle": "Delete topic and linked automations?",
"confirmDeleteAutomations": "Delete {{count}} topics and linked automations?",
"automationCountSingle": "1 automation",
"automationCount": "{{count}} automations",
"excludeSession": "Keep",
"excludeSessionAria": "Exclude {{title}} from deletion"
},
"common": {
"retry": "Retry",
+7 -24
View File
@@ -1766,29 +1766,6 @@
"description": "Las conversaciones se conservan. Puedes desarchivarlas en cualquier momento.",
"unarchiveDescription": "Estos temas volverán a la barra lateral."
},
"deleteConfirm": {
"title": "¿Eliminar este chat?",
"titleMany": "¿Eliminar {{count}} conversaciones?",
"cancel": "Cancelar",
"confirm": "Eliminar",
"automationsDescription": "Eliminar este tema también elimina sus tareas automáticas vinculadas.",
"automationsDescriptionMany": "También se eliminarán las automatizaciones vinculadas.",
"moreAutomations": "+ {{count}} más",
"schedule": {
"at": "{{time}}",
"every": "Cada {{duration}}",
"cron": "Cron {{expr}}",
"cronWithTz": "Cron {{expr}} ({{tz}})",
"local": "Activador local",
"unknown": "Programación personalizada"
},
"next": {
"label": "Siguiente: {{time}}",
"disabled": "Pausada",
"local": "Esperando activador",
"none": "Sin próxima ejecución"
}
},
"connection": {
"idle": "Inactivo",
"connecting": "Conectando…",
@@ -2548,7 +2525,13 @@
"pendingDelete": "Se eliminarán {{count}} conversaciones",
"archived": "{{count}} conversaciones archivadas",
"unarchived": "{{count}} conversaciones desarchivadas",
"deleteFailed": "No se pudieron eliminar {{count}} conversaciones"
"deleteFailed": "No se pudieron eliminar {{count}} conversaciones",
"confirmDeleteAutomationsSingle": "¿Eliminar la conversación y sus automatizaciones?",
"confirmDeleteAutomations": "¿Eliminar {{count}} conversaciones y sus automatizaciones?",
"automationCountSingle": "1 automatización",
"automationCount": "{{count}} automatizaciones",
"excludeSession": "Conservar",
"excludeSessionAria": "Quitar {{title}} de esta eliminación"
},
"common": {
"retry": "Reintentar",
+7 -24
View File
@@ -1766,29 +1766,6 @@
"description": "Les conversations sont conservées. Vous pouvez les désarchiver à tout moment.",
"unarchiveDescription": "Ces sujets réapparaîtront dans la barre latérale."
},
"deleteConfirm": {
"title": "Supprimer cette discussion ?",
"titleMany": "Supprimer {{count}} conversations ?",
"cancel": "Annuler",
"confirm": "Supprimer",
"automationsDescription": "Supprimer ce sujet supprime aussi ses tâches automatiques liées.",
"automationsDescriptionMany": "Les automatisations liées seront également supprimées.",
"moreAutomations": "+ {{count}} autres",
"schedule": {
"at": "{{time}}",
"every": "Tous les {{duration}}",
"cron": "Cron {{expr}}",
"cronWithTz": "Cron {{expr}} ({{tz}})",
"local": "Déclencheur local",
"unknown": "Planification personnalisée"
},
"next": {
"label": "Prochaine exécution : {{time}}",
"disabled": "En pause",
"local": "En attente du déclencheur",
"none": "Aucune prochaine exécution"
}
},
"connection": {
"idle": "Inactif",
"connecting": "Connexion…",
@@ -2548,7 +2525,13 @@
"pendingDelete": "{{count}} conversations vont être supprimées",
"archived": "{{count}} conversations archivées",
"unarchived": "{{count}} conversations désarchivées",
"deleteFailed": "Impossible de supprimer {{count}} conversations"
"deleteFailed": "Impossible de supprimer {{count}} conversations",
"confirmDeleteAutomationsSingle": "Supprimer la conversation et ses automatisations ?",
"confirmDeleteAutomations": "Supprimer {{count}} conversations et leurs automatisations ?",
"automationCountSingle": "1 automatisation",
"automationCount": "{{count}} automatisations",
"excludeSession": "Conserver",
"excludeSessionAria": "Retirer {{title}} de cette suppression"
},
"common": {
"retry": "Réessayer",
+7 -24
View File
@@ -1766,29 +1766,6 @@
"description": "Percakapan tetap tersimpan. Anda dapat membatalkan arsipnya kapan saja.",
"unarchiveDescription": "Topik ini akan kembali muncul di bilah samping."
},
"deleteConfirm": {
"title": "Hapus obrolan ini?",
"titleMany": "Hapus {{count}} percakapan?",
"cancel": "Batal",
"confirm": "Hapus",
"automationsDescription": "Menghapus topik ini juga menghapus tugas otomatis terkait.",
"automationsDescriptionMany": "Automasi terkait juga akan dihapus.",
"moreAutomations": "+ {{count}} lagi",
"schedule": {
"at": "{{time}}",
"every": "Setiap {{duration}}",
"cron": "Cron {{expr}}",
"cronWithTz": "Cron {{expr}} ({{tz}})",
"local": "Pemicu lokal",
"unknown": "Jadwal khusus"
},
"next": {
"label": "Berikutnya: {{time}}",
"disabled": "Dijeda",
"local": "Menunggu pemicu",
"none": "Tidak ada jadwal berikutnya"
}
},
"connection": {
"idle": "Tidak aktif",
"connecting": "Menghubungkan…",
@@ -2548,7 +2525,13 @@
"pendingDelete": "{{count}} percakapan akan dihapus",
"archived": "{{count}} percakapan diarsipkan",
"unarchived": "{{count}} percakapan dikeluarkan dari arsip",
"deleteFailed": "Gagal menghapus {{count}} percakapan"
"deleteFailed": "Gagal menghapus {{count}} percakapan",
"confirmDeleteAutomationsSingle": "Hapus percakapan dan otomatisasi terkait?",
"confirmDeleteAutomations": "Hapus {{count}} percakapan dan otomatisasi terkait?",
"automationCountSingle": "1 otomatisasi",
"automationCount": "{{count}} otomatisasi",
"excludeSession": "Simpan",
"excludeSessionAria": "Keluarkan {{title}} dari penghapusan ini"
},
"common": {
"retry": "Coba lagi",
+7 -24
View File
@@ -1766,29 +1766,6 @@
"description": "会話履歴は保持され、いつでもアーカイブを解除できます。",
"unarchiveDescription": "これらのトピックがサイドバーに再表示されます。"
},
"deleteConfirm": {
"title": "このチャットを削除しますか?",
"titleMany": "{{count}} 件の会話を削除しますか?",
"cancel": "キャンセル",
"confirm": "削除",
"automationsDescription": "このトピックを削除すると、関連する自動タスクも削除されます。",
"automationsDescriptionMany": "関連する自動タスクも削除されます。",
"moreAutomations": "他 {{count}} 件",
"schedule": {
"at": "{{time}}",
"every": "{{duration}} ごと",
"cron": "Cron {{expr}}",
"cronWithTz": "Cron {{expr}}({{tz}})",
"local": "ローカルトリガー",
"unknown": "カスタムスケジュール"
},
"next": {
"label": "次回: {{time}}",
"disabled": "一時停止中",
"local": "トリガー待ち",
"none": "次回実行なし"
}
},
"connection": {
"idle": "待機中",
"connecting": "接続中…",
@@ -2548,7 +2525,13 @@
"pendingDelete": "{{count}} 件の会話を削除します",
"archived": "{{count}} 件の会話をアーカイブしました",
"unarchived": "{{count}} 件の会話のアーカイブを解除しました",
"deleteFailed": "{{count}} 件の会話を削除できませんでした"
"deleteFailed": "{{count}} 件の会話を削除できませんでした",
"confirmDeleteAutomationsSingle": "会話と関連する自動タスクを削除しますか?",
"confirmDeleteAutomations": "{{count}} 件の会話と関連する自動タスクを削除しますか?",
"automationCountSingle": "タスク 1 件",
"automationCount": "タスク {{count}} 件",
"excludeSession": "残す",
"excludeSessionAria": "「{{title}}」を削除対象から外す"
},
"common": {
"retry": "再試行",
+7 -24
View File
@@ -1766,29 +1766,6 @@
"description": "대화 기록은 유지되며 언제든지 보관을 해제할 수 있습니다.",
"unarchiveDescription": "이 주제들이 사이드바에 다시 표시됩니다."
},
"deleteConfirm": {
"title": "이 채팅을 삭제할까요?",
"titleMany": "대화 {{count}}개를 삭제할까요?",
"cancel": "취소",
"confirm": "삭제",
"automationsDescription": "이 주제를 삭제하면 연결된 자동 작업도 삭제됩니다.",
"automationsDescriptionMany": "연결된 자동화도 함께 삭제됩니다.",
"moreAutomations": "+ {{count}}개 더",
"schedule": {
"at": "{{time}}",
"every": "{{duration}}마다",
"cron": "Cron {{expr}}",
"cronWithTz": "Cron {{expr}} ({{tz}})",
"local": "로컬 트리거",
"unknown": "사용자 지정 일정"
},
"next": {
"label": "다음: {{time}}",
"disabled": "일시 중지됨",
"local": "트리거 대기 중",
"none": "다음 실행 없음"
}
},
"connection": {
"idle": "대기 중",
"connecting": "연결 중…",
@@ -2548,7 +2525,13 @@
"pendingDelete": "대화 {{count}}개가 곧 삭제됩니다",
"archived": "대화 {{count}}개를 보관했습니다",
"unarchived": "대화 {{count}}개의 보관을 해제했습니다",
"deleteFailed": "대화 {{count}}개를 삭제하지 못했습니다"
"deleteFailed": "대화 {{count}}개를 삭제하지 못했습니다",
"confirmDeleteAutomationsSingle": "대화와 연결된 자동 작업을 삭제할까요?",
"confirmDeleteAutomations": "대화 {{count}}개와 연결된 자동 작업을 삭제할까요?",
"automationCountSingle": "작업 1개",
"automationCount": "작업 {{count}}개",
"excludeSession": "유지",
"excludeSessionAria": "{{title}}을(를) 삭제 대상에서 제외"
},
"common": {
"retry": "다시 시도",
+7 -24
View File
@@ -1768,29 +1768,6 @@
"description": "As conversas são mantidas. Você pode desarquivá-las a qualquer momento.",
"unarchiveDescription": "Estes tópicos voltarão à barra lateral."
},
"deleteConfirm": {
"title": "Excluir esta conversa?",
"titleMany": "Excluir {{count}} conversas?",
"cancel": "Cancelar",
"confirm": "Excluir",
"automationsDescription": "Excluir este tópico também exclui suas automações vinculadas.",
"automationsDescriptionMany": "As automações vinculadas também serão excluídas.",
"moreAutomations": "+ {{count}} a mais",
"schedule": {
"at": "{{time}}",
"every": "A cada {{duration}}",
"cron": "Cron {{expr}}",
"cronWithTz": "Cron {{expr}} ({{tz}})",
"local": "Gatilho local",
"unknown": "Agendamento personalizado"
},
"next": {
"label": "Próxima: {{time}}",
"disabled": "Pausada",
"local": "Aguardando gatilho",
"none": "Sem próxima execução"
}
},
"connection": {
"idle": "Ocioso",
"connecting": "Conectando…",
@@ -2550,7 +2527,13 @@
"pendingDelete": "{{count}} conversas serão excluídas",
"archived": "{{count}} conversas arquivadas",
"unarchived": "{{count}} conversas desarquivadas",
"deleteFailed": "Não foi possível excluir {{count}} conversas"
"deleteFailed": "Não foi possível excluir {{count}} conversas",
"confirmDeleteAutomationsSingle": "Excluir a conversa e as automações vinculadas?",
"confirmDeleteAutomations": "Excluir {{count}} conversas e as automações vinculadas?",
"automationCountSingle": "1 automação",
"automationCount": "{{count}} automações",
"excludeSession": "Manter",
"excludeSessionAria": "Remover {{title}} desta exclusão"
},
"common": {
"retry": "Tentar novamente",
+7 -24
View File
@@ -1766,29 +1766,6 @@
"description": "Lịch sử trò chuyện vẫn được giữ lại. Bạn có thể bỏ lưu trữ bất cứ lúc nào.",
"unarchiveDescription": "Các chủ đề này sẽ xuất hiện lại trên thanh bên."
},
"deleteConfirm": {
"title": "Xóa cuộc trò chuyện này?",
"titleMany": "Xóa {{count}} cuộc trò chuyện?",
"cancel": "Hủy",
"confirm": "Xóa",
"automationsDescription": "Xóa chủ đề này cũng xóa các tác vụ tự động liên quan.",
"automationsDescriptionMany": "Các tự động hóa liên kết cũng sẽ bị xóa.",
"moreAutomations": "+ {{count}} mục nữa",
"schedule": {
"at": "{{time}}",
"every": "Mỗi {{duration}}",
"cron": "Cron {{expr}}",
"cronWithTz": "Cron {{expr}} ({{tz}})",
"local": "Trình kích hoạt cục bộ",
"unknown": "Lịch tùy chỉnh"
},
"next": {
"label": "Tiếp theo: {{time}}",
"disabled": "Đã tạm dừng",
"local": "Đang chờ kích hoạt",
"none": "Không có lần chạy tiếp theo"
}
},
"connection": {
"idle": "Rảnh",
"connecting": "Đang kết nối…",
@@ -2548,7 +2525,13 @@
"pendingDelete": "Sắp xóa {{count}} cuộc trò chuyện",
"archived": "Đã lưu trữ {{count}} cuộc trò chuyện",
"unarchived": "Đã bỏ lưu trữ {{count}} cuộc trò chuyện",
"deleteFailed": "Không thể xóa {{count}} cuộc trò chuyện"
"deleteFailed": "Không thể xóa {{count}} cuộc trò chuyện",
"confirmDeleteAutomationsSingle": "Xóa cuộc trò chuyện và các tác vụ tự động?",
"confirmDeleteAutomations": "Xóa {{count}} cuộc trò chuyện và các tác vụ tự động?",
"automationCountSingle": "1 tác vụ",
"automationCount": "{{count}} tác vụ",
"excludeSession": "Giữ lại",
"excludeSessionAria": "Bỏ {{title}} khỏi lần xóa này"
},
"common": {
"retry": "Thử lại",
+7 -24
View File
@@ -1948,29 +1948,6 @@
"description": "聊天记录会保留,可随时取消归档。",
"unarchiveDescription": "这些话题将重新显示在侧栏中。"
},
"deleteConfirm": {
"title": "删除这个话题?",
"titleMany": "删除这 {{count}} 个对话?",
"cancel": "取消",
"confirm": "删除",
"automationsDescription": "删除话题也会删除关联的自动任务",
"automationsDescriptionMany": "关联的自动任务也会一并删除。",
"moreAutomations": "另有 {{count}} 个",
"schedule": {
"at": "{{time}}",
"every": "每 {{duration}}",
"cron": "Cron {{expr}}",
"cronWithTz": "Cron {{expr}}({{tz}})",
"local": "本地触发器",
"unknown": "自定义计划"
},
"next": {
"label": "下次:{{time}}",
"disabled": "已暂停",
"local": "等待触发",
"none": "没有下次运行"
}
},
"connection": {
"idle": "空闲",
"connecting": "连接中…",
@@ -2730,7 +2707,13 @@
"pendingDelete": "即将删除 {{count}} 个会话",
"archived": "已归档 {{count}} 个会话",
"unarchived": "已取消归档 {{count}} 个会话",
"deleteFailed": "{{count}} 个会话删除失败"
"deleteFailed": "{{count}} 个会话删除失败",
"confirmDeleteAutomationsSingle": "删除会话及关联自动任务?",
"confirmDeleteAutomations": "删除 {{count}} 个会话及关联自动任务?",
"automationCountSingle": "1 个任务",
"automationCount": "{{count}} 个任务",
"excludeSession": "保留",
"excludeSessionAria": "从本次删除中移除「{{title}}」"
},
"common": {
"retry": "重试",
+7 -24
View File
@@ -1766,29 +1766,6 @@
"description": "聊天記錄會保留,可隨時取消封存。",
"unarchiveDescription": "這些話題將重新顯示在側欄中。"
},
"deleteConfirm": {
"title": "刪除這個話題?",
"titleMany": "刪除這 {{count}} 個對話?",
"cancel": "取消",
"confirm": "刪除",
"automationsDescription": "刪除話題也會刪除關聯的自動任務",
"automationsDescriptionMany": "關聯的自動任務也會一併刪除。",
"moreAutomations": "另有 {{count}} 個",
"schedule": {
"at": "{{time}}",
"every": "每 {{duration}}",
"cron": "Cron {{expr}}",
"cronWithTz": "Cron {{expr}}({{tz}})",
"local": "本機觸發器",
"unknown": "自訂排程"
},
"next": {
"label": "下次:{{time}}",
"disabled": "已暫停",
"local": "等待觸發",
"none": "沒有下次執行"
}
},
"connection": {
"idle": "閒置",
"connecting": "連線中…",
@@ -2548,7 +2525,13 @@
"pendingDelete": "即將刪除 {{count}} 個對話",
"archived": "已封存 {{count}} 個對話",
"unarchived": "已取消封存 {{count}} 個對話",
"deleteFailed": "無法刪除 {{count}} 個對話"
"deleteFailed": "無法刪除 {{count}} 個對話",
"confirmDeleteAutomationsSingle": "刪除對話及關聯自動任務?",
"confirmDeleteAutomations": "刪除 {{count}} 個對話及關聯自動任務?",
"automationCountSingle": "1 個任務",
"automationCount": "{{count}} 個任務",
"excludeSession": "保留",
"excludeSessionAria": "從本次刪除中移除「{{title}}」"
},
"common": {
"retry": "重試",