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

Ensure namespaces are used in list queries when defined #750

Open
Tracked by #1161
joaquimrocha opened this issue Oct 13, 2022 · 0 comments · May be fixed by #1710
Open
Tracked by #1161

Ensure namespaces are used in list queries when defined #750

joaquimrocha opened this issue Oct 13, 2022 · 0 comments · May be fixed by #1710
Labels
frontend Issues related to the frontend performance

Comments

@joaquimrocha
Copy link
Collaborator

joaquimrocha commented Oct 13, 2022

Current situation

We keep a namespace filter that persists across views, but we use it just for filtering the resources on client side.
i.e. we do requests for all namespaces and then we filter the results locally.

Impact

Besides the extra processing needed when more results are returned (due to asking from all namespaces), we may also run into issues where users do not have access to such namespaces (this is related to #679 ).

Ideal future situation

If a namespace (or more) are set for the entire application, we should use them in the queries as well. Maybe this solution should be done together with #679 .

cc/ @callmevladik, @lijianzhi01

This is part of the performance epic #1161

@joaquimrocha joaquimrocha added the frontend Issues related to the frontend label Oct 13, 2022
@tazo90 tazo90 linked a pull request Feb 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Issues related to the frontend performance
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants