dashboard/shell/detail
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__ test(detail/service): add unit test for parsing service ports 2024-04-24 14:22:35 +08:00
autoscaling.horizontalpodautoscaler Add unit tests for HPA details page 2023-09-05 16:57:49 +02:00
workload Remove usages of findAll for types supported by server-side pagination (#10795) 2024-06-05 09:15:43 +01:00
catalog.cattle.io.app.vue Revert "This fixes an issue where catalog/charts were stale after a repo was updated" 2024-05-01 14:20:01 +01:00
catalog.cattle.io.clusterrepo.vue ClusterRepo detail page: Add git commit hash for git repos (#8985) 2023-06-29 10:07:37 +01:00
cis.cattle.io.clusterscan.vue Replace `nuxt-link` & `n-link` with `router-link` 2024-03-27 14:04:17 -07:00
configmap.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
constraints.gatekeeper.sh.constraint.vue Improve OPA Gatekeeper constraint detail page (#8586) 2023-04-27 09:27:37 +01:00
fleet.cattle.io.bundle.vue Fixing an issue where a field can sometimes be undefined 2024-01-26 15:34:21 -07:00
fleet.cattle.io.cluster.vue Fix fleet cluster state (#10162) 2023-12-18 10:52:11 +01:00
fleet.cattle.io.clustergroup.vue add missing dispatch to fetch fleet workspaces (#8641) 2023-04-06 18:30:13 +01:00
fleet.cattle.io.gitrepo.vue Test GitRepo detail view displays incorrect number of bundles + code improvements and fixes (#10986) 2024-05-20 16:43:19 +01:00
harvesterhci.io.management.cluster.vue Replace all instances of `v-html` with `v-clean-html` 2023-03-22 08:30:15 -07:00
helm.cattle.io.projecthelmchart.vue use projecthelmchart dashboardValues for grafana url 2023-06-21 13:44:17 -07:00
management.cattle.io.fleetworkspace.vue Review HTML formatting rules (#6805) 2022-11-11 17:04:22 +01:00
management.cattle.io.globalrole.vue Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
management.cattle.io.roletemplate.vue Review HTML formatting rules (#6805) 2022-11-11 17:04:22 +01:00
management.cattle.io.user.vue Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
namespace.vue Replace `nuxt-link` & `n-link` with `router-link` 2024-03-27 14:04:17 -07:00
networking.k8s.io.ingress.vue Pagination changes given new vai cache backed steve api (#11110) 2024-06-11 17:44:04 +01:00
node.vue Pagination changes given new vai cache backed steve api (#11110) 2024-06-11 17:44:04 +01:00
pod.vue remove v1 monitoring code (#10539) 2024-03-22 17:39:32 +00:00
provisioning.cattle.io.cluster.vue Integrate new schemaDefinitions endpoint (#10141) 2024-02-28 17:08:35 +00:00
rbac.authorization.k8s.io.clusterrole.vue Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
rbac.authorization.k8s.io.role.vue Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
secret.vue Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
service.vue fix(detail/service): fix js error if no port is configured 2024-04-24 14:22:35 +08:00