Commit Graph

354 Commits

Author SHA1 Message Date
shancds
b179a0274f refactor(enhanced-kanban): remove unnecessary div wrapper in VirtualizedTaskList component
- Eliminated the redundant div element surrounding the EnhancedKanbanTaskCard to streamline the component structure and improve rendering efficiency.
2025-06-30 15:22:34 +05:30
Chamika J
0ae615cc77 Merge branch 'release/v2.0.4' into fix/kanban-board-enhanced-feat 2025-06-30 14:58:15 +05:30
shancds
7f46b10a42 feat(enhanced-kanban): add updateEnhancedKanbanTaskStatus action for task status management
- Introduced a new action to update task status within the enhanced Kanban feature, allowing for dynamic task movement between groups based on status changes.
- Updated the task drawer status dropdown to utilize the new action for improved task management experience.
2025-06-30 14:53:00 +05:30
shancds
dee385c6db refactor(enhanced-kanban): remove console log from handleSubTaskExpand function
- Removed debugging console log from the handleSubTaskExpand function to clean up the code and improve performance.
2025-06-30 13:42:35 +05:30
Chamika J
207e038315 Merge pull request #204 from Worklenz/fix/task-list-realtime-update
Fix/task list realtime update
2025-06-30 12:49:17 +05:30
shancds
dc3433a036 feat(enhanced-kanban): add task assignees and labels fetching with improved filter management
- Implemented async thunks to fetch task assignees and labels for enhanced Kanban board.
- Updated state management to store original and current data for task assignees and labels.
- Enhanced filter selection actions to update both original and current data seamlessly.
- Integrated filter data loader for improved user experience in task management.
2025-06-30 12:25:22 +05:30
chamikaJ
14c5c148b9 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.
2025-06-30 11:02:41 +05:30
chamiakJ
7fdea2a285 feat(performance): implement extensive performance optimizations across task management components
- Introduced batching and optimized query handling in SQL functions for improved performance during large updates.
- Enhanced task sorting functions with batching to reduce load times and improve responsiveness.
- Implemented performance monitoring utilities to track render times, memory usage, and long tasks, providing insights for further optimizations.
- Added performance analysis component to visualize metrics and identify bottlenecks in task management.
- Optimized drag-and-drop functionality with CSS enhancements to ensure smooth interactions and reduce layout thrashing.
- Refined task row rendering logic to minimize DOM updates and improve loading behavior for large lists.
- Introduced aggressive virtualization and memoization strategies to enhance rendering performance in task lists.
2025-06-30 07:48:32 +05:30
chamikaJ
e3324f0707 feat(task-management): enhance priority and status dropdowns with fallback rendering
- Added helper functions to display names and colors for raw priority and status values, improving user experience.
- Implemented fallback rendering for dropdowns to handle cases where the priority or status is not found in the list.
- Updated task row to display formatted priority and status values, ensuring consistency across the UI.
- Enhanced error handling in task list rendering to provide meaningful feedback when data is unavailable.
2025-06-27 17:39:47 +05:30
Chamika J
0336715103 Merge pull request #200 from Worklenz/fix/task-list-realtime-update
feat(assignee-selector): implement optimistic updates for assignee ma…
2025-06-27 15:58:54 +05:30
chamikaJ
c37ffd6991 feat(assignee-selector): implement optimistic updates for assignee management
- Added optimistic UI updates for assignee selection, improving user experience with immediate feedback.
- Introduced state management for pending changes to visually indicate ongoing updates.
- Enhanced member toggle functionality to reflect changes instantly in the UI while maintaining socket communication for backend updates.
- Improved checkbox behavior to prevent interaction during pending state, ensuring clarity in user actions.
2025-06-27 15:58:19 +05:30
Chamika J
5a07bcce77 Merge pull request #199 from Worklenz/fix/task-list-realtime-update
feat(task-management): improve hover state management and performance…
2025-06-27 15:28:26 +05:30
chamikaJ
ceb962a92a feat(task-management): improve hover state management and performance in task rows
- Enhanced CSS styles to ensure proper hover state resets and visibility of task action buttons.
- Implemented optimizations for hover effects to prevent flickering and improve user interaction.
- Adjusted containment properties to enhance rendering performance during hover states.
- Refined transition effects for smoother visibility changes of task-related elements.
2025-06-27 15:27:33 +05:30
Chamika J
4af204daec Merge pull request #198 from Worklenz/fix/task-list-realtime-update
feat(task-management): enhance real-time updates and performance opti…
2025-06-27 15:18:13 +05:30
chamikaJ
30edda1762 feat(task-management): enhance real-time updates and performance optimizations
- Implemented CSS styles to prevent flickering during socket updates, ensuring stable content visibility.
- Modified `TaskRow` component to improve loading behavior and prevent blank content during real-time updates.
- Enhanced socket handlers to update task management state immediately upon receiving real-time data, reducing the need for unnecessary refetches.
- Introduced logic to track loading state, ensuring consistent rendering and improved user experience during task updates.
2025-06-27 15:17:29 +05:30
Chamika J
5bd06a12dd Merge pull request #197 from Worklenz/fix/task-list-realtime-update
feat(task-management): enhance task row functionality and URL synchro…
2025-06-27 13:57:41 +05:30
chamikaJ
8b63c1cf9e feat(task-management): enhance task row functionality and URL synchronization
- Integrated Redux for managing task drawer state, allowing for task selection and data fetching when opening the task drawer.
- Improved URL synchronization logic to handle task ID updates more effectively, ensuring proper state management during drawer interactions.
- Updated task indicators to use type-safe access for subtasks, comments, and attachments counts, enhancing code reliability and readability.
- Refactored URL clearing logic to prevent unnecessary updates when closing the task drawer, improving user experience.
2025-06-27 13:56:46 +05:30
Chamika J
1e6b1b7d96 Merge pull request #196 from Worklenz/fix/task-list-realtime-update
feat(localization): update project view header translations and enhan…
2025-06-27 13:24:43 +05:30
chamikaJ
e74668c389 feat(localization): update project view header translations and enhance UI functionality
- Added new translations for "Import task", "Refresh project", "Save as template", and "Invite" in Albanian, German, English, Spanish, and Portuguese.
- Refactored `ProjectViewHeader` component to optimize rendering with memoization and improved state management.
- Enhanced task creation and subscription handling with better performance and error management.
- Improved dropdown and button actions for a more intuitive user experience.
2025-06-27 13:24:01 +05:30
Chamika J
cf52140bca Merge pull request #195 from Worklenz/fix/task-list-realtime-update
Fix/task list realtime update
2025-06-27 13:13:04 +05:30
chamikaJ
7e44d53bb3 feat(performance): implement various performance optimizations across components
- Added a new `usePerformanceOptimization` hook for tracking render performance, debouncing, throttling, and optimized selectors to reduce unnecessary re-renders.
- Enhanced `ProjectGroupList` and `ProjectList` components with preloading of project view and task management components on hover for smoother navigation.
- Updated `TaskListBoard` to import `ImprovedTaskFilters` synchronously, avoiding suspense issues.
- Introduced a `resetTaskDrawer` action in the task drawer slice for better state management.
- Improved layout and positioning in `SuspenseFallback` for better user experience during loading states.
- Documented performance optimizations in `PERFORMANCE_OPTIMIZATIONS.md` outlining key improvements and metrics.
2025-06-27 13:12:47 +05:30
chamikaJ
fdb485614f feat(task-management): enhance task management UI with subtask functionality
- Added localization support for task management messages in multiple languages, including Albanian, German, English, Spanish, and Portuguese.
- Implemented subtask addition feature in the `TaskRow` component, allowing users to create and manage subtasks directly within the task interface.
- Introduced hover effects and improved styling for task rows to enhance user experience and interaction.
- Updated task indicators to display counts for subtasks, comments, and attachments, providing better visibility of task details.
2025-06-27 10:59:21 +05:30
Chamika J
6b35ffe930 Merge pull request #194 from Worklenz/fix/task-list-realtime-update
Fix/task list realtime update
2025-06-27 08:50:02 +05:30
chamiakJ
9a254105fb feat(task-management): add task phase and priority dropdown components
- Introduced `TaskPhaseDropdown` and `TaskPriorityDropdown` components for managing task phases and priorities within the task management interface.
- Integrated these components into the `TaskRow` to enhance user interaction and streamline task updates.
- Updated socket handlers to handle phase and priority changes, ensuring real-time updates and improved task organization.
- Enhanced dropdown functionality with animations and improved accessibility features.
2025-06-27 07:28:47 +05:30
chamiakJ
e73196a249 feat(task-management): implement task movement between groups
- Added `moveTaskBetweenGroups` action to facilitate moving tasks across different groups while maintaining state integrity.
- Enhanced task management slice to support task updates during group transitions, including logging for better debugging.
- Updated socket handlers to utilize the new action for moving tasks based on status, priority, and phase changes, improving task organization and user experience.
2025-06-27 07:06:14 +05:30
chamiakJ
84f77940fd feat(task-management): add functionality to assign tasks to specific groups
- Introduced `addTaskToGroup` action to allow tasks to be added to designated groups based on group IDs.
- Enhanced task management slice to support group assignment for better organization and compatibility with V3 API.
- Updated socket handlers to dispatch `addTaskToGroup` with appropriate group IDs extracted from backend responses.
2025-06-27 07:06:02 +05:30
chamiakJ
3d1cb29a67 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.
2025-06-26 12:26:50 +05:30
Chamika J
345b8500cd Merge pull request #188 from shancds/fix/get-pull-6-26
Fix/get pull 6 26
2025-06-26 12:26:28 +05:30
shancds
3672d02d6f Merge branch 'fix/enhanced-task-board' into fix/get-pull-6-26 2025-06-26 12:18:29 +05:30
shancds
efbfe77deb feat(enhanced-kanban): integrate status categories fetching and improve task card behavior
- Added fetching of status categories in EnhancedKanbanBoard to ensure data availability.
- Enhanced task creation flow in EnhancedKanbanCreateTaskCard by resetting input state and managing focus more effectively.
- Improved cleanup in useEffect hooks to prevent memory leaks and ensure proper resource management.
- Streamlined imports and updated logic in DeleteStatusDrawer for better task group fetching and error handling.
2025-06-26 12:02:21 +05:30
Chamika J
09cf5d8990 Merge pull request #186 from shancds/refact/board-task-card-performance
feat(task-filters): enhance ImprovedTaskFilters for Kanban integration
2025-06-26 09:50:44 +05:30
Chamika J
1e15630708 Merge branch 'release/v2.0.4' into refact/board-task-card-performance 2025-06-26 09:50:30 +05:30
chamiakJ
8c02ad9291 feat(task-filters): enhance performance and debounce functionality in task filters
- Introduced performance constants to limit filter options and improve UI responsiveness.
- Implemented an enhanced debounced function with cancellation support for filter and search changes, reducing unnecessary API calls.
- Optimized filter data retrieval and state updates using memoization to prevent redundant calculations.
- Improved the clear all filters functionality to batch state updates and prevent multiple re-renders, enhancing user experience.
- Updated the handling of search input to immediately clear and dispatch actions, ensuring efficient task fetching.
2025-06-26 00:07:19 +05:30
chamiakJ
4c34a01729 refactor(task-filters): update priority handling in task filters
- Replaced the use of selectedPriorities from taskManagement slice with priorities from taskReducer for consistency across the application.
- Updated dispatch calls in ImprovedTaskFilters to utilize the new setPriorities action, enhancing clarity and maintainability.
- Removed unnecessary imports and streamlined the selector logic for improved performance and readability.
2025-06-25 23:51:59 +05:30
chamiakJ
19cd0e577c feat(task-filters): implement comprehensive filter clearing functionality
- Added logic to clear label, assignee, and priority filters in ImprovedTaskFilters, enhancing user experience by allowing users to reset all filters at once.
- Updated the dependency array in the useEffect hook to include currentTaskLabels and currentTaskAssignees, ensuring proper updates on filter changes.
- Modified task management slice to change the delimiter for selected labels, assignees, and priorities from commas to spaces for improved readability.
2025-06-25 23:46:38 +05:30
chamiakJ
e096bc66ab feat(task-filters): implement search functionality for task filtering
- Added search state management to ImprovedTaskFilters, allowing users to filter tasks based on search input.
- Integrated search actions for both list and board views, ensuring appropriate task fetching based on the current view.
- Updated task management slice to include a search field, enhancing the overall task filtering capabilities.
2025-06-25 23:40:41 +05:30
chamiakJ
f22caea1e5 refactor(task-filters, project-view-header): streamline imports and optimize task fetching
- Removed unused imports and optimized the import structure in ImprovedTaskFilters for better readability and performance.
- Updated ProjectViewHeader to include a call to fetchTasksV3, ensuring enhanced task data is refreshed appropriately.
- Adjusted task creation request type to Partial for improved type safety.
2025-06-25 23:33:32 +05:30
shancds
208d1ad5d4 feat(task-filters): enhance ImprovedTaskFilters for Kanban integration
- Updated useFilterData to support both board and list views, utilizing enhanced Kanban state for filtering.
- Integrated new selectors for Kanban-specific filters including priorities, labels, and assignees.
- Refactored handleSelectionChange and handleSearchChange to accommodate Kanban logic, ensuring proper dispatch of actions based on the selected view.
- Improved overall filter functionality and user experience in task management.
2025-06-25 17:10:38 +05:30
chamikaJ
44527f68cf feat(assignee-selector, suspense-fallback, project-view): optimize component loading and enhance user experience
- Integrated synchronous imports for TaskListFilters and filter dropdowns to improve performance and reduce loading times.
- Refactored AssigneeSelector to include a new invite member drawer functionality, enhancing user interaction.
- Simplified SuspenseFallback components for better loading experiences, ensuring they do not block the main UI.
- Updated project view constants to utilize InlineSuspenseFallback for lazy-loaded components, improving rendering efficiency.
2025-06-25 17:08:40 +05:30
Chamika J
3c7cacc46f Merge pull request #185 from shancds/refact/board-task-card-performance
Refact/board task card performance
2025-06-25 16:25:32 +05:30
chamikaJ
bbd602a297 feat(assignee-selector, labels-selector): improve dropdown visibility handling
- Enhanced dropdown behavior by checking button visibility in the viewport before updating position.
- Added logic to hide the dropdown if the button is not visible, improving user experience during scrolling.
2025-06-25 15:43:24 +05:30
chamikaJ
df2a40b861 feat(assignee-selector): enhance dropdown functionality and position handling
- Added button reference and dropdown position state to improve dropdown positioning.
- Implemented useCallback for updating dropdown position on scroll and resize events.
- Enhanced click outside handling to close the dropdown correctly.
- Utilized createPortal for rendering the dropdown, ensuring it overlays correctly in the DOM.
- Improved styling and behavior of the dropdown button based on its open state.
2025-06-25 15:40:20 +05:30
shancds
e29e5ed0a4 feat(enhanced-kanban): integrate ImprovedTaskFilters and fetchBoardSubTasks for enhanced task management
- Replaced the existing TaskListFilters with ImprovedTaskFilters in EnhancedKanbanBoard for better filtering capabilities.
- Updated EnhancedKanbanTaskCard to handle subtask expansion and fetching using the new fetchBoardSubTasks action.
- Added sectionId prop to EnhancedKanbanTaskCard and EnhancedKanbanGroup for improved task organization.
- Refactored project-view-header to utilize fetchEnhancedKanbanGroups for loading task groups.
2025-06-25 15:24:44 +05:30
chamikaJ
734b5f807b feat(task-management): enhance task components with performance optimizations and new status field
- Rearranged the order of task fields in the dropdown for better usability.
- Introduced a new CSS file for task row optimizations, improving rendering performance and responsiveness.
- Added utility functions for date formatting and performance monitoring to enhance task management efficiency.
- Updated TaskRow and TaskStatusDropdown components to improve rendering and user experience, including better handling of status display and dark mode support.
- Integrated new status field into various task management components, ensuring consistent visibility and functionality across the application.
2025-06-25 15:22:38 +05:30
chamikaJ
85cce6e707 refactor(vite.config.ts): enhance build configuration and chunking strategy
- Updated Vite configuration to ensure a single React instance and improve Ant Design integration by refining the deduplication process.
- Enhanced build settings, including target specification and sourcemap handling, to optimize performance.
- Streamlined manual chunking strategy for better React context management and improved file naming conventions for assets.
- Adjusted CSS optimization settings and introduced experimental features for improved build performance.
2025-06-25 13:24:41 +05:30
chamikaJ
a4da6cdf3a refactor(vite.config.ts): simplify chunking strategy and enhance Ant Design integration
- Streamlined manual chunking strategy in Vite config to improve React context sharing and Ant Design component loading.
- Increased chunk size warning limit to accommodate larger Ant Design chunks.
- Updated Ant Design imports in `antd-imports.ts` for better tree-shaking and consistent React context availability across components.
2025-06-25 13:16:58 +05:30
chamikaJ
f837ca6b23 feat(configuration): enhance Vite config for React and Ant Design integration
- Updated Vite configuration to ensure a single React instance and prevent context issues by adding 'react/jsx-runtime' to deduplication.
- Improved manual chunking strategy to keep React core together and optimize Ant Design component loading.
- Adjusted build settings for better source map handling and chunk size warnings.
- Centralized Ant Design imports in `antd-imports.ts` to ensure React is available for all components.
- Removed exclusions for Ant Design to enhance compatibility and performance.
2025-06-25 13:10:19 +05:30
chamikaJ
7b326e8ff0 feat(project-view): optimize component loading and enhance configuration
- Introduced lazy loading for project view components and chart components to reduce initial bundle size.
- Centralized Ant Design imports in a new `antd-imports.ts` file for better tree-shaking and maintainability.
- Updated project view header and task list components to utilize centralized imports, improving consistency and performance.
- Enhanced project view constants to streamline component rendering and improve user experience.
2025-06-25 13:05:38 +05:30
chamikaJ
680e84d19b feat(task-management): centralize Ant Design imports and enhance task components
- Introduced a new `antd-imports.ts` file to centralize Ant Design component imports, optimizing tree-shaking and improving maintainability.
- Updated various task management components (e.g., TaskRow, TaskGroup, VirtualizedTaskList) to utilize centralized imports, ensuring consistent styling and configuration.
- Enhanced task filtering and display features by adding new fields (e.g., start date, due date, estimation) to task components for improved usability.
- Refactored date handling in task components to utilize memoization for performance optimization.
- Improved overall styling and responsiveness of task management components, particularly in dark mode.
2025-06-25 12:31:39 +05:30
chamikaJ
cf5919a3a0 feat(task-management): enhance Checkbox component and task selection functionality
- Added `indeterminate` state to Checkbox component for better visual representation of partial selections.
- Updated TaskGroup and VirtualizedTaskList components to utilize the new Checkbox features, allowing for group selection with indeterminate states.
- Implemented custom debounce function for saving task fields to localStorage, improving performance during user interactions.
- Enhanced task row styling for better visibility and user experience, particularly in dark mode.
2025-06-25 10:48:01 +05:30