Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit select for user cf value options #17350

Conversation

ulferts
Copy link
Contributor

@ulferts ulferts commented Dec 4, 2024

Ticket

https://community.openproject.org/wp/59872

What are you trying to accomplish?

Improve the performance of rendering the filter section in the project list in case a lot of users (which need to members in projects visible to the calling user) exist in the instance and multiple user custom fields are configured.

What approach did you choose and why?

Easy to achieve improvement by selecting only the fields necessary for filling the selects. A long term solution would be to apply autocompleters there which load the data on demand. This would be require way more work. The proposal for doing this is already tracked.

@ulferts ulferts force-pushed the implementation/59872-avoid-fully-instantiating-user-objects-as-only-the-name-and-the-id-are-used-in-the-select branch from 8c522ce to 7efed5b Compare December 4, 2024 13:38
@ulferts ulferts marked this pull request as ready for review December 4, 2024 15:21
@ulferts ulferts changed the base branch from release/15.1 to dev December 10, 2024 11:18
@ulferts ulferts merged commit fba9163 into dev Dec 12, 2024
14 checks passed
@ulferts ulferts deleted the implementation/59872-avoid-fully-instantiating-user-objects-as-only-the-name-and-the-id-are-used-in-the-select branch December 12, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants