-
Notifications
You must be signed in to change notification settings - Fork 266
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
Remove usages of findAll for core resources in cluster explorer view - 1 #13006
Closed
richard-cox
wants to merge
82
commits into
rancher:master
from
richard-cox:pagination-remove-findall-1
Closed
Remove usages of findAll for core resources in cluster explorer view - 1 #13006
richard-cox
wants to merge
82
commits into
rancher:master
from
richard-cox:pagination-remove-findall-1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Functional Changes - SSP now works after vue3 bump - Home Page Clusters list now uses server-side pagination - Side Bar clusters list now uses server-side pagination - Wire in now supported sorting / filtering by id and name used for table columns - Allow pagination to be enabled given a specific context - Call findPage without persisting to store - New Pagination Tools - PaginatedResourceTable - Convenience Component, wraps ResourceTable with pagination specific props - PaginationWrapper - Convenience class to handle requests for resources and updates to them (avoiding store) - Regressions - Side Nav menu ready state was `mgmtCluster.isReady && !pCluster?.hasError`, now ???
…would incorrectly fetch all resources anyway - convert reminaing storage lists
- Functional Changes - SSP now works after vue3 bump - Home Page Clusters list now uses server-side pagination - Side Bar clusters list now uses server-side pagination - Wire in now supported sorting / filtering by id and name used for table columns - Allow pagination to be enabled given a specific context - Call findPage without persisting to store - New Pagination Tools - PaginatedResourceTable - Convenience Component, wraps ResourceTable with pagination specific props - PaginationWrapper - Convenience class to handle requests for resources and updates to them (avoiding store) - Regressions - Side Nav menu ready state was `mgmtCluster.isReady && !pCluster?.hasError`, now ???
- remove from resource list, put in resource-fetch (used also by pag res table)
…ation-cluster-explorer
- remove from resource list, put in resource-fetch (used also by pag res table)
…ation-cluster-explorer
…ation-cluster-explorer
- caused by shell/scripts/test-plugins-build.sh importing list/catalog.cattle.io.clusterrepo.vue - the component had been updated to a TS component - check-plugin build outputs TS errors for a component file imports - vs code shows no errors for imported file
- Remove final todo's - includes fix for service type clusterip/headless overlap - Removed ununused ENDPOINT column (note ENDPOINT formatter used in other columns) - Testing freshly added index fields
- use common helper - both require services and secrets (of type cert) in a specific namespace - for ease, just use the existing mechanism
richard-cox
force-pushed
the
pagination-remove-findall-1
branch
from
January 8, 2025 17:43
d97fa13
to
17778da
Compare
richard-cox
commented
Jan 9, 2025
@@ -1,50 +0,0 @@ | |||
<script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
richard-cox
commented
Jan 9, 2025
@@ -383,7 +383,7 @@ export default { | |||
|
|||
<template #list-footer> | |||
<div | |||
v-if="canPaginate && totalResults" | |||
v-if="canPaginate && totalResults && pages > 1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
richard-cox
changed the title
Remove usages of findAll for core, non-rbac related resources in cluster explorer view
Remove usages of findAll for core resources in cluster explorer view
Jan 9, 2025
richard-cox
changed the title
Remove usages of findAll for core resources in cluster explorer view
Remove usages of findAll for core resources in cluster explorer view - 1
Jan 9, 2025
7 tasks
Closing in favour of #13025 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Blocked on
Requires squash-merge
Summary
PR 1 for #9965
PR chain will remove remaining places where we go out and fetch all of a resource for core resources (but not rbac or cluster related) in the cluster explorer
Occurred changes and/or fixed issues
Resource
typerancher-demo
selector
s locally scales badly #10417Areas or cases that should be tested
Resources
type (see above)Areas which could experience regressions
Checklist