feat(task-management): enhance status management with drag-and-drop functionality

- Updated ManageStatusModal to support drag-and-drop for reordering statuses and moving them between categories.
- Introduced CategorySection component for better organization of statuses by category.
- Added validation to prevent moving the last status out of a category, ensuring each category retains at least one status.
- Enhanced localization for task management, updating translation keys across multiple languages for improved clarity and consistency.
This commit is contained in:
chamikaJ
2025-07-11 13:50:35 +05:30
parent 7def564950
commit 6b58709848
8 changed files with 829 additions and 310 deletions

View File

@@ -71,15 +71,17 @@
"groupedBy": "Grouped by",
"manageStatuses": "Manage Statuses",
"managePhases": "Manage Phases",
"dragToReorderStatuses": "Drag statuses to reorder them. Each status can have a different category.",
"dragToReorderStatuses": "Statuses are organized by categories. Drag to reorder within categories. Click 'Add Status' to create new statuses in each category.",
"enterNewStatusName": "Enter new status name...",
"addStatus": "Add Status",
"noStatusesFound": "No statuses found. Create your first status above.",
"noStatusesFound": "No statuses in this category",
"deleteStatus": "Delete Status",
"deleteStatusConfirm": "Are you sure you want to delete this status? This action cannot be undone.",
"rename": "Rename",
"delete": "Delete",
"enterStatusName": "Enter status name",
"selectCategory": "Select category",
"close": "Close"
"close": "Close",
"cannotMoveStatus": "Cannot Move Status",
"cannotMoveStatusMessage": "Cannot move this status because it would leave the '{{categoryName}}' category empty. Each category must have at least one status.",
"ok": "OK"
}