Commit Graph

242 Commits

Author SHA1 Message Date
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
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
Evgeniya Vashkevich 907875fbf9
Fixed cluster list in burger menu having unnecessary horizontal scroll (#12591) 2024-11-15 17:09:22 -08: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
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 eac3deaa4b
Add harvester features
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-11-13 15:38:36 +01: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
Alexandre Alves 55f7f47ad4
fix issue dropdown in ff (#12426) 2024-10-31 08:28:19 +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
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
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
Francesco Torchia 83d023dac8
Merge pull request #12208 from torchiaf/fix-harvester-4040
Fix nav-headers
2024-10-14 15:49:27 +02: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 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
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
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 21050a3695 Create component `PageHeaderActionMenu.vue`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-10-02 10:09:39 -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
Evgeniya Vashkevich c3566e03e0
Vue3: Fixed navigation active style not applied (#12015) 2024-09-27 11:58:42 -07:00
Jordon Leach 8e18f2e18c
ContainerShell window manager fixes (#11973)
* 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
2024-09-20 08:42:32 -04:00
Phillip Rak f9d6f31a60
Merge pull request #11966 from rak-phillip/bugfix/11928-focus-filter
Allow the namespace filter to be selected after making selection in the dropdown
2024-09-19 15:05:48 -07:00
Cody Jackson 5052c2a8e8 Enabling `vue/require-explicit-emits` linting rule
https://github.com/rancher/dashboard/issues/11961
2024-09-19 09:58:53 -07:00
Phillip Rak 59bd2095aa Add click handler to focus the Namespace filter
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-18 15:45:13 -07:00
Richard Cox cec77663a5 Ensure the navlink icon is centrally aligned 2024-09-17 17:19:33 +01:00
Mo Mesgin 567a1e4613 lint 2024-09-11 11:51:30 -07:00
Mo Mesgin a8340e46be Merge branch 'master' of github.com:rancher/dashboard into 11763-floating-vue-fixes 2024-09-11 10:56:51 -07:00
Mo Mesgin 682a09cae5 replace trigger with triggers 2024-09-11 10:56:45 -07:00
Mo Mesgin 85110f5f86 fix pinned cluster tooltip 2024-09-11 10:29:24 -07:00
Phillip Rak ced7137ceb
Merge pull request #11762 from rak-phillip/bugfix/11683-namespace-filter
Prevent mousedown event from triggering focus in NamespaceFilter.vue
2024-09-11 09:27:03 -07:00
Mo Mesgin e226f51b46 change classes to popperClass 2024-09-10 17:11:59 -07:00
Mo Mesgin 296f1a4cc5 replace old names/props from v-tooltip with new ones from floating-vue 2024-09-10 14:48:52 -07:00
Nancy 85c5c28c22
Vue3 fix unit tests (#11776)
* 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
2024-09-10 08:07:21 -07:00
momesgin 7d6201ce97
Merge pull request #11771 from aalves08/11684-popover-fix
Fix Vue3: Popover regressions in header
2024-09-05 15:52:38 -07:00
Phillip Rak ad2c555ea6 Prevent mousedown event from triggering focus in NamespaceFilter.vue
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-05 12:41:05 -07:00
momesgin af890b79b2
Merge pull request #11732 from momesgin/11728-namespace-selector-styling
Fix namespace selector's hovered/selected styling
2024-09-04 15:54:50 -07:00
Mo Mesgin 6c6eec8e47 Merge branch 'master' of github.com:rancher/dashboard into 11684-popover-fix 2024-09-03 12:02:58 -07:00
Mo Mesgin c0623cb0b6 fix set login popper position and styling 2024-09-03 10:25:56 -07:00
Richard Cox 7a89118c70
Merge pull request #11767 from aalves08/11766-saml-slo-fix
Fix -> Vue3: SAML SLO support - feature is broken
2024-09-03 14:18:49 +01:00
Mo Mesgin 1016bce378 fix set login popper not closing 2024-08-30 14:19:43 -07:00
Phillip Rak 1846eb8d32 Update virtual scroll behavior
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-30 10:24:58 -07:00
Alexandre Alves 60026587c3 fixing tooltips and metions of tooltips and dropdowns wherever I could find them 2024-08-30 15:49:34 +01:00
Alexandre Alves 297f76e476 fix header user menu styling 2024-08-30 15:49:34 +01:00
Alexandre Alves 647eb93031 add missing bits to make saml slo feature work + fix notations + fix propagation of data on TextAreaAutoGrow 2024-08-30 09:24:00 +01:00