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

[v15] Fetch resources using ListUnifiedResources in the search bar #41400

Merged
merged 6 commits into from
May 10, 2024

Conversation

gzdunek
Copy link
Contributor

@gzdunek gzdunek commented May 10, 2024

Backport #41357 to branch/v15

gzdunek added 6 commits May 10, 2024 07:38
We shouldn't have added it, `addrWithProtocol` is calculated from other `tsh.App` properties, so we can just do it when needed.
This type prevents assigning `listUnifiedResources` response to the type returned from `searchResources`.
Also, this change will make setting up mocks and tests simpler.
We will fetch all resources for a cluster in a single request, so it is no longer needed.
Previously we fetched 5 items x 4 resource kinds.
@gzdunek gzdunek added the no-changelog Indicates that a PR does not require a changelog entry label May 10, 2024
@gzdunek gzdunek enabled auto-merge May 10, 2024 07:38
@github-actions github-actions bot requested review from avatus and ravicious May 10, 2024 07:39
@gzdunek gzdunek added this pull request to the merge queue May 10, 2024
Merged via the queue into branch/v15 with commit 30df269 May 10, 2024
34 of 35 checks passed
@gzdunek gzdunek deleted the bot/backport-41357-branch/v15 branch May 10, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport no-changelog Indicates that a PR does not require a changelog entry size/sm ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants