mirror of https://github.com/rancher/dashboard.git
- When there are over a configurable amount of resources to display in a list force the user to select a single namespace and use it to fetch resources related to the list - Disabled by default, this can be enabled via the usual Global Settings --> Performance setting as usual Functional Comments - Gates for forcing the filter (count, resource type is namespaced, etc) apply only to the resources shown in the list. - For example PV's aren't namespaced, so no enforced filtering. However they fetch PVC's which are namespaced - For example we could have 10 resources to show in the list, but the resource types list component fetches 10000 other resources. The secondary resources are not taken in to account - If we're under the threshold and have fetched all resources, if in that session we go over the threshold we won't fetch NS specific resources (because we have them all already) - If we're over the threshold and have fetched namespaced resources, if in that session we go under the threshold we will fetch all resources - If we're over the threshold and have fetched namespaced resources, going to a page that needs them all will result in us fetching them all (for instance from `events` to `cluster dashboard`) - Deselecting a namespace and selecting it again should not kick off another http request General Commit Comments - The threshold to enforce the filter is set at 1500 as per manual fresh and incremental loading - Optimised some code in ResourceList, resource-fetch and $loadingResources |
||
|---|---|---|
| .. | ||
| action-menu.js | ||
| auth.js | ||
| aws.js | ||
| catalog.js | ||
| digitalocean.js | ||
| features.js | ||
| github.js | ||
| growl.js | ||
| i18n.js | ||
| index.js | ||
| linode.js | ||
| plugins.js | ||
| prefs.js | ||
| resource-fetch.js | ||
| type-map.js | ||
| uiplugins.ts | ||
| wm.js | ||