feat: add CronDeleteDialog component and integrate it into CronPage for job deletion

- Implemented a new CronDeleteDialog component for confirming job deletions.
- Integrated the CronDeleteDialog into the CronPage, allowing users to delete cron jobs with confirmation.
- Refactored job deletion logic to handle state updates and loading indicators during deletion.
- Removed unused delivery channel related code from CronPage and CronTaskDialog.
- Cleaned up chat store session deletion logic to improve state management and ensure proper session handling.
This commit is contained in:
duanshuwen
2026-04-21 21:41:18 +08:00
parent db93888921
commit f9c331315b
7 changed files with 188 additions and 820 deletions

View File

@@ -35,6 +35,12 @@
"deleted": "Task deleted."
},
"confirmDelete": "Delete “{name}”? This cannot be undone.",
"deleteDialog": {
"title": "Delete task",
"label": "Task name",
"confirm": "Confirm delete",
"deleting": "Deleting..."
},
"common": {
"unnamedJob": "Untitled task"
},

View File

@@ -35,6 +35,12 @@
"deleted": "ลบงานแล้ว"
},
"confirmDelete": "ต้องการลบ \"{name}\" หรือไม่? การดำเนินการนี้ไม่สามารถย้อนกลับได้",
"deleteDialog": {
"title": "ลบงาน",
"label": "ชื่องาน",
"confirm": "ยืนยันการลบ",
"deleting": "กำลังลบ..."
},
"common": {
"unnamedJob": "งานไม่มีชื่อ"
},

View File

@@ -35,6 +35,12 @@
"deleted": "任务已删除。"
},
"confirmDelete": "确认删除“{name}”吗?删除后将无法恢复。",
"deleteDialog": {
"title": "删除任务",
"label": "任务名称",
"confirm": "确认删除",
"deleting": "删除中..."
},
"common": {
"unnamedJob": "未命名任务"
},