Commit Graph

412 Commits

Author SHA1 Message Date
chamikaJ
6f66367282 feat(task-management): improve dropdown behavior and enhance task row components
- Updated AssigneeSelector and LabelsSelector to close dropdowns only when scrolling outside the dropdown area, enhancing user experience.
- Introduced TaskLabelsCell component in TaskRow for better label rendering and organization.
- Refactored date handling in TaskRow to consolidate formatted date logic and improve clarity.
- Memoized date picker handlers for better performance and cleaner code.
2025-07-04 11:01:21 +05:30
chamikaJ
8adeabce61 feat(task-management): integrate TaskPhaseDropdown in TaskRow for enhanced task phase management
- Added TaskPhaseDropdown component to TaskRow for improved phase selection.
- Replaced static phase display with a dropdown for better interactivity and user experience.
2025-07-04 10:33:48 +05:30
chamikaJ
7e6d7d8580 feat(task-management): enhance task date handling and UI components in TaskListV2
- Added startDate and dueDate fields to task data structure for improved date management.
- Updated TaskRow to include date pickers for start and due dates with clear functionality.
- Enhanced LabelsSelector to support dynamic label rendering and improved visual feedback.
- Refactored AssigneeSelector and CustomColordLabel components for better integration with task data.
- Improved dropdown positioning logic in LabelsSelector for better user experience.
- Added translations for new date-related UI elements in multiple languages.
2025-07-04 10:29:51 +05:30
chamiakJ
64f1e5831a feat(task-management): enhance TaskGroupHeader and TaskListV2 for improved task display and reordering
- Updated TaskGroupHeader to display task count alongside group name for better clarity.
- Refactored task reordering logic in TaskListV2 to streamline drag-and-drop functionality across groups.
- Added TypeScript definitions for Heroicons to improve type safety and component usage.
- Adjusted styling in TaskGroupHeader for a more consistent visual presentation.
2025-07-04 07:50:16 +05:30
chamikaJ
551924c384 feat(task-management): integrate real-time updates and enhance task row components
- Added useTaskSocketHandlers to TaskListV2 for real-time task updates.
- Updated TaskRow to accept projectId prop for better context handling.
- Replaced static status and priority displays with TaskStatusDropdown and TaskPriorityDropdown for improved interactivity.
- Enhanced dropdown positioning logic in TaskStatusDropdown and TaskPriorityDropdown to handle scrollable containers effectively.
2025-07-03 20:02:00 +05:30
chamikaJ
6bf98b787e feat(task-management): enhance task assignment handling and UI feedback in AssigneeSelector
- Introduced optimistic updates for assignee selection to improve UI responsiveness.
- Updated AssigneeSelector to initialize optimistic assignees from task data on mount.
- Refactored task assignment logic to ensure unique assignee IDs and improved state management.
- Enhanced TaskGroupHeader and TaskListV2 to support bulk actions and selection state.
- Integrated a new bulk action bar for managing selected tasks efficiently.
2025-07-03 19:28:14 +05:30
chamikaJ
6b7f412341 feat(task-management): enhance task list with improved drag-and-drop functionality and visual feedback
- Integrated droppable areas in TaskGroupHeader for better task organization.
- Implemented drag-over visual feedback to indicate valid drop zones.
- Enhanced TaskListV2 to handle cross-group task movement and reordering.
- Optimized TaskRow for better rendering performance and added memoization for task details.
- Improved Redux state management for task reordering and group handling.
2025-07-03 18:02:00 +05:30
chamikaJ
edf051adc7 feat(task-management): enhance task list with drag-and-drop functionality and improved styling
- Integrated drag-and-drop capabilities using @dnd-kit for task reordering within the TaskListV2 component.
- Updated TaskGroupHeader to dynamically adjust colors based on group properties, improving visual clarity.
- Refactored TaskRow to support drag-and-drop interactions and optimized rendering of task details.
- Enhanced Redux state management for collapsed groups, transitioning from Set to array for better compatibility.
- Improved task display logic to handle optional fields and ensure consistent rendering across components.
2025-07-03 17:34:31 +05:30
chamikaJ
d15c00c29b feat(task-management): enhance task list with new components and improved state management
- Introduced TaskListV2 and TaskGroupHeader components for a more organized task display.
- Implemented virtualized rendering using react-virtuoso for efficient task list handling.
- Updated Redux state management to include new selectors and improved task grouping logic.
- Added task filtering capabilities with TaskListFilters component for better user experience.
- Enhanced task selection handling and integrated drag-and-drop functionality for task rows.
- Updated package dependencies to include new libraries for icons and forms.
2025-07-03 15:31:54 +05:30
chamikaJ
e26f16bbc2 feat(routes): implement lazy loading and suspense fallback for route components
- Refactored account setup, admin center, reporting, and settings routes to utilize React's lazy loading for improved performance.
- Wrapped route components in Suspense with a fallback UI to enhance user experience during loading states.
- Removed unused drag-and-drop CSS file to clean up the codebase.
2025-07-03 10:34:06 +05:30
chamikaJ
c19c1c2f34 refactor(task-management): optimize task selection handling in TaskListBoard
- Improved task selection logic by utilizing a Set for efficient addition and removal of selected task IDs.
- Streamlined the dispatch of selected tasks and IDs to Redux state, enhancing performance and readability.
- Removed unused context menu logic from TaskRow component, simplifying the codebase and focusing on subtask expansion management.
2025-07-03 09:44:16 +05:30
chamiakJ
bb4229a82d Merge branch 'release/v2.0.4' of https://github.com/Worklenz/worklenz into fix/WB-705-task-list-timer-cell 2025-07-03 07:48:00 +05:30
chamiakJ
e41cead10b 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.
2025-07-03 07:42:43 +05:30
chamiakJ
ecd4d29a38 expand sub tasks 2025-07-03 01:31:05 +05:30
Chamika J
3159ba14b9 Merge pull request #224 from Worklenz/fix/WB-705-task-list-timer-cell
feat(task-management): add configuration buttons and permission check…
2025-07-02 16:12:12 +05:30
chamikaJ
3bef18901a feat(task-management): add configuration buttons and permission checks to task filters
- Introduced ConfigPhaseButton and CreateStatusButton components for enhanced task filtering options.
- Implemented permission checks to conditionally render configuration buttons based on user roles (owner/admin or project manager).
- Removed the TaskManagementDemo component as it was no longer needed, streamlining the codebase.
2025-07-02 16:11:48 +05:30
Chamika J
a2395f121b Merge pull request #223 from Worklenz/fix/WB-705-task-list-timer-cell
Fix/wb 705 task list timer cell
2025-07-02 16:01:29 +05:30
chamikaJ
a1e8a4c464 feat(task-management): enhance bulk action bar and localization updates
- Added new features to the OptimizedBulkActionBar, including dropdowns for labels and assignees, improving task management capabilities.
- Integrated task template creation functionality for owners/admins, allowing users to create templates from selected tasks.
- Updated localization files for multiple languages, adding new strings for label searching and template name requirements to enhance user experience.
- Refactored LabelsDropdown component to support label filtering and improved UI feedback for label creation.
2025-07-02 16:01:04 +05:30
chamikaJ
365369cc31 feat(i18n): enhance translation loading and preloading mechanism
- Introduced a utility function `ensureTranslationsLoaded` to preload essential translation namespaces, improving app initialization.
- Updated `App` component to initialize translations alongside CSRF token on startup.
- Created custom hooks `useTranslationPreloader`, `useBulkActionTranslations`, and `useTaskManagementTranslations` to manage translation readiness and prevent Suspense issues.
- Refactored components to utilize new translation hooks, ensuring translations are ready before rendering.
- Enhanced `OptimizedBulkActionBar` and `TaskListBoard` components to improve user experience during language switching.
2025-07-02 15:37:24 +05:30
chamikaJ
0452dbd179 feat(task-management): implement task reordering and group updates via API
- Added API methods for reordering tasks and updating task groups (status, priority, phase).
- Enhanced task management slice with async thunks for handling task reordering and group movements.
- Updated task list board to support real-time updates during drag-and-drop operations, emitting socket events for task sort order changes.
- Refactored task-related components to utilize shared Ant Design imports for consistency and maintainability.
- Removed unused Ant Design imports and optimized drag-and-drop CSS for improved performance.
2025-07-02 15:17:21 +05:30
chamikaJ
2064c0833c feat(task-management): enhance task details and subtask handling
- Added subtask-related properties to the Task interface for better management of subtasks.
- Implemented functionality to show and add subtasks directly within the task list, improving user interaction.
- Updated task rendering logic to accommodate new subtask features, enhancing overall task management experience.
- Removed unused components and optimized imports across various task management files for cleaner code.
2025-07-02 12:38:24 +05:30
Chamika J
d0947112eb Merge pull request #222 from shancds/fix/project-drawer-issues
refactor(enhanced-kanban): update state management for editable section
2025-07-02 12:34:14 +05:30
shancds
c9d9134049 refactor(enhanced-kanban): update state management for editable section
- Changed the source of `editableSectionId` from `boardReducer` to `enhancedKanbanReducer` for improved state organization.
- Added `setEditableSection` and `deleteSection` actions to manage the editable section state within the enhanced kanban slice.
2025-07-02 12:28:34 +05:30
Chamika J
91b8f4ca2b Merge pull request #221 from shancds/fix/project-drawer-issues
fix(enhanced-kanban): update subtask placeholder text for clarity
2025-07-02 12:23:30 +05:30
shancds
d56eaa9f02 fix(enhanced-kanban): prevent unnecessary state updates on blur event 2025-07-02 12:05:54 +05:30
shancds
71e1d58ec6 refactor(enhanced-kanban): simplify task creation event handling
- Updated the event handler in EnhancedKanbanCreateTaskCard to clarify that the form reset is separate from the global task addition to Redux, improving code readability and maintainability.
2025-07-02 11:41:43 +05:30
shancds
382283d0ce fix(enhanced-kanban): update subtask placeholder text for clarity 2025-07-02 11:20:56 +05:30
chamikaJ
c29ba6ea69 refactor(task-row): clean up imports and remove unused components
- Removed unused imports and components from task-row.tsx
2025-07-02 09:34:02 +05:30
chamikaJ
cf5f5c1449 feat(task-row): integrate task timer functionality into task management
- Added TaskTimer component to manage task time tracking.
- Updated TaskTimeTracking to utilize the new timer functionality, enhancing user interaction with task timing.
- Refactored props to pass task ID for timer management, improving state handling.
2025-07-02 09:27:36 +05:30
Chamika J
d5796b2cb5 Merge pull request #219 from Worklenz/fix/WB-708-task-progress
feat(task-row): add progress indicator with CheckCircle icon
2025-07-02 09:21:38 +05:30
chamikaJ
dd8bfe9fce feat(task-row): add progress indicator with CheckCircle icon
- Introduced a visual indicator for task progress, displaying a CheckCircle icon when progress reaches 100%.
- Updated the rendering logic to show a progress bar for incomplete tasks, enhancing user feedback on task status.
2025-07-02 09:21:27 +05:30
Chamika J
eb158678d4 Merge pull request #217 from shancds/fix/enhanced-board-assignees
Fix/enhanced board assignees
2025-07-02 09:08:55 +05:30
Chamika J
865502a796 Merge pull request #218 from Worklenz/fix/bulk-action-bar
feat(task-management): enhance bulk action bar with new features and …
2025-07-02 09:08:36 +05:30
chamikaJ
7a7856bc36 Merge branch 'release/v2.0.4' of https://github.com/Worklenz/worklenz into fix/bulk-action-bar 2025-07-02 09:07:09 +05:30
chamikaJ
756c9b892f feat(suspense-fallback): replace Spin with Skeleton for improved loading experience
- Updated the SuspenseFallback component to use Ant Design's Skeleton instead of Spin for a more visually appealing loading state.
- Enhanced the layout with padding and responsive width settings for better presentation.
- Adjusted InlineSuspenseFallback to implement similar Skeleton loading structure, improving consistency across components.
2025-07-02 08:59:45 +05:30
chamiakJ
ccde08b700 feat(task-management): enhance bulk action bar with new features and translations
- Added new bulk action options for changing status, priority, and phase, as well as adding labels and assigning tasks.
- Integrated translations for English, German, Spanish, and Portuguese in the task table bulk actions.
- Updated the `OptimizedBulkActionBar` to utilize Redux state for status, priority, and phase selections.
- Improved user experience with dynamic dropdown menus for bulk actions and confirmation prompts.
- Refactored task selection handling to ensure proper state management during bulk actions.
2025-07-02 07:59:34 +05:30
shancds
87f73ee4c2 feat(assignee-selector): enhance real-time updates and UI interactions
- Added socket event handling for quick assignee updates, dispatching changes to the enhanced Kanban state.
- Updated AssigneeSelector component to prevent event propagation on dropdown interactions.
- Integrated AvatarGroup and LazyAssigneeSelectorWrapper in EnhancedKanbanTaskCard for improved assignee display and selection.
2025-07-01 18:21:52 +05:30
shancds
0a92d38ccf refactor(task-sort-order): optimize access check and clean up code
- Improved the access check logic by incorporating team member validation in the SQL query, enhancing security and accuracy.
- Removed unnecessary whitespace for cleaner code formatting.
- Updated socket event emission for consistency in response structure.
2025-07-01 16:57:07 +05:30
Chamika J
e4e6d3c74d Merge pull request #213 from Worklenz/fix/task-list-realtime-update
chore(dependencies): update package-lock.json and package.json for de…
2025-07-01 15:22:59 +05:30
chamikaJ
98a96b4fcc chore(dependencies): update package-lock.json and package.json for dependency management
- Removed `pg-native` from dependencies in both package files.
- Updated several AWS SDK and Smithy packages to their latest versions for improved functionality and security.
- Added new dependencies for emoji-regex and string-width to enhance task management features.
- Adjusted various package versions to ensure compatibility and performance optimizations across the application.
2025-07-01 15:19:21 +05:30
shancds
63483e01c2 Merge branch 'release/v2.0.4' of https://github.com/Worklenz/worklenz into fix/enhanced-board-sub-task-section 2025-07-01 12:42:05 +05:30
Chamika J
b247186a0a Merge pull request #212 from Worklenz/fix/task-list-realtime-update
Fix/task list realtime update
2025-07-01 12:31:36 +05:30
shancds
4304ebf7b1 refactor(task-socket-handlers): remove unnecessary console logs for cleaner code
- Eliminated various console log statements from the task socket handlers to enhance code clarity and performance.
- Maintained functionality while reducing noise in the console output during task status, priority, and phase changes.
2025-07-01 12:24:32 +05:30
Chamika J
4d229c79d5 Merge pull request #211 from shancds/fix/enhanced-board-sub-task-section
Fix/enhanced board sub task section
2025-07-01 12:11:18 +05:30
Chamika J
6e995e7fc2 Merge pull request #209 from shancds/fix/task-manual-progress-update
Fix/task manual progress update
2025-07-01 12:10:59 +05:30
Chamika J
eec100dfe8 Merge pull request #207 from shancds/fix/kanban-board-enhanced-feat
feat(enhanced-kanban): enhance drag-and-drop overlays with theme-awar…
2025-07-01 12:10:01 +05:30
shancds
10d64c88e3 feat(enhanced-kanban): implement real-time updates and task expansion handling
- Integrated socket event handlers for real-time updates in the enhanced Kanban board, improving task management responsiveness.
- Added functionality to toggle task expansion for subtasks, enhancing user interaction with task details.
- Updated state management to handle subtasks more effectively, including loading states and counts.
- Refactored subtask fetching logic to utilize a dedicated API endpoint, streamlining data retrieval.
2025-07-01 12:04:30 +05:30
shancds
165a87ce69 feat(enhanced-kanban): add start and end date updates for tasks in task drawer
- Implemented actions to update task start and end dates within the enhanced Kanban feature, ensuring real-time synchronization when the task drawer is used.
- Enhanced task drawer components to dispatch updates to the enhanced Kanban state based on the current tab, specifically when on the board tab.
- Improved state management for task date properties, allowing for better handling of task updates across different views.
2025-07-01 11:02:04 +05:30
shancds
e5ff036d81 feat(task-status): enhance task status change handling to reset manual progress
- Added logic to reset manual_progress to FALSE when a task transitions from "done" to "todo" or "doing", allowing for accurate progress recalculation based on subtasks.
- Improved logging for task status changes to provide better insights into task management actions.
- Ensured parent task progress updates are triggered appropriately for subtasks during status changes.
2025-07-01 10:18:56 +05:30
chamiakJ
326f283d4e feat(task-management): introduce optimized bulk action bar component
- Added a new `OptimizedBulkActionBar` component for enhanced task management.
- Implemented performance optimizations, including memoization and smooth animations.
- Integrated bulk action handlers for status, priority, phase changes, and more.
- Updated `TaskListBoard` to utilize the new bulk action bar, improving user experience for task selection and actions.
- Included responsive design adjustments and accessibility features.
2025-07-01 10:11:39 +05:30