feat(tasks): optimize task retrieval and performance metrics logging

- Updated `getList` and `getTasksOnly` methods to skip expensive progress calculations by default, enhancing performance.
- Introduced logging for performance metrics, including method execution times and warnings for deprecated methods.
- Added new `getTaskProgressStatus` endpoint to provide basic progress stats without heavy calculations.
- Implemented performance optimizations in the frontend, including lazy loading and improved rendering for task rows.
- Enhanced task management slice with reset actions for better state management.
- Added localization support for task management messages in multiple languages.
This commit is contained in:
chamiakJ
2025-06-26 12:26:50 +05:30
parent 345b8500cd
commit 3d1cb29a67
21 changed files with 866 additions and 216 deletions

View File

@@ -85,6 +85,8 @@ const selectionSlice = createSlice({
state.selectedTaskIds = action.payload;
state.lastSelectedId = action.payload[action.payload.length - 1] || null;
},
resetSelection: () => initialState,
},
});
@@ -97,6 +99,7 @@ export const {
selectAllTasks,
clearSelection,
setSelection,
resetSelection,
} = selectionSlice.actions;
// Selectors