* fix keyboard nav for app bar
* remove dones
* minor fixes based on another PR comment
* removed all space key for links + move floating-vue config to plugin definition
* rename tabbing-index to tab-order + add aria-label to main menu
- Reduce the flicker of cluster icons when the top level menu component is recreated given a change to the page's layout
- Add finer changes and comments to reduce churn from user / system changes to resources
* 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
This updates the error messages printed to provide clarity by adding:
1. a timestamp and log level to the messages
2. human-readable explanation when `/bin/sh` is missing from a container
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
This uses `writeln` instead of `write` so that logs can default to printing in the terminal on multiple lines.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Remove embedded DNS pages under 'Global Configuration'
* Remove the top-level legacy pages
* Fix redirect for the legacy route on refresh
* Fix URl in test - alerts no longer exists anyway
This creates a container for popper content so that styles can be easily overridden via deep selectors.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
21050a3695 migrated styles used by `Header.vue` into 'HeaderPageActionMenu.vue`, when these styles should have remained in `Header.vue`.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Remove border when terminal window is focused
Remove deep selector from non-scoped style
Migrate vue-resize library to vue3-resize
* Fix codeMirrorRef instance name
* Missing semicolon
* remove $set from AKS validators
* fix cruGKE not rendering
* fix most aks unit tests
* fix crueks and eks config unit tests
* fix eks networking and nodegroup unit tests
* fix gke unit tests
* fix consumption gauge test
* fix namespacefilter tests
* fix command and taints unit tests
* fix questions unit tests
* fix hpa and service unit tests
* fix registryconfigs unit tests
* fix job unit tests
* fix longhorn unit tests
* fix addextensionsrepos unit tests
* fix rke2 basics unit tests
* fix container shell unit tests
* fix last aks pool test
* fix mount tests
* fix namespace and pv unit tests
* fix codemirror unit tests
* clean up aks, boolean, namespacefilter unit tests
* fix namespacefilter test
* remove redundant test case
This was changed in 7f1536d9cf and it appears that we didn't need this change for `Jump.vue` because `value` is declared as a data prop. Reverting back to `v-model` resolves the issue.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
Performing this change so the vue3 migration script can modify all @input, @v-model of components without changing plain elements. This will reduce the number of vue3 compiler errors.
* wip
* add logout action according to logic (SAML - logoutAll) + add modal to prompt user to select SLO logout type when logging out of Dashboard
* update authProvidersInfo method to allow for a getter usage in order to make it store reactive
* wip - missing final plumbing for the finalRedirectUrl
* bug fix for non-reactive header logout when auth provider is enabled
* adjust slo UI elements to match expected UI/UX
* minor adjustments + pr cleanup
* cleanup
* handle promise rejection for standard users (apparently they cannot get the schema)
* Updates
- Tweaked text (to be reviewed)
- Removed some code smells
- Ensure rancher logout via modal uses same process as normal logout
- Use async buttons in logout modal
- Add cancel to log out modal
- Fix logout on fail-whale page
* Add error handling (WIP with Andreas, does not currently reach final redirct / verify route)
* Fix check for IS_SLO
* Only allow optional auth provider log out if logged in auth provider
* Fix error message (SLO failures still result in rancher log out)
* check complete slo flow + add special copy when doing a slo logout
* Update shell/dialog/SloDialog.vue
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
* Update shell/edit/auth/saml.vue
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
* update syntax from phil pr review
* Fix logout modal on diangostics, about, etc pages that use plain template
* Remove PromptRemove from diagnostic page
- it uses the plain template which now contains it
- caused x2 modals to show
---------
Co-authored-by: Richard Cox <richard.cox@suse.com>
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
* 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
* 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
* 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>
* fix issue with double active main menu items in app bar + add e2e test to prevent regression
* 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
---------
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
* fixes i18n and small UX
* new layout design for the modal
* enables edit badge from cluster explorer
---------
Signed-off-by: scures <scurescu@suse.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
* Fix race condition in loadCluster
* Revert new error and comments
* Improve navigation performance for products within the explorer product
* Remove unused getter
* Fix issue with not loading nwe cluster when changing clusters
* Fix bug where sidenav take a short time to update (was using queueUpdate)
* Fix lint issues
* Address PR feedback