Commit Graph

1394 Commits

Author SHA1 Message Date
Richard Cox f980283813
Add server-side pagination to cluster explorer lists (#11672)
* cluster list now uses resource table

* New PaginatedResourceTable

* WIP

* add context to pag setting

* tidying up

* Add server-side pagination to cluster explorer events and general events list

* Servier-side pagination for catalog apps, cluster repo and operation

* Servier-side pagination for Service --> HPA, inmgress, services

* 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 ???

* fixes after merge. apply PagResTable to node list, vue3 fixes

* - Fix issue where list components containing PaginatedResourceTables would incorrectly fetch all resources anyway
- convert reminaing storage lists

* policy section

* fix async button in manual refresh mode

* fgh

* aaaaa

* 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)

* 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)

* fixes / updates

* testing/tidying

* WIP - Rest of workload lists

* finish off workloads

* tidying up

* fix non-generic list filtering by namespace

* 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

* remove invalid sort/filter type

* Running through new indexed fields

* fix unit tests

* lint fixes

* Fixes after small review

* lint

* Test for check-plugin-gates pkg build from shell

* e2e fixes

* Testing new indexed fields with dev image

* tidyuing up imports in hope to fix ts error in check-plugins gate

* Fix failing check-plugin-gates
- caused by shell/scripts/test-plugins-build.sh importing list/catalog.cattle.io.clusterrepo.vue
- the component had been updated to a TS component
- check-plugin build outputs TS errors for a component file imports
- vs code shows no errors for imported file

* tidying up a smidge

* Many tweaks
- Remove final todo's
  - includes fix for service type clusterip/headless overlap
- Removed ununused ENDPOINT column (note ENDPOINT formatter used in other columns)
- Testing freshly added index fields

* Improve location of new place where componentWillFetch is set

* fix lint, comment updated

* Fix failing e2e tests
- fix cluster dashboard events test
- fix and greatly improve flaky events test
- fix hpa test
- functional fixes
  - fix sorting/filtering events by object type
  - fix hpa columns
