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:
@@ -10,6 +10,11 @@
|
||||
"deleteConfirmationOk": "Yes",
|
||||
"deleteConfirmationCancel": "Cancel",
|
||||
|
||||
"deleteTaskTitle": "Delete Task",
|
||||
"deleteTaskContent": "Are you sure you want to delete this task? This action cannot be undone.",
|
||||
"deleteTaskConfirm": "Delete",
|
||||
"deleteTaskCancel": "Cancel",
|
||||
|
||||
"dueDate": "Due date",
|
||||
"cancel": "Cancel",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user