dashboard/shell/components/form
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
..
Members Fix Ui crash in case of missing principal (#9762) 2023-09-28 09:16:57 +01:00
ResourceQuota fix issue with project resource quotas fields being cleared + add unit tests (#9808) 2023-09-29 12:54:08 +01:00
ResourceTabs Ensure the Resource Tabs `Conditions` tab correctly shows 2024-05-31 10:59:42 +01:00
__tests__ Add Banners unit tests 2024-05-24 00:11:50 +02:00
labeled-select-utils Remove usages of findAll for types supported by server-side pagination (#10795) 2024-06-05 09:15:43 +01:00
ArrayList.vue Limit number of assigned vGpus to 1 for each Machine Pool 2024-05-09 15:58:48 +02:00
ArrayListGrouped.vue Remove initial-empty-row from ArrayListGrouped. (#7669) 2022-12-20 12:13:06 +01:00
ArrayListSelect.vue Validate allocatable vGPUs number in Harvester clusters creation 2024-04-30 16:30:26 +02:00
BannerSettings.vue ui automation: global settings (#9458) 2024-02-01 15:06:03 -08:00
ChangePassword.vue cypress UI automation: account and api keys tests (#8857) 2023-05-23 07:34:38 -07:00
ClusterAppearance.vue fixes i18n, new Cluster Appearance UX (#10677) 2024-04-29 17:12:16 +02:00
ColorInput.vue Add Banners unit tests 2024-05-24 00:11:50 +02:00
Command.vue Review HTML formatting rules (#6805) 2022-11-11 17:04:22 +01:00
Conditions.vue Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
EnvVars.vue Review HTML formatting rules (#6805) 2022-11-11 17:04:22 +01:00
Error.vue Reintroduce "Replace `Vue.extend` with `defineComponent` in shell" 2024-03-13 10:10:26 -07:00
FileImageSelector.vue Changed navlink page and improved error handling for FileImageUpload (#9411) 2023-07-27 14:03:43 -07:00
FileSelector.vue ui automation: global settings (#9458) 2024-02-01 15:06:03 -08:00
Footer.vue Reintroduce "Replace `Vue.extend` with `defineComponent` in shell" 2024-03-13 10:10:26 -07:00
GitPicker.vue Reintroduce "Replace `Vue.extend` with `defineComponent` in shell" 2024-03-13 10:10:26 -07:00
HealthCheck.vue Deployment creation view - fix health check - #5734 (#6470) 2022-07-25 17:50:49 +02:00
HookOption.vue Fixed remove button style and alignments (#8122) 2023-04-14 13:14:36 +02:00
InputWithSelect.vue Allow user to select Fleet repo protocol select. (#7648) 2023-02-10 09:31:37 +00:00
KeyValue.vue fix: support colon as separator when onPaste context in label key field 2024-05-07 16:20:49 +08:00
LabeledSelect.vue Wire in pagination to LabeledSelect and use for pods, secrets and configmaps (#10786) 2024-05-30 10:49:29 +01:00
Labels.vue EKS Provisioning (#10581) 2024-04-26 09:06:48 -07:00
LifecycleHooks.vue Review HTML formatting rules (#6805) 2022-11-11 17:04:22 +01:00
MatchExpressions.vue UI says "Matches no existing clusters" when there is a null value for cluster selector in cluster groups (#9441) 2023-07-31 11:46:08 +01:00
NameNsDescription.vue Replace `createNamespace` with store in `CruResource` 2024-03-22 15:45:52 -07:00
Networking.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
NodeAffinity.vue HARVESTER: only change priority by select component (#9266) 2023-07-06 15:29:08 -07:00
NodeScheduling.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
NotificationSettings.vue Create Rancher Component Library (#5504) 2022-05-24 15:09:53 -07:00
Password.vue [INT] Replaced vue-clipboard2 library with clipboard-polyfill (#10072) 2023-11-30 16:31:35 -08:00
PlusMinus.vue Replace all instances of `v-tooltip` with `v-clean-tooltip` 2023-05-18 15:39:14 -07:00
PodAffinity.vue HARVESTER: only change priority by select component (#9266) 2023-07-06 15:29:08 -07:00
PodSecurity.vue Review HTML formatting rules (#6805) 2022-11-11 17:04:22 +01:00
Ports.vue Review HTML formatting rules (#6805) 2022-11-11 17:04:22 +01:00
Probe.vue Replace all instances of `v-tooltip` with `v-clean-tooltip` 2023-05-18 15:39:14 -07:00
ProjectMemberEditor.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
ResourceLabeledSelect.vue Remove usages of findAll for types supported by server-side pagination (#10795) 2024-06-05 09:15:43 +01:00
ResourceSelector.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
RuleSelector.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
SecretSelector.vue Wire in pagination to LabeledSelect and use for pods, secrets and configmaps (#10786) 2024-05-30 10:49:29 +01:00
Security.vue set default container securityContext (#7539) 2022-11-30 14:15:55 -07:00
Select.vue Validate allocatable vGPUs number in Harvester clusters creation 2024-04-30 16:30:26 +02:00
SelectOrCreateAuthSecret.vue Pagination changes given new vai cache backed steve api (#11110) 2024-06-11 17:44:04 +01:00
ServiceNameSelect.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
ServicePorts.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
ShellInput.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
SimpleSecretSelector.vue Wire in pagination to LabeledSelect and use for pods, secrets and configmaps (#10786) 2024-05-30 10:49:29 +01:00
Taints.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
Tolerations.vue fix issue with Tolerations component (#8896) 2023-05-19 10:19:48 +01:00
UnitInput.vue Resource Quota up-and-down input doesn't update the value on the request quota object to be sent (#9577) 2023-08-23 09:25:08 +01:00
ValueFromResource.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
WorkloadPorts.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00