dashboard/shell/mixins
Richard Cox 542ebd4f40
Wire in pagination to LabeledSelect and use for pods, secrets and configmaps (#10786)
* Changes for new design
- New visuals
- Pagination controls --> load more
- finished testing of label select with pagination off

# Conflicts:
#	shell/edit/provisioning.cattle.io.cluster/__tests__/Basics.tests.ts

* Changes following review

* Update Node list to support server-side pagination
- Setup pagination headers for the node type
- Define a pattern for fetching custom list secondary resources
- Major improvements to the way pagination settings are defined and created
- Lots of docs improvements
- Handle calling fetch again once fetch is in progress (nuxt caches running request)
- Validate filter fields (not all are supported by the vai cache
- General pagination fixes

* Lint / test / fixes

* Improvements to configmap e2e test & Improve pagination disabled

* Beef up validation

* Fix missing name column in non-server-side paginated node list

* Fix PR automation actions
- fix syntax
- catch scenario where a pr has no fixed issue

> There's duplication between files, see https://github.com/rancher/dashboard/pull/10534

* CI bump

* Fixes post merge

* Wire in 2.9.0 settings for server-side pagination
- Everything is gated on `on-disk-steve-cache` feature flag
  - There's a backend in progress item to resolve a `revision` issue, until then disable watching a resource given it
- Global Settings - Performance
  - Added new setting to enable server side pagination
  - this is incompatible with two other performance settings

* Integrate pagination with configmaps in cis clusterscanbenchmark edit form
Also
- improved labeled select pagination
- gate label select pagination functinality on steve cache being enabled

* TODOs and TEST

* Paginate Secret selection for logging providers
- Allow `None` option in Paginationed LabelSelect
- Optionally classify pagination response

* WIP

* fixes arfter merge

* Don't suggest container names, not practical
- previously all pods were fetched... and we scrapped all container names from them
- this is a scaling nightmare, user now must just enter the name/s to match

* Avoid findAll secrets in SimpleSecretSelector

* tidying up

* Move LabeledSelect/index.vue back to LabeledSelect.vue to not break extensions

* changes after self review... 1

* changes after self review... 2

* changes after self review... 3

* Link new paginated label select with pagination setting

* Work around failing kubewarden unit tests in check-plugins gate

* Fix backup.spec e2e test

* Create a convienence wrapper called ResourceLabelSelector that hides most of the complexity

* fix unit test
2024-05-30 10:49:29 +01:00
..
__tests__ Initial migration of Vue3 for compatible fixes (#10858) 2024-04-23 20:16:46 +02:00
create-edit-view Reintroduce "Replace `Vue.extend` with `defineComponent` in shell" 2024-03-13 10:10:26 -07:00
auth-config.js Add i18n string usage checker script (#10805) 2024-05-02 20:52:15 +01:00
back-link.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
brand.js Removing the unauthenticated middleware 2024-04-30 13:36:40 -07:00
browser-tab-visibility.js visibilityChange, replace findAll to bypass wss subscribe 2022-12-07 12:43:25 +01:00
chart.js Add OCI chart support to repositories pages (#10907) 2024-05-21 07:50:10 -07:00
child-hook.js Allow hooks to be omitted from application 2023-09-15 08:02:55 -07:00
closeable.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
compact-input.ts Port rancher components to TypeScript (#6073) 2022-06-07 10:36:37 -07:00
fetch.client.js Update Node list to support server-side pagination 2024-04-30 11:04:06 +01:00
form-validation.js Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
labeled-form-element.ts Wire in pagination to LabeledSelect and use for pods, secrets and configmaps (#10786) 2024-05-30 10:49:29 +01:00
login.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
metric-poller.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
page-actions.js Vue 3 Nuxtism Removal (#10533) 2024-03-11 18:38:25 +01:00
resource-fetch-api-pagination.js Improvements to configmap e2e test & Improve pagination disabled 2024-04-30 11:04:06 +01:00
resource-fetch-namespaced.js Pagination Alpha 2024-04-02 13:34:36 +01:00
resource-fetch.js Update Node list to support server-side pagination 2024-04-30 11:04:06 +01:00
resource-manager.js update url for namespaced requests for secondary data (#7365) 2022-11-25 16:51:57 +00:00
vue-select-overrides.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00