* Server-side pagination for home page clusters list and side bar clusters
- Functional Changes
- SSP now works after vue3 bump
- Home Page Clusters list now uses server-side pagination
- Side Bar clusters list now uses server-side pagination
- Wire in now supported sorting / filtering by id and name used for table columns
- Allow pagination to be enabled given a specific context
- Call findPage without persisting to store
- New Pagination Tools
- PaginatedResourceTable - Convenience Component, wraps ResourceTable with pagination specific props
- PaginationWrapper - Convenience class to handle requests for resources and updates to them (avoiding store)
- Regressions
- Side Nav menu ready state was `mgmtCluster.isReady && !pCluster?.hasError`, now ???
* Iteration
Note - prov clusters is broken (only fetches local) due to blocking pr. breals
- notPinned list
* Fix dupe inStore
- remove from resource list, put in resource-fetch (used also by pag res table)
* Two fixes
- changes namespaces kicked of side nav cluster requests (thought pinnedIds changed)
- fix generic lists re-fetching given ns filter changes (they don't have namespaced arg)
* remove comment, backport fix
* test fixes
* E2E: Ensure we wait for cluster entries to exist before clicking on them
* backport fix for local/api filtering
* Remove debug code
* Changes after review
* e2e fixes / debugging
* More e2e fixes
* More e2e fixes
* More e2e fixes
* Fix generic pages that filter on pagination
* Attempt to fix flaky vai test
* Fix after merge from master
* Updates following new indexed files
* Fix lint and test
* Changes given real cluster tests
- general fixes
- correct issue were sorting prov clusters on mgmt cluster props (issue in master as well...)
- bit the bullet, we now don't fetch all mgmt clusters on dashboard visit.
- there could be knock on affects, but we'd need to remove it sometime in 2.11....
* Fix issues with diplaying rke1 data in home page
- includes https://github.com/rancher/dashboard/pull/12881
* Fix unit tests
* Add support for individual banners
* Fixes
* Add tags to e2e tests
* Update e2e tests
* Revert changed
* Fix lint issues with trailing spaces
* Update e2e tests for login consent banner
* Update test for re-factor
* Fix lint
* Fix e2e banner tests
* Don't run individual banner tests for the standard user
* Ensure after hook runs after the standard tests, not the individual banner tests
* Fix updating existing ui-banners setting
* Update shell/components/nav/TopLevelMenu.vue
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
* fix lint error with Trailing spaces not allowed in TopLevelMenu + add sneaky fix for cluster and project members side nav item not being highlighted
* make sure local cluster appears always on top of pinned and unpinned cluster lists in main nav menu + add unit tests
---------
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
* add mgmt cluster description to prov cluster description as fallbacks in home cluster list and main side nav clusters
* address pr comments
* add e2e to test description for rke1 cluster in home page
* address pr comments
* add cluster description to home page cluster list and side menu clusters
* working on tooltip for long descriptions
* add tooltip to description on side menu
* remove console logs
* add tooltip to description on side menu + fine tune tooltip position
* finish tests
* fix e2e
* address test flakiness of repeated use of toggling main nav menu and not waiting for transitions
* address failing e2e tests + add missing array brackets to tests that only had tag as string (were not running)
* fix bug where clicking on home link wouldn't close the main nav + fix e2e
* update home link e2e getter with correct structure
* address #8854
* break long strings to next line
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
* support old ui-banner setting structure + update unit test to cover this scenario
* fix lint issue
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
* Remove conditional chaining in template
* Prevent app to break if no setting available
* Prevent to break if no mgmt cluster
* Prevent sidebar to break if no kube cluster
* Prevent breaking if no product available
* Prevent sort utils to break if no value is provided
* Add markup comments
* Replace getter mapping
* Prevent error if missing label for the inspected cluster
* Add tests for sidebar