refactor(task-management): optimize task management components with performance enhancements

- Updated import statements for consistency and clarity.
- Refined task sorting and update logic to improve responsiveness.
- Enhanced error logging for better debugging during task sort order changes.
- Increased overscan count in virtualized task lists for smoother scrolling experience.
- Introduced lazy loading for heavy components to reduce initial load times.
- Improved CSS styles for better responsiveness and user interaction across task management components.
This commit is contained in:
chamikaJ
2025-06-30 11:02:41 +05:30
parent 7fdea2a285
commit 14c5c148b9
16 changed files with 1685 additions and 326 deletions

View File

@@ -151,7 +151,7 @@ const VirtualizedTaskGroup: React.FC<VirtualizedTaskGroupProps> = React.memo(({
width={width}
itemCount={groupTasks.length + 3} // +3 for header, column headers, and add task row
itemSize={TASK_ROW_HEIGHT}
overscanCount={5} // Render 5 extra items for smooth scrolling
overscanCount={10} // Increased overscan for smoother scrolling experience
>
{Row}
</List>