dashboard/shell/components/formatter
Richard Cox a5661c575f
Remove usages of findAll for types supported by server-side pagination (#10795)
* 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

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

* fix unit test

* 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
2024-06-05 09:15:43 +01:00
..
__tests__ Use correct stubs in unit tests 2024-03-27 14:29:55 -07:00
AppSummaryGraph.vue Replace `nuxt-link` & `n-link` with `router-link` 2024-03-27 14:04:17 -07:00
BadgeStateFormatter.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
Capitalize.vue Improve machine pools when there are a large number of machines (#6132) 2022-06-23 09:59:06 +01:00
Checked.vue account for empty string values in Checked formatter (#9803) 2023-12-21 08:35:59 -08:00
CloudCredPublicData.vue Remove usages of findAll for types supported by server-side pagination (#10795) 2024-06-05 09:15:43 +01:00
ClusterLink.vue Replace `nuxt-link` & `n-link` with `router-link` 2024-03-27 14:04:17 -07:00
ClusterProvider.vue Fixed RKE cluster being shown as Imported (#9868) 2023-11-01 13:02:37 -07:00
CopyToClipboard.vue Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
Date.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
DelayedValue.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
Endpoints.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
ExtensionCache.vue Add extension image load dialog (#9010) 2023-06-02 08:28:47 -04:00
ExternalLink.vue Review HTML formatting rules (#6805) 2022-11-11 17:04:22 +01:00
FleetClusterSummaryGraph.vue Fix fleet cluster state (#10162) 2023-12-18 10:52:11 +01:00
FleetSummaryGraph.vue Fix Resource summary column in fleet cluster list 2024-05-31 11:49:39 +01:00
IconIsDefault.vue Fixed icon size (#7557) 2022-12-08 16:52:53 +01:00
IconText.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
ImageName.vue changed formatter name 2023-07-12 07:52:09 -07:00
ImagePercentageBar.vue Remove unused state property 2024-03-21 18:19:09 +01:00
IngressFullPath.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
IngressTarget.vue Remove usages of findAll for types supported by server-side pagination (#10795) 2024-06-05 09:15:43 +01:00
InternalExternalIP.vue fix css icon margin (#8153) 2023-02-14 17:11:42 +00:00
InvolvedObjectLink.vue Handle missing kind 2023-02-27 17:52:05 +00:00
KeyValue.vue Review HTML formatting rules (#6805) 2022-11-11 17:04:22 +01:00
Link.vue Replace `nuxt-link` & `n-link` with `router-link` 2024-03-27 14:04:17 -07:00
LinkDetail.vue Replace `nuxt-link` & `n-link` with `router-link` 2024-03-27 14:04:17 -07:00
LinkDetailImage.vue Replace `nuxt-link` & `n-link` with `router-link` 2024-03-27 14:04:17 -07:00
LinkName.vue Replace `nuxt-link` & `n-link` with `router-link` 2024-03-27 14:04:17 -07:00
List.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
ListLink.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
ListLinkDetail.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
LiveDate.vue Replace all instances of `v-tooltip` with `v-clean-tooltip` 2023-05-18 15:39:14 -07:00
LiveDuration.vue Add certificates view to cluster dashboard 2023-11-08 11:52:23 +00:00
LiveExpiryBadgeState.vue Create Rancher Component Library (#5504) 2022-05-24 15:09:53 -07:00
LiveExpiryDate.vue Review HTML formatting rules (#6805) 2022-11-11 17:04:22 +01:00
LivePodRestarts.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
MachineSummaryGraph.vue Review HTML formatting rules (#6805) 2022-11-11 17:04:22 +01:00
Number.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
Percentage.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
PercentageBar.vue Fix bug where a manually added node breaks the node list page (#10091) 2024-01-08 17:08:50 +00:00
PodImages.vue Add wrap styling to image column (#9257) 2023-07-10 21:48:41 -07:00
PodsUsage.vue Now uses the same data as the cluster homepage, delayed load not needed. (#9555) 2023-09-28 09:06:55 -04:00
Port.vue Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
Principal.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
PrincipalGroupBindings.vue Replace `nuxt-link` & `n-link` with `router-link` 2024-03-27 14:04:17 -07:00
QualityText.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
RKETemplateName.vue Replace all instances of `v-tooltip` with `v-clean-tooltip` 2023-05-18 15:39:14 -07:00
ReceiverIcons.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
RunBookLink.vue Review HTML formatting rules (#6805) 2022-11-11 17:04:22 +01:00
Scale.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
ScanResult.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
SecretData.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
SecretType.vue Replace `nuxt-link` & `n-link` with `router-link` 2024-03-27 14:04:17 -07:00
ServiceTargets.vue Replace all instances of `v-html` with `v-clean-html` 2023-03-22 08:30:15 -07:00
ServiceType.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
Shortened.vue Replace all instances of `v-tooltip` with `v-clean-tooltip` 2023-05-18 15:39:14 -07:00
Si.vue Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
Translate.vue Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
VerticalScroll.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
VirtualServiceGateways.vue Replace `nuxt-link` & `n-link` with `router-link` 2024-03-27 14:04:17 -07:00
Weight.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
WorkloadDetailEndpoints.vue update logic of `WorkloadDetailEndpoints` to consider hostname as a valid link if there is an `ingress` associated (#10380) 2024-02-14 14:51:30 +00:00
WorkloadHealthScale.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00