Enhance task progress tracking and UI updates
- Updated SQL migration to insert default task statuses ('To Do', 'Doing', 'Done') upon project creation, improving task management.
- Enhanced socket commands to emit progress updates for subtasks, ensuring real-time synchronization of task progress.
- Refactored frontend components to handle progress calculations and updates more effectively, including improved logging for debugging.
- Removed deprecated members reports components to streamline the codebase and improve maintainability.
This commit is contained in:
@@ -10,7 +10,7 @@ type TaskListProgressCellProps = {
|
||||
|
||||
const TaskListProgressCell = ({ task }: TaskListProgressCellProps) => {
|
||||
const { project } = useAppSelector(state => state.projectReducer);
|
||||
const isManualProgressEnabled = project?.use_manual_progress;
|
||||
const isManualProgressEnabled = (task.project_use_manual_progress || task.project_use_weighted_progress || task.project_use_time_progress);;
|
||||
const isSubtask = task.is_sub_task;
|
||||
const hasManualProgress = task.manual_progress;
|
||||
|
||||
|
||||
@@ -1548,7 +1548,6 @@ const TaskListTable: React.FC<TaskListTableProps> = ({ taskList, tableId, active
|
||||
};
|
||||
|
||||
const handleCustomColumnSettings = (columnKey: string) => {
|
||||
console.log('columnKey', columnKey);
|
||||
if (!columnKey) return;
|
||||
setEditColumnKey(columnKey);
|
||||
dispatch(setCustomColumnModalAttributes({modalType: 'edit', columnId: columnKey}));
|
||||
|
||||
Reference in New Issue
Block a user