Implement task deletion functionality in TaskCard component

- Added context menu for task deletion with confirmation modal.
- Integrated localization for delete task prompts in multiple languages.
- Updated TaskCard to handle task deletion logic, including dispatching actions to update the state and emit socket events for task progress.
This commit is contained in:
shancds
2025-07-15 16:19:40 +05:30
parent d4620148bd
commit f48476478a
7 changed files with 138 additions and 4 deletions

View File

@@ -15,5 +15,9 @@
"assignToMe": "分配给我",
"archive": "归档",
"newTaskNamePlaceholder": "写一个任务名称",
"newSubtaskNamePlaceholder": "写一个子任务名称"
"newSubtaskNamePlaceholder": "写一个子任务名称",
"deleteTaskTitle": "删除任务",
"deleteTaskContent": "您确定要删除此任务吗?此操作无法撤销。",
"deleteTaskConfirm": "删除",
"deleteTaskCancel": "取消"
}