dashboard/shell/store
Richard Cox 75aa51fab9 Enforce Namespace Filter
- 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
2022-12-02 12:30:13 +00:00
..
action-menu.js Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
auth.js Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
aws.js Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
catalog.js Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
digitalocean.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
features.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
github.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
growl.js websocket disconnect growl 2022-07-15 09:15:52 -07:00
i18n.js Update support page and enable custom links. #6493 (#6720) 2022-09-28 08:50:37 +01:00
index.js Enforce Namespace Filter 2022-12-02 12:30:13 +00:00
linode.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
plugins.js Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
prefs.js Only set last visited page if needed (#7303) 2022-11-23 13:59:35 +00:00
resource-fetch.js Incremental loading and manual refresh features (#6543) 2022-08-03 12:02:19 +01:00
type-map.js ui:Job List, fix Duration field sorting 2022-11-18 15:01:16 +01:00
uiplugins.ts Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
wm.js Configure Shell/Terminal location 2022-11-18 15:18:48 +01:00