Skip to content

feat(assignee-selector): enhance member invitation functionality and …#288

Merged
chamikaJ merged 15 commits intoWorklenz:imp/invite--improvementfrom
shancds:test/invitation-process
Jul 25, 2025
Merged

feat(assignee-selector): enhance member invitation functionality and …#288
chamikaJ merged 15 commits intoWorklenz:imp/invite--improvementfrom
shancds:test/invitation-process

Conversation

@shancds
Copy link
Copy Markdown
Contributor

@shancds shancds commented Jul 25, 2025

…integrate project manager checks

  • Added hooks for project manager status and authentication to manage member invitation visibility.
  • Refactored dropdown toggle logic for improved readability and performance.
  • Updated UI to conditionally render the invite member button based on user roles (admin or project manager).
  • Cleaned up code formatting for better consistency and maintainability.

chamikaJ and others added 15 commits July 22, 2025 17:26
…nd related components

- Added timezone handling in the getMemberTimeSheets method to ensure accurate date calculations based on user timezone.
- Created ReportingControllerBaseWithTimezone to centralize timezone-related logic for reporting.
- Introduced a migration to add a timezone column to the users table for better user experience.
- Updated frontend API services and hooks to include user's timezone in requests.
- Enhanced members time reports page to display time logs in the user's local timezone.
- Updated SQL queries in reporting controllers to join with the timezones table for accurate timezone retrieval.
- Refactored ReportingMembersController to extend ReportingControllerBaseWithTimezone for centralized timezone logic.
- Removed obsolete migration file that added a timezone column to the users table, as it is no longer needed.
…n ReportingMembersController

- Introduced methods to calculate percentage, convert time formats, and determine date-related metrics such as days left, overdue status, and if a date is today.
- Updated existing logic in getSingleMemberProjects to utilize the new utility methods for improved clarity and maintainability.
- Introduced multiple new indexes in the SQL schema to enhance query performance for tasks, including composite indexes for filtering and sorting.
- Added indexes for various task-related entities such as assignees, phases, labels, comments, and attachments to improve data retrieval efficiency.
- Implemented covering indexes to optimize task aggregation and search functionalities, ensuring faster access to frequently queried data.
feat(database): add performance indexes for optimized task queries
…integrate project manager checks

- Added hooks for project manager status and authentication to manage member invitation visibility.
- Refactored dropdown toggle logic for improved readability and performance.
- Updated UI to conditionally render the invite member button based on user roles (admin or project manager).
- Cleaned up code formatting for better consistency and maintainability.
…ate request

- Updated the job title assignment in the member update request to use the value from the form field instead of a previously hardcoded variable.
…the selection list

- Implemented logic to filter available members by excluding those already part of the current project.
- Updated the member selection dropdown to display only non-invited members, enhancing the user experience during the invitation process.
@chamikaJ chamikaJ merged commit 6e71a91 into Worklenz:imp/invite--improvement Jul 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants