dashboard/shell/mixins
Richard Cox aaf2d69130
Pagination changes given new vai cache backed steve api (#11110)
* 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

* - harvester machine-config
- project monitoring (and bug fixes)

* Disable workload screen if vai cache is on
- temp step until we get new overview

* TODOs and TEST

* Conditionally remove fetch of all secrets from SelectOrCreateAuthSecret

* TODOs and TEST

* Update SimpleSecretSelector
- only used in monitoring.coreos.com.alertmanagerconfig context

* View and Edit ingress - secrets

* node detail page - pods list

* Backup/Restore: Secrets (WIP)

* Backup/Restore: Secrets, and other usages of SimpleSecretSelector / SelectOrCreateAuthSecret

* Edit: Service account

* Add comments for remaining items

* 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

* ooof

* changes after self review... 3

* fix formatting

* Link new paginated label select with pagination setting

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

* Fix backup.spec e2e test

* fix formatting, paginationUtils.isSteveCacheEnabled --> paginationUtils.isEnabled

* Don't fetch all secrets on cloud creds page

* Fix backup.spec e2e test

* TODO tidying / tracking

* don't getch ALL workloads for hacky way to get a link to a service's workload

* Fix bad merge

* Updates after working with vai cache image

* test fixes

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

* fix unit test

* Updates following review

* Remove workload health until #10417 is resolved

* Updates following review

* changes following self review

* Fix bottom bar of edit backup, edit restore pages

* revert temp change

* changes following self review

* Workaround for kubewarden unit tests in check plugin gate

* bump

* Fix e2e

* Fix linting

* type fixing

* - improve filtering without pagination
- update allowed fields given latest backend changes
- enable on by default exact filter string matches (disable for lists

* remove temp code

* fix linting

* Changes following review

* Fixes for vai cache feature flag
- name was changed from on-disk-steve-cache to ui-sql-cache
- fix timing issue - don't watch resources until we know the vai cache feature flag

* Changes following review

* Fix two sketchy tests
- new exception in docs page
- don't nav to page via button click and then goto same page

* More test improvement
- force user to go to tab which is source of route guard issue
- move setup stuff to a test for cypress to re-retry
2024-06-11 17:44:04 +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
brand.js Found a few issues with navigation guards and fixed them 2024-06-06 12:10:30 -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
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
metric-poller.js
page-actions.js Vue 3 Nuxtism Removal (#10533) 2024-03-11 18:38:25 +01:00
resource-fetch-api-pagination.js Pagination changes given new vai cache backed steve api (#11110) 2024-06-11 17:44:04 +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