Commit Graph

546 Commits

Author SHA1 Message Date
chamiakJ
75c55fff21 refactor(search): improve SQL search handling and optimize project list component
- Enhanced search handling in WorklenzControllerBase to properly escape single quotes, preventing SQL syntax errors.
- Refactored search logic in ProjectList to maintain reference stability and improve performance during debounced searches.
- Removed unnecessary console logs and optimized loading state management for better user experience.
2025-07-09 22:38:58 +05:30
chamikaJ
8f5de8f1a1 refactor(task-management): update search handling and improve task filtering
- Modified search handling to utilize the taskManagement slice for consistent state management across components.
- Enhanced placeholder text in search filters for better user guidance.
- Updated task fetching logic to ensure accurate search value retrieval from the correct state slice.
2025-07-09 17:11:15 +05:30
chamikaJ
db9b481e8d refactor(task-list): enhance task addition functionality in TaskListV2Table and AddTaskRow
- Introduced state management for dynamic add task rows in TaskListV2Table, allowing real-time updates when tasks are added.
- Updated handleTaskAdded to manage new task row creation based on group ID.
- Enhanced AddTaskRow to support auto-focus functionality and unique row identification for improved user experience during task addition.
- Refactored input handling in AddTaskRow to maintain focus and streamline task creation process.
2025-07-09 17:02:37 +05:30
Chamika J
cdd22e5f2f Merge pull request #252 from shancds/test/row-kanban-board-v1.1.7
Test/row kanban board v1.1.7
2025-07-09 16:58:46 +05:30
shancds
635b5ce8e1 feat(task-drawer): add functionality to hide task drawer on task deletion
- Imported setShowTaskDrawer action to manage task drawer visibility.
- Updated TaskDrawerHeader to dispatch setShowTaskDrawer(false) after task deletion, improving user experience by closing the drawer automatically.
2025-07-09 16:55:03 +05:30
shancds
1a476a0e3c Merge branch 'test/row-kanban-board-v1.1.6' of https://github.com/shancds/worklenz-open-source into test/row-kanban-board-v1.1.7 2025-07-09 16:41:51 +05:30
shancds
80b1d6c292 Merge branch 'fix/release-v.2.1.1' of https://github.com/Worklenz/worklenz into test/row-kanban-board-v1.1.7 2025-07-09 16:36:59 +05:30
chamikaJ
deb0f3f602 refactor(task-list): enhance task rendering and editing functionality in TaskRow and TaskListV2Table
- Updated TaskListV2Table to pass isFirstInGroup prop to renderTask for improved task grouping logic.
- Enhanced TaskRow to support inline editing of task names with a new input field and associated state management.
- Implemented click outside detection to save task name changes when editing is complete.
- Improved layout and styling for better user experience during task editing and display.
2025-07-09 16:32:28 +05:30
shancds
71f168f8fa feat(kanban-board): add subtasks localization and enhance task drawer functionality
- Added new localization keys for subtasks in the kanban board JSON file to improve user experience.
- Updated the SubTaskTable component to dispatch enhanced kanban subtask updates upon deletion.
- Enhanced the TaskDrawerHeader to handle deletion of subtasks with appropriate state updates in the kanban context.
2025-07-09 16:27:48 +05:30
chamikaJ
6f63041148 refactor(task-list): update status handling and enhance styling in TaskListV2Table
- Modified status assignment in useTaskSocketHandlers to utilize actual status_id from the response for improved accuracy.
- Simplified status logic by directly using data.status in task creation.
- Enhanced styling in TaskListV2Table by adding border styles for better visual separation of elements.
2025-07-09 15:57:08 +05:30
chamikaJ
399a01904a refactor(task-list): enhance styling and structure in TaskListV2 and TaskRow components
- Consolidated import statements for better readability.
- Improved layout and styling consistency by adding border styles to various elements in TaskRow and AddTaskRow components.
- Updated TaskListV2Table to enhance the rendering logic and maintainability.
- Adjusted custom column handling and task estimation display for improved user experience.
2025-07-09 14:58:54 +05:30
chamikaJ
9cc19460bd Merge branch 'fix/release-v.0.1.1' of https://github.com/Worklenz/worklenz into fix/release-v.2.1.1 2025-07-09 14:51:26 +05:30
Chamika J
2920f131f8 Merge pull request #251 from shancds/test/row-kanban-board-v1.1.5
refactor(task-list): streamline TaskListV2 component and improve stru…
2025-07-09 14:30:08 +05:30
shancds
04f622a7f0 refactor(task-list): streamline TaskListV2 component and improve structure
- Removed unused imports and consolidated task list logic for better readability.
- Introduced TaskListV2Section for improved organization and separation of concerns.
- Enhanced task filtering and rendering logic to optimize performance and maintainability.
- Updated styling and layout for a cleaner user interface and better usability.
2025-07-09 14:21:10 +05:30
chamikaJ
fadc115412 feat(task-reporter): add reporter field to task data structure
- Introduced a new 'reporter' field in the task data structure for both backend and frontend task management.
- Updated the tasks-controller to include the reporter information when transforming task data.
- Modified the fetchTasks and fetchTasksV3 functions to handle the reporter field, ensuring it defaults to undefined when not present.
2025-07-09 13:01:51 +05:30
chamikaJ
10c53d954e refactor(task-list): unify date handling and enhance column widths
- Updated TaskRow component to handle both camelCase and snake_case date fields for created and updated timestamps.
- Adjusted column widths for due date, start date, completed date, created date, and last updated fields for better layout consistency.
- Ensured whitespace handling in date display spans for improved UI presentation.
2025-07-09 12:32:17 +05:30
chamikaJ
29a09ec500 refactor(task-drawer): enhance task deletion handling and update imports
- Updated task deletion logic to ensure consistency across task management slices, including clearing selections and updating the board state.
- Refactored imports to streamline task management functionality and improve code clarity.
- Added new Ant Design icon import for enhanced UI options.
2025-07-09 12:22:37 +05:30
chamikaJ
6dba080ade refactor(task-drawer): streamline task name handling and enhance socket management
- Removed local socket listener for task name changes, relying on global socket handlers for real-time updates.
- Simplified task name change handling logic to improve clarity and maintainability.
- Enhanced task status group matching logic in useTaskSocketHandlers for better accuracy with multiple matching strategies.
- Added detailed logging for task movement and status changes to aid in debugging and tracking.
2025-07-09 12:11:11 +05:30
chamikaJ
ab7ca33ac1 feat(localization): improve translation handling and update UI labels
- Updated the 'board' label in project-view translations for consistency.
- Enhanced the getTabLabel function to include fallback labels for better user experience when translations are not available.
- Implemented translation loading checks in ProjectView to ensure labels are updated correctly based on the selected language.
- Refactored tab label updates to handle translation loading errors gracefully.
2025-07-09 11:58:40 +05:30
chamikaJ
bc6a15de8f feat(localization): add 'share' label translations for multiple languages
- Added the 'share' label to project view headers in Albanian, German, Spanish, Portuguese, Chinese, and English to enhance user interaction.
- Updated corresponding button icons and labels in the project view header for improved functionality and consistency.
2025-07-09 11:41:09 +05:30
chamikaJ
a47a9045e6 feat(localization): add new label management translations for multiple languages
- Introduced new translation keys for label management features in Albanian, German, Spanish, Portuguese, Chinese, and English.
- Updated placeholder texts, button labels, and paths to enhance user experience in the task list component.
2025-07-09 11:31:00 +05:30
Tharindu shan
b6e92b4211 Merge branch 'Worklenz:main' into test/row-kanban-board-v1.1.4 2025-07-09 08:58:51 +05:30
Chamika J
6c620d6878 Merge pull request #247 from Worklenz/release/v2.0.4-bug-fix
Release/v2.0.4 bug fix
v2.1.0
2025-07-09 06:22:56 +05:30
chamikaJ
072c1a6a3b refactor(task-list): improve layout and styling for task list and rows
- Adjusted padding and alignment in TaskListV2 for better visual consistency.
- Enhanced styling in TaskRow to ensure uniformity across various task elements.
- Updated flex properties for improved responsiveness and usability in task display.
2025-07-08 17:10:56 +05:30
Chamika J
78e14d6378 Merge pull request #245 from shancds/test/row-kanban-board-v1.1.4
Test/row kanban board v1.1.4
2025-07-08 17:00:19 +05:30
chamikaJ
68e71d09ea refactor(task-list): enhance layout and styling for improved usability
- Adjusted heights and padding in the task list and filters for better space optimization.
- Updated styling in TaskRow for consistent alignment of task elements.
- Refined padding in ImprovedTaskFilters for a cleaner appearance.
- Removed unnecessary margin in ProjectViewHeader to streamline layout.
2025-07-08 16:51:44 +05:30
chamikaJ
6ac2a0c888 refactor(task-list): improve layout and styling for better usability
- Removed unnecessary padding from task filters for a cleaner look.
- Adjusted height calculations to optimize space usage in the task list.
- Added padding to the content area to ensure the horizontal scrollbar is visible.
- Updated subtask count checks for clarity and consistency.
- Modified gap and margin values in project view header for improved alignment.
2025-07-08 16:13:56 +05:30
chamikaJ
66e01119d2 refactor(task-drawer): update tab behavior and enhance link handling in description editor
- Changed tab component property from 'destroyInactiveTabPane' to 'destroyOnHidden' for improved tab management.
- Added CSS styles for links in the description editor to enhance visibility based on theme mode.
- Implemented link click handling to open links in a new tab while preventing default editor behavior, improving user experience.
2025-07-08 16:02:12 +05:30
chamikaJ
8fb33e311d feat(localization): enhance task drawer translations and UI consistency
- Updated translations for task drawer components in Albanian, German, Spanish, Portuguese, Chinese, and English to improve clarity and consistency.
- Added new keys for task progress, activity log, and time log forms to support enhanced user interactions.
- Improved placeholder texts, error messages, and button labels for better user experience across multiple languages.
- Refactored activity log component to utilize translation keys for dynamic content rendering.
2025-07-08 15:51:47 +05:30
chamikaJ
f06851fa37 feat(localization): add and update translations for multiple languages
- Introduced new localization files for Albanian, German, Spanish, Portuguese, and Chinese, enhancing the application's multilingual support.
- Added new keys and updated existing translations in project-view, task-list-table, and settings files to improve user experience across different languages.
- Enhanced error handling and empty state messages in task management components to provide clearer feedback to users.
- Updated tooltip texts and button labels for better clarity and consistency in the user interface.
2025-07-08 15:26:55 +05:30
chamikaJ
e750023fdc Merge branch 'development' of https://github.com/Worklenz/worklenz into release/v2.0.4-bug-fix 2025-07-08 13:12:22 +05:30
shancds
e2e57fbf26 fix(KanbanGroup): enhance input focus behavior to select text on focus
- Updated the focus handling in KanbanGroup to select all text in the input field when focused, improving user experience during task editing.
2025-07-08 12:59:31 +05:30
Chamika J
56d6a53a54 Merge pull request #208 from jiuhao47/main
add support for zh_cn
2025-07-08 12:57:07 +05:30
shancds
ee6055934c refactor(AssigneeSelector): streamline component logic and enhance dropdown behavior
- Removed unused kanbanMode prop and related logic to simplify the AssigneeSelector component.
- Updated dropdown position handling to improve visibility and responsiveness during interactions.
- Optimized member selection logic for better performance and user feedback.
- Enhanced the rendering of team members with improved visual feedback for pending changes.
2025-07-08 12:49:49 +05:30
chamikaJ
03b3f55400 fix(project-list): enhance grouped request parameters handling
- Updated the initialization of grouped request parameters to use a proper groupBy value.
- Improved the effect dependencies to include groupBy, ensuring correct state management.
- Enhanced the logic for fetching grouped projects, ensuring parameters are set correctly and data is retrieved when necessary.
- Added comments for clarity on the conditions for fetching grouped projects.
2025-07-08 12:43:00 +05:30
shancds
2aab2a21b6 feat(EnhancedKanbanBoard): implement drag end handling for improved task interaction
- Added handleDragEnd function to reset hovered task and group states after drag operations in EnhancedKanbanBoard.
- Updated KanbanGroup and TaskCard components to support onDragEnd prop, enhancing drag-and-drop functionality and user experience during task management.
2025-07-08 12:13:23 +05:30
chamikaJ
a44b276269 feat(email-templates): update release note template for Worklenz 2.1.0
- Added a title and meta subject for the release note template.
- Enhanced styling for better readability and user experience, including background color, font adjustments, and button styles.
- Introduced new sections for features, including a new tasks list, kanban board, group view, language support, and bug fixes.
- Improved responsiveness and dark mode support for the email template.
2025-07-08 11:59:17 +05:30
shancds
d150747f83 refactor(ProjectViewEnhancedBoard): remove unused EnhancedKanbanBoard import 2025-07-08 10:57:34 +05:30
shancds
fa9e765e37 refactor(KanbanGroup, TaskCard): enhance drag-and-drop indicators and task rendering
- Added visual drop indicators before and after task cards in the KanbanGroup component to improve user experience during drag-and-drop operations.
- Removed the isDropIndicator prop from TaskCard as the drop indicator logic is now handled within the KanbanGroup, simplifying the TaskCard component.
- Updated drag-and-drop event handling in TaskCard to better manage task positioning during drag operations, enhancing overall functionality.
2025-07-07 17:20:34 +05:30
chamikaJ
b0253135e5 feat(project-drawer): enhance project data fetching and error handling
- Updated project data fetching logic in the project drawer and related components to ensure the drawer opens only after successful data retrieval.
- Added detailed logging for successful and failed fetch attempts to improve debugging and user feedback.
- Introduced error handling to maintain user experience by allowing the drawer to open even if data fetching fails, displaying an error state.
- Refactored project list and project view components to optimize search functionality and improve loading states.
- Removed deprecated components related to task management to streamline the project view.
2025-07-07 17:07:45 +05:30
shancds
8e62594eff fix(TaskCard): update background color for improved UI consistency
- Changed the background color of the TaskCard component from '#f0f0f0' to '#E2EAF4' in light mode to enhance visual consistency and user experience.
2025-07-07 15:17:33 +05:30
chamikaJ
978d9158c0 feat(database): add performance indexes and materialized view for optimization
- Created multiple new indexes in the performance-indexes.sql file to enhance query performance for tasks, team members, and related tables.
- Added a materialized view for team member information in 3_views.sql to pre-calculate expensive joins, improving data retrieval efficiency.
- Introduced a function to refresh the materialized view, ensuring up-to-date information while optimizing performance.
- Implemented an optimized method in tasks-controller-v2.ts to split complex queries into focused segments, significantly improving response times and overall performance.
2025-07-07 15:01:11 +05:30
chamikaJ
134899114d refactor(index.html): update production tracking ID logic
- Simplified the logic for determining the production tracking ID by removing the check for the 'worklenz.com' hostname.
- Ensured that the tracking ID is now solely based on the 'app.worklenz.com' hostname, streamlining the analytics loading process.
2025-07-07 14:50:01 +05:30
chamikaJ
8533a440bc refactor(tasks-controller): enhance getTasksV3 method for performance and clarity
- Improved logging for performance tracking in the getTasksV3 method.
- Streamlined progress refresh logic and removed unnecessary calculations to optimize initial load times.
- Unified query handling by aligning with the getList method for consistency.
- Transformed response structure to maintain compatibility with V3 format while ensuring efficient data processing.
- Added memoized selectors in the frontend for better performance and reduced re-renders.
2025-07-07 14:30:19 +05:30
chamikaJ
9ec422c6e2 Merge branch 'release/v2.0.4-bug-fix' of https://github.com/Worklenz/worklenz into release/v2.0.4-bug-fix 2025-07-07 14:10:36 +05:30
Chamika J
6c03bf71c2 Merge pull request #243 from shancds/test/row-kanban-board-v1.1.3
Test/row kanban board v1.1.3
2025-07-07 14:10:06 +05:30
chamikaJ
3887cc477d refactor(tasks-controller): enhance SQL query structure and improve task filtering
- Updated SQL queries in TasksControllerV2 to use table aliases for clarity and consistency.
- Improved filtering logic for project IDs and assignees to ensure accurate task retrieval.
- Refactored JSON object construction in SQL queries for better readability and maintainability.
- Adjusted parameter handling in query execution to streamline data retrieval processes.
2025-07-07 14:10:04 +05:30
chamikaJ
0b96d59285 refactor(tasks-controller): remove Redis caching logic for task retrieval
- Eliminated caching logic from the TasksControllerV2 to streamline task retrieval and improve performance.
- Updated response handling to directly return task data without caching, enhancing clarity and reducing complexity.
- Removed cache invalidation method to simplify the controller's responsibilities.
2025-07-07 13:22:17 +05:30
chamikaJ
a3f317cbeb refactor(vite.config): simplify chunking strategy and optimize asset naming
- Updated the chunking strategy to keep React and related libraries together, improving compatibility and reducing context issues.
- Simplified asset naming conventions for better caching and consistency, removing unnecessary hash lengths.
- Adjusted optimization settings to ensure critical libraries are included while excluding heavy libraries for lazy loading.
2025-07-07 13:16:26 +05:30
shancds
5a9ceb4a94 feat(EnhancedKanbanBoard): add task dependency check during drag-and-drop
- Implemented a check for task dependencies when moving tasks between groups in the EnhancedKanbanBoard component.
- Integrated alert notifications to inform users if a task cannot be moved due to incomplete dependencies, enhancing user experience and task management integrity.
2025-07-07 13:12:50 +05:30