feat(task-management): implement context menu for task actions

- Added a context menu to the TaskRow component, allowing users to perform actions such as assigning tasks, archiving, deleting, and moving tasks between statuses, priorities, and phases.
- Introduced TaskContextMenu component to handle context menu logic and interactions.
- Enhanced task row styling for improved hover effects and visibility in both light and dark modes.
- Updated task management slice to include new actions for handling task assignments and conversions.
This commit is contained in:
chamiakJ
2025-07-03 07:42:43 +05:30
parent ecd4d29a38
commit e41cead10b
8 changed files with 552 additions and 10 deletions

View File

@@ -1236,6 +1236,7 @@ const TaskListBoard: React.FC<TaskListBoardProps> = ({ projectId, className = ''
--task-selected-border: #1890ff;
--task-drag-over-bg: #f0f8ff;
--task-drag-over-border: #40a9ff;
--task-border-hover-top: #c0c0c0; /* Slightly darker for visibility */
}
.dark .task-groups-container-fixed,
@@ -1257,6 +1258,7 @@ const TaskListBoard: React.FC<TaskListBoardProps> = ({ projectId, className = ''
--task-selected-border: #1890ff;
--task-drag-over-bg: #1a2332;
--task-drag-over-border: #40a9ff;
--task-border-hover-top-dark: #505050; /* Slightly darker for visibility in dark mode */
}
/* Dark mode scrollbar */