2025-01-07 15:13:42 -07:00
Alexandre Alves 9553614394
fix keyboard nav for home page (#12966)
* fix keyboard nav for home page

* minor fixes based on another PR comment

* add aria-sort to table column headers + remove space key bindings for links

* revert small change on Checkbox

* revert small change on Checkbox

* clear key space to trigger links

* change role for links that are in fact buttons + keep space key
2025-01-07 17:19:09 +00:00
Richard Cox cb87aa3b6e Remove ununused component, tweaks, update ResourceTabs events to be super ok 2025-01-07 15:31:15 +00:00
Richard Cox 11eda663bf WIP 2025-01-07 13:34:18 +00:00
Alexandre Alves 8a5cd702a4
fix keyboard nav for app bar (#12958)
* 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
2025-01-07 09:28:29 +00:00
Francesco Torchia 8715067f00
Merge pull request #12962 from torchiaf/12939-fix-node-selector
Fix Node Scheduling / Node Name option in Workloads page
2025-01-07 10:09:16 +01:00
Alexandre Alves 7632c5192b
fix keyboard nav on login screen (#12956)
* fix keyboard nav on login screen

* adjust for dark mode

* remove border radius from focus styles + dont open locale selector on focus

* add missing aria label

* minor fixes based on another PR comment

* remove tabbingindex from components + fix checkbox component disabled state

* remove tabbingindex from checkbox

* remove tabbingindex from LocaleSelector

* address pr comments
2025-01-06 19:03:04 +00:00
Richard Cox a9ea0607ec Improve location of new place where componentWillFetch is set 2025-01-06 15:40:44 +00:00
Richard Cox e227f3ebd7 Many tweaks
- Remove final todo's
  - includes fix for service type clusterip/headless overlap
- Removed ununused ENDPOINT column (note ENDPOINT formatter used in other columns)
- Testing freshly added index fields
2025-01-06 15:06:35 +00:00
Richard Cox 8dcc72299b Two side nav improvements
- 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
2025-01-06 13:48:43 +00:00
Richard Cox 595ea9072c tidying up a smidge 2025-01-03 16:43:12 +00:00
Richard Cox dca2c2e053 Merge remote-tracking branch 'upstream/master' into pagination-cluster-explorer 2025-01-03 15:42:59 +00:00
Richard Cox b614082ce1
Add server-side pagination to home page cluster list (#11663)
* 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
2025-01-03 15:34:28 +00:00
Alexandre Alves 938035f2e8
fix keyboard nav for about page (#12959)
* fix keyboard nav for about page

* fix styling for dark mode

* address pr comments

* address pr comments

* change role and add key space handler for diagnostic button
2025-01-03 12:27:36 +00:00
Francesco Torchia cd73a687a4
Lint
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-01-02 12:29:38 +01:00
Francesco Torchia 55cf3b3a7c
Implement NodeScheduling.test
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-01-02 12:04:15 +01:00
Francesco Torchia 289f638bae
Fix Node Selector value update
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-01-02 10:38:11 +01:00
Evgeniya Vashkevich 9fe1f4ad0d
Fixed not being able to update node taints (#12949) 2024-12-27 14:40:01 -08:00
Alexandre Alves 8698cb8dd1
Fix Unable to add extension tab to Edit Storage Class page (#12886)
* first iteration to improve extension point for tabs (missing default mode = VIEW)

* add default _DETAIL for the extension tabs extension point so that they are not added to EDIT views as well, unless specified otherwise

* revert harvester change
2024-12-26 12:08:12 +00:00
Richard Cox 5916758b12 Fix failing check-plugin-gates
- caused by shell/scripts/test-plugins-build.sh importing list/catalog.cattle.io.clusterrepo.vue
- the component had been updated to a TS component
- check-plugin build outputs TS errors for a component file imports
- vs code shows no errors for imported file
2024-12-18 19:55:03 +00:00
Richard Cox 7e4ee6acbc Merge remote-tracking branch 'upstream/master' into pagination-cluster-explorer 2024-12-18 18:17:27 +00:00
Neil MacDougall 6fd149c8d2
Fix top-level burger menu keyboard navigation (#12876)
* Fix top-level burger menu keyboard navigation

* Ensure we can differentiate between focus and focus-visited

* Revert change to focus style
2024-12-18 15:34:54 +00:00
Richard Cox 096d290627 Testing new indexed fields with dev image 2024-12-18 14:38:50 +00:00
Richard Cox 182eded1b3 Merge remote-tracking branch 'upstream/master' into pagination-cluster-explorer 2024-12-18 08:50:08 +00:00
Richard Cox 4ddf08a94b e2e fixes 2024-12-17 18:23:31 +00:00
Richard Cox 3844e8f468 Test for check-plugin-gates pkg build from shell 2024-12-17 13:12:15 +00:00
Richard Cox 958e9d00d8 Fixes after small review 2024-12-17 11:45:35 +00:00
Richard Cox 95c693f850 Merge branch 'pagination-home-page' into pagination-cluster-explorer 2024-12-16 15:44:18 +00:00
Richard Cox 39c2cd7599 Fix issues with diplaying rke1 data in home page
- includes https://github.com/rancher/dashboard/pull/12881
2024-12-16 13:42:33 +00:00
Yonas Berhe 1799bc58be automation: assign cluster to fleet workspace 2024-12-11 13:31:33 -08:00
Richard Cox 9b5d420b77 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....
2024-12-11 17:27:56 +00:00
Richard Cox 439f223d27 Fix lint and test 2024-12-10 16:49:47 +00:00
Richard Cox 9d01007320 Updates following new indexed files 2024-12-10 16:12:36 +00:00
Richard Cox c18fd7a134 Fix after merge from master 2024-12-10 15:02:27 +00:00
Richard Cox c2c96a53df Merge remote-tracking branch 'upstream/master' into pagination-home-page 2024-12-10 14:14:42 +00:00
Richard Cox 28135a19e7 Changes after review 2024-12-09 11:55:51 +00:00
Phillip Rak 56fe8bf168
Merge pull request #12800 from rak-phillip/bugfix/11226-yaml-editor-comments
Remove `onChanges()` method in `ResourceYaml.vue`
2024-12-05 12:15:54 -07:00
Evgeniya Vashkevich 92d77386dc
[FIX] Fixed app icon aligntment for extensions with image icon (#12827) 2024-12-05 11:14:04 -08:00
Richard Cox 559e33e7c5 test fixes 2024-12-05 16:44:13 +00:00
Richard Cox 0cc6ba3320 remove comment, backport fix 2024-12-05 14:53:11 +00:00
Phillip Rak b9909b835f Remove `onChanges()` method in `ResourceYaml.vue`
This removes the `onChanges()` method from `ResourceYaml.vue` because the intent of the code is not clear and appears to provide no benefit in testing. This is a source of frustration for some users, making it impossible to add comments to YAML. 

It appears that this function exists to automatically adjust the indentation of comment lines; it has failed to accomplish this task during testing, so it appears to be meaningless. If users wish to format yaml, we should support this with an explicit action in the YAML editor, not something that is performed on every keypress.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-12-04 16:53:31 -07:00
codyrancher 6c170fc01a
Merge pull request #12746 from codyrancher/lint-fix-2
Fixing an issue with eslint not working in vscode
2024-12-04 15:27:55 -07:00
Cody Jackson c77ee88b01 Adding `emits` to all rancher-components to fix linting rules 2024-12-04 09:04:19 -07:00
Phillip Rak 4653a0f660
Merge pull request #12744 from rak-phillip/bugfix/10840-pod-shell
Improve logging for errors in `ContainerShell.vue`
2024-12-04 08:32:00 -07:00
Richard Cox 66f73dab5b fixes / updates 2024-12-04 11:54:28 +00:00
Richard Cox 0054f40948 Merge remote-tracking branch 'origin/pagination-home-page' into pagination-cluster-explorer 2024-12-04 11:06:59 +00:00
Richard Cox cb18993b7a 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)
2024-12-04 11:04:43 +00:00
codyrancher 20be22a0aa
Merge pull request #12672 from codyrancher/error-template
Removing the unused `templates/error.vue` and `popstate` references
2024-12-03 15:30:48 -07:00
Evgeniya Vashkevich bb1f8c2097
fixed some console errors for standard user (#12479) 2024-12-03 11:14:59 -08:00
Richard Cox 442d85c2c8 Fix dupe inStore
- remove from resource list, put in resource-fetch (used also by pag res table)
2024-12-03 12:10:24 +00:00
Richard Cox c61ad5f453 Merge remote-tracking branch 'origin/pagination-home-page' into pagination-cluster-explorer 2024-12-03 10:37:26 +00:00
Richard Cox 96b6b9abd7 Fix dupe inStore
- remove from resource list, put in resource-fetch (used also by pag res table)
2024-12-03 10:34:25 +00:00
Phillip Rak 0568efe051 Fix Container Shell unit tests
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-12-02 15:53:11 -07:00
Phillip Rak 0832160a54 Update ContainerShell error messages
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>
2024-12-02 14:54:06 -07:00
Phillip Rak 3099018762 Use `writeln` instead of `write`
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>
2024-12-02 14:54:06 -07:00
Richard Cox 475aaef2eb Merge branch 'pagination-home-page' into pagination-cluster-explorer 2024-12-02 17:45:16 +00:00
Richard Cox f1858b6f02 Iteration
Note - prov clusters is broken (only fetches local) due to blocking pr. breals
- notPinned list
2024-12-02 17:32:41 +00:00
Richard Cox 419cc30fd1 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 ???
2024-12-02 15:48:23 +00:00
andy.lee 6701ce2546
fix table header align not work
Signed-off-by: andy.lee <andy.lee@suse.com>
2024-11-29 14:32:20 +08:00
Alexandre Alves 6facd60a9f
remove all mentions for the restricted admin role (#12708) 2024-11-28 17:57:59 +00:00
Cody Jackson a5ff16ef5f Removing the templates/error template
This template was no longer being used and can now be removed as dead code.

Fixes https://github.com/rancher/dashboard/issues/11384
2024-11-25 23:54:34 -07:00
Cody Jackson 68be8d4bc0 Removing code that's no longer necessary around back-button usage
Fixes https://github.com/rancher/dashboard/issues/11274
2024-11-25 16:31:44 -07:00
andy.lee 9d54586cb7
update the logic to hide localeSelector in SideNav for harvester 2024-11-25 22:06:30 +08:00
Evgeniya Vashkevich 907875fbf9
Fixed cluster list in burger menu having unnecessary horizontal scroll (#12591) 2024-11-15 17:09:22 -08:00
Richard Cox 2454ad39c5 fgh 2024-11-15 17:12:54 +00:00
Richard Cox 006debbda7 fix async button in manual refresh mode 2024-11-15 16:38:02 +00:00
Richard Cox 1f61ce53cf - Fix issue where list components containing PaginatedResourceTables would incorrectly fetch all resources anyway
- convert reminaing storage lists
2024-11-15 15:40:00 +00:00
Richard Cox 6bfc45d978 fixes after merge. apply PagResTable to node list, vue3 fixes 2024-11-14 17:05:34 +00:00
Richard Cox bbf4bcd929 Merge branch 'pagination-home-page' into pagination-cluster-explorer 2024-11-14 16:16:17 +00:00
Richard Cox 8e0fabc8ed 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 ???
2024-11-14 16:01:32 +00:00
Richard Cox 24249f9cc1
Merge pull request #12521 from aruiz14/rework-gitrepo-status-resources
Use BundleDeployment status to calculate GitRepo resources
2024-11-14 15:54:11 +01:00
Francesco Torchia 17a81aaede
Merge pull request #12350 from torchiaf/feature/harvester-shell-integration-3
Harvester shell integration - features
2024-11-14 09:25:05 +01:00
Mo Mesgin dd8f21ae33 Merge branch 'master' of github.com:rancher/dashboard into 10880-yaml-editor 2024-11-13 10:09:10 -08:00
Francesco Torchia 705bf22187
Fix imports
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-11-13 15:38:41 +01:00
Francesco Torchia e71adc7e9b
Fix BrandImage for Harvester product
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-11-13 15:38:40 +01:00
Francesco Torchia 14cef7e11c
Various fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-11-13 15:38:40 +01:00
Francesco Torchia 63e9ed6cb6
Restore css
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-11-13 15:38:39 +01:00
Francesco Torchia 71dd2d9364
Add prefs/dev getter
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-11-13 15:38:38 +01:00
Francesco Torchia 1e2e3309c2
Fix projectMembers label and remove this.$set
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-11-13 15:38:37 +01:00
Francesco Torchia eac3deaa4b
Add harvester features
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-11-13 15:38:36 +01:00
Francesco Torchia b4c98cf490
Merge pull request #12352 from torchiaf/feature/harvester-shell-integration-4
Harvester shell integration - remove LocaleSelector when is Harvester standalone UI
2024-11-13 10:12:57 +01:00
Nancy 6f52e59b07
Fix editing local rke1 and eks clusters (#12583)
* rework isImported and provisionerDisplay cluster properties

* refactor cluster unti tests to account for isImport property refactor

* update CLI e2e test to expect successful download
2024-11-12 14:11:00 -08:00
Mo Mesgin 5f18edcfd1 Merge branch 'master' of github.com:rancher/dashboard into 10880-yaml-editor 2024-11-11 20:19:40 -08:00
Phillip Rak 479aa652d5 Replace all usages of `v-tooltip` with `v-clean-tooltip`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-11-11 08:59:47 -07:00
Mo Mesgin 9f2ac1040f remove unused flexContent + add flex-content class to yaml editor wrapper 2024-11-08 12:41:08 -08:00
Alejandro Ruiz 046eb46009 Use BundleDeployment status to calculate GitRepo resources 2024-11-06 16:31:53 +01:00
codyrancher ec9fc8b5ec
Merge pull request #12448 from codyrancher/typo-fix
Fixing a typo found in a backport
2024-11-05 14:33:11 -07:00
momesgin 0e6b291b1c
Merge pull request #12450 from momesgin/12342-logging-flow-tagging
Fix tagging not working when creating a logging flow
2024-10-31 17:19:04 -07:00
Richard Cox 33876135ca
Ensure lists update when switching between workspaces with the same number of rows (#12449) 2024-10-31 17:16:04 -07:00
Mo Mesgin eac73976f5 fix tagging not working in creating a logging flow 2024-10-31 11:46:49 -07:00
Cody Jackson 48e71f2aa8 Fixing a typo found in a backport 2024-10-31 10:33:41 -07:00
Alexandre Alves 55f7f47ad4
fix issue dropdown in ff (#12426) 2024-10-31 08:28:19 +00:00
codyrancher 001b6e922d
Resolving an issue where we don't check to see if unrepeatedSans exists before using it (#12417)
https://github.com/rancher/dashboard/issues/12255
2024-10-30 12:10:39 +00:00
Alexandre Alves 1ed167d2ab
Support standard user handling SAML SLO feature (#12360)
* fix styling issue for logout link on avatar menu

* adapt saml logout logic to rely on info from public authprovider for SLO feature
2024-10-29 16:33:00 +00:00
Evgeniya Vashkevich 41cd75988a
Fixed httpget options not showing up (#12390) 2024-10-29 09:21:25 -07:00
Francesco Torchia 7905482de1
Lint
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-28 19:04:25 +01:00
Richard Cox df9c7ad684 Fleet Improvements
- Performance Fix
  - go back to using git repo status cluster ready / desired stats instead of costly clusterResourceStatus (churn can call this a LOT)
  - Improve load time of fleet cluster detail page
- Bug Fix
  - Using targetClustersReady and targetClusters doesn't seem to work in some cases, revert back to previous
- General Fixes
  - Fix weird fleet cluster list column alignment
2024-10-28 14:05:45 +00:00
Neil MacDougall 1a4db954f3
Remove legacy global configuration (#12346)
* 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
2024-10-27 12:02:25 +00:00
Francesco Torchia abae2dd067
Vue3 migration fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-24 17:06:15 +02:00
Phillip Rak 4e82a4d446
Merge pull request #12296 from rak-phillip/bugfix/12292-hook-cleanup
Replace `beforeDestroy` lifecycle option with `beforeUnmount`
2024-10-22 08:22:24 -07:00
Phillip Rak b83445b3bd
Merge pull request #12283 from rak-phillip/bugfix/12274-badge-validation
Add disabled prop to `ColorInput.vue`
2024-10-21 14:59:16 -07:00
Richard Cox 2c2de26f8c
Merge pull request #12138 from richard-cox/home-page-local-pag-2.10
Improve performance of home page when there are lots of clusters
2024-10-21 14:50:54 +02:00
Richard Cox 77e91a4185
Merge pull request #12039 from richard-cox/fix-node-drivers
Fix two node driver based issues
2024-10-21 14:50:39 +02:00
Phillip Rak 63e3ce2432 Replace `beforeDestroy` lifecycle option with `beforeUnmount`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-10-18 13:12:54 -07:00
Mo Mesgin 6d979649e3 revert css index to 1 2024-10-18 10:09:20 -07:00
Richard Cox 69e1b2608e
Merge pull request #12157 from richard-cox/harv-creds-2.10
[2.10] Show Cloud Credential Expiration information for Harvester Creds, add actions to renew
2024-10-18 18:15:00 +02:00
Giuseppe Leo ab2244cf8e
Clone of global admin role not a 100% carbon copy (#12235)
* Add comment about the logic behind the goToClone methods

* Remove verbs key manipulation and map verbs with methods

* Add tests to ensure verbs are not manipulated

* Fix linters
2024-10-18 17:45:31 +02:00
Phillip Rak d63e3bd045 Add disabled prop to `ColorInput.vue`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-10-17 10:21:52 -07:00
Phillip Rak 8621d3a96c
Merge pull request #12269 from rak-phillip/bugfix/12195-yaml-icon-display
Fix keymap icon positioning in codemirror
2024-10-16 15:44:53 -07:00
Phillip Rak 7f4b0f9772
Merge pull request #12278 from rak-phillip/bugfix/12267-detail-view
Watch and compare route before re-invoking `fetch()` in ResourceDetail
2024-10-16 15:44:30 -07:00
Nancy d23db14d7a
update vsphere machine config to use new networks endpoint (#12263)
* update vsphere machine config to use new networks endpoint

* update vapp options to reference network name not moid

* vapp wip

* clear out vapp config when switching to custom
2024-10-16 14:49:05 -07:00
Phillip Rak b594d6b047 Watch and compare route before re-invoking `fetch()` in ResourceDetail
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-10-16 13:18:46 -07:00
codyrancher d0c3c5a97f
Merge pull request #12270 from codyrancher/role-template-detail-remove
Fix a problem with deleting role templates from the respective detail pages
2024-10-16 08:46:43 -07:00
Cody Jackson 62e88ef845 Fix a problem with deleting role templates from their detail pages
We were attempting to navigate back to a non-existent page when deleting role templates from their corresponding detail pages. This caused the Prompt Remove dialog to show an error button and not close.

https://github.com/rancher/dashboard/issues/12217
2024-10-15 15:58:58 -07:00
Phillip Rak a125cf8495 Fix keymap icon positioning in codemirror
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-10-15 14:20:09 -07:00
Phillip Rak 86cde1ff3a
Merge pull request #12253 from rak-phillip/bugfix/12241-vue-set
Replace remaining instances of `$set` and `$delete`
2024-10-15 06:13:27 -07:00
Phillip Rak b57497972c
Merge pull request #12237 from rak-phillip/bugfix/12219-fetch-errors
Prevent `fetch` when navigating on pages that contain `ResourceDetail`
2024-10-14 15:12:38 -07:00
Phillip Rak cf1341cd44 Replace remaining instances of `\$set` with assignment
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-10-14 10:33:01 -07:00
Francesco Torchia 83d023dac8
Merge pull request #12208 from torchiaf/fix-harvester-4040
Fix nav-headers
2024-10-14 15:49:27 +02:00
Phillip Rak f417bb3a74 Prevent `fetch` when navigating on pages that contain `ResourceDetail`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-10-11 13:07:40 -07:00
Francesco Torchia 99f0dd6af2
Fix nav-headers
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-10 15:58:20 +02:00
Phillip Rak 72d208586e Use `fullColspan` for `projectsWithoutNamespaces`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-10-09 13:54:11 -07:00
Phillip Rak 1d58406933 Override popper content in `HeaderPageActionMenu.vue`
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>
2024-10-08 13:55:51 -07:00
Phillip Rak 5d09fa0bcd Reintroduce missing styles to `Header.vue`
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>
2024-10-08 13:55:11 -07:00
Giuseppe Leo 5405402875
Correct typo in the tag of the component (#12172) 2024-10-08 21:16:51 +02:00
Phillip Rak 61461989f1
Merge pull request #12109 from rak-phillip/bugfix/12108-header-styles
Fix style regression in header component
2024-10-08 08:25:54 -07:00
Nancy ab7308ef91
fix fleet summary tooltip styling (#12101) 2024-10-07 09:14:05 -07:00
Richard Cox ffa7bfce1e Tweaks 2024-10-07 10:40:16 +01:00
Richard Cox 96172607b3 Show Cloud Credential Expiration information for Harvester Creds, add actions to renew 2024-10-07 10:40:09 +01:00
Alexandre Alves 24568dc109
fix bug with LabeledSelect with "multiple" attribute (#12129)
* fix issue with labeledSelect in mode multiple by allowing the binding of the attribute to the element v-select

* Add test for component to emit the correct value as array

---------

Co-authored-by: cnotv <giuseppe.leo@suse.com>
2024-10-04 16:33:32 +01:00
Richard Cox daf98a56e1 Merge pull request #12050 from richard-cox/home-page-local-pag-2.9
Improve performance of home page when there are lots of clusters
2024-10-04 15:00:18 +01:00
Nancy f28214f9c6
Vue3 fix workload storage (#12070)
* fix workload storage codemirror not rendering

* workload storage default component  yamleditor instead of codemirror

* test editing projected vols

* add container mount test

* fix lint

* refactor deployment tests to improve retry-ability

* add to workoad storage tests and improve retry
2024-10-03 15:00:34 -07:00
Neil MacDougall 3e89716a6e
Fix typo int he capabilities list (#12115) 2024-10-03 17:31:27 +01:00
Phillip Rak e8d6f755c0 Fix style regression in header component
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-10-02 21:02:41 -07:00
Phillip Rak bfb5422dcf
Merge pull request #12076 from rak-phillip/bugfix/12025-cards-restore
Resolve issues with selecting page actions
2024-10-02 15:28:38 -07:00
Phillip Rak 21050a3695 Create component `PageHeaderActionMenu.vue`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-10-02 10:09:39 -07:00
Phillip Rak 211a051cf9
Merge pull request #12062 from rak-phillip/bugfix/11954-service-account-sizing
LabeledSelect: Filter `$attrs` applied to `v-select`
2024-10-02 09:21:01 -07:00
Richard Cox 190dffae21
Merge pull request #11940 from richard-cox/fix-nav-link-icon
Ensure the navlink icon is centrally aligned
2024-10-01 09:22:27 +01:00
Nancy e5c4051dba
refactor node detail test to use detail page po (#12074) 2024-09-30 14:43:12 -07:00
Phillip Rak 66744de533
Merge pull request #12045 from rak-phillip/bugfix/12007-menu-action
Create new `ButtonMultiAction.vue` component
2024-09-27 16:37:46 -07:00
Phillip Rak 1e2e62514b Filter `$attrs` applied to wrapper `div`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-27 14:45:58 -07:00
Evgeniya Vashkevich c3566e03e0
Vue3: Fixed navigation active style not applied (#12015) 2024-09-27 11:58:42 -07:00
codyrancher f1dce3323b
Merge pull request #12024 from codyrancher/required-array-list
Allow users to specify that an array list is required
2024-09-26 19:23:39 -07:00
Phillip Rak 2307ce3aea Unit test `ButtonMultiAction.vue`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-26 16:28:40 -07:00
Phillip Rak 997da50f44 Replace instances of "Borderless" multi action buttons
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-26 15:57:48 -07:00
Phillip Rak cfe08b1d7c Create component `ButtonMultiAction.vue`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-26 15:56:23 -07:00
Richard Cox 4d4c06f624 Merge pull request #11984 from richard-cox/node-driver-fixes
Fix two node driver based issues
2024-09-26 16:15:57 +01:00
Alexandre Alves 1e32c3e6f2
Fix Vue3: Several issues on Pod detail view (#11980)
* fix spacing issue deployments restart count

* remove col for namespace in pods table for workloads details view
2024-09-26 09:38:12 +01:00
Cody Jackson dca7b20d8b Allow users to specify that an array list is required 2024-09-25 14:54:54 -07:00
Francesco Torchia 33b6680a55
Merge pull request #12005 from torchiaf/fix-copy-paste
Fix `slots.default` API
2024-09-25 09:47:49 +02:00