Commit Graph

446 Commits

Author SHA1 Message Date
Neil MacDougall ffe0996790
Fix legacy projects redirect (#13488) 2025-02-24 19:46:12 +00:00
Alexandre Alves 84c234383a
Fix textual descriptions for cluster appearance in multiple places (#13416)
* Fix textual descriptions for cluster appearance in multiple places

* address pr comments

* address pr comments
2025-02-24 09:00:54 +00:00
Francesco Torchia 0b764f88f4
Merge pull request #13244 from aruiz14/fleet-resources-rework
Simplify handling of GitRepo status resources
2025-02-17 16:33:55 +01:00
Alexandre Alves e9d17074a5
add missing alt to image elements (#13384) 2025-02-13 11:32:38 +00:00
Alexandre Alves 0c411e96d3
Keyboard nav for extensions main screen (#13176)
* working on focus trap composable

* working on slide in panel refactor

* add change so that we dont have a change on the component diff

* fix slidein extension details panel key nav

* fine tune cluster badge trigger btn

* finish work on extensions page

* fix lint errors

* address pr comments

* fix problems of propagation

* update return focus for some modals in the extensions main screen

* remove dead code + fix focus selector return for add extensions repo and developer install modals
2025-02-11 10:47:55 +00:00
Neil MacDougall 202b768f67
Change SUSE Collective link (#13298) 2025-02-06 20:32:21 +00:00
Alejandro Ruiz bdc0162307 Stop fetching bundleDeployments 2025-02-06 16:48:00 +01:00
Alejandro Ruiz c793641518 Calculate bundle state counts from bundle statuses 2025-02-06 16:48:00 +01:00
Francesco Torchia 7e2e0f374b
Replace clusterId with cluster Name in Fleet Graphs links
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-02-03 16:36:48 +01:00
Francesco Torchia fe3f545319
Merge pull request #12896 from aruiz14/perf-improvements
Improve Fleet performance
2025-01-24 17:48:45 +01:00
Alexandre Alves 3b0418f9f3
fix key nav on charts page (#13139)
* fix key nav on charts page in cluster

* minor fixes to Select
2025-01-24 12:54:55 +00:00
Alexandre Alves 13496483fe
keyboard navigation for cluster badge appearance modal (#13021)
* working on key nav for cluster badge appearance

* color input is now key nav friendly + tooltip works on focus + trying to get focus trap to work properly

* remove console logs + add focus trap to card component with prop control + fix element for config badge button

* fix lint problem

* fix TS errors on pkg build

* remove step of building the skeleton app in the check-plugins-build step, which imo doesnt serve any purpose whatsoever

* add focus-trap as a shell dependency + revert publish script change

* remove focus-trap directive + improve chaining event handler modifiers

* pin focus-trap to 7.6.2 + replace link for button on cluster explorer main page + remove unused ev

* address pr comments
2025-01-24 09:33:00 +00:00
Alejandro Ruiz 2266b02644 Reuse gitRepoCounts 2025-01-23 18:41:02 +01:00
Alejandro Ruiz 69abbf8263 Misc changes 2025-01-23 18:41:02 +01:00
Alejandro Ruiz db7f9b52d6 Use BundleDeployments to calculate Bundles summary 2025-01-23 18:41:02 +01:00
Alejandro Ruiz cfaee91878 Fetch bundles from the Dashboard page in the background 2025-01-23 18:41:02 +01:00
Alejandro Ruiz f687440368 Rework dashboard calculation
Preprocessing counts for every gitrepo to avoid recalculating every time
2025-01-23 18:41:01 +01:00
Cody Jackson 91f6dcff24 Adding deprecated messaging to the performance settings page
Fixes #12873
2025-01-15 09:54:30 -07:00
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
Francesco Torchia 76bffa79c0
Add clickable routes for agents and tooltips for all components
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-12-16 16:21:57 +01:00
Francesco Torchia 9a0cac6e06
Code refactoring
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-12-13 11:46:37 +01:00
Alexandre Alves 6bc972ad7c
fix issue with display of fleet and cattle agent status on cluster dashboard view with very limited user permissions (#12717) 2024-11-29 15:28:10 +00:00
Alexandre Alves 6facd60a9f
remove all mentions for the restricted admin role (#12708) 2024-11-28 17:57:59 +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
andy.lee f88c7ae5a0
live change example-link color
Signed-off-by: andy.lee <andy.lee@suse.com>
2024-11-13 15:38:37 +01:00
Mo Mesgin 21e2077484 fix fleet dashboard page's scroll bar 2024-11-08 12:20:47 -08:00
Alejandro Ruiz 046eb46009 Use BundleDeployment status to calculate GitRepo resources 2024-11-06 16:31:53 +01:00
Evgeniya Vashkevich 190f486e09
Fixed UnitInput value not updating (#12420) 2024-10-30 14:05:47 +00:00
Alexandre Alves 34c74b8cc9
fix issue banner extensions prime users not being displayed (#12381)
* fix issue banner extensions prime users not being displayed

* add undefined condition

* add code comment

* fix e2e test
2024-10-30 10:20:26 +00:00
momesgin dca3f029fe
Merge pull request #12392 from momesgin/12205-apps-basics-namespace-create-banner
Fix namespace create banner in basics step
2024-10-29 09:01:14 -07:00
Richard Cox df953cd07d
Merge pull request #12375 from richard-cox/fleet-improvements
[2.10] Fleet Improvements
2024-10-29 13:43:06 +01:00
Richard Cox 0aa96329ed
Merge pull request #12317 from richard-cox/helm-app-values
[2.10] Update Helm App Values Approach
2024-10-29 09:51:57 +01:00
Mo Mesgin e84abedb21 fix styling issue with namespace create banner in basics step 2024-10-28 21:50:28 -07:00
Richard Cox 965833d12d Update following review
- avoid 0 showing as `?` - e.g. `0 || ?`
2024-10-28 16:19:56 +00: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
Richard Cox a61f832a36 Fix issue where socket updates to helm app wiped cached values
- socket updates remove all properties from an object on update, this included `_values`
- switch to more solit / response secrets getter instead

Top notes
- Helm app references secret by owner refs
- helm repo update action supplies helm app update and receives references to helm operationin response
  - This creates a new secret and updates the helm app's secret owner reference
- ui receives socket up to helm app containing new secret owner ref
2024-10-28 12:03:45 +00:00
Francesco Torchia 96668a0ca9
Merge pull request #12252 from torchiaf/12221-architecture-labels
Lowercase architecture labels
2024-10-23 12:32:00 +02:00
Richard Cox cf7ac08522 Changes after review
- force fetch of secrets on visit on install app/chart detail/app detail page
- add somre jsdoc


Note
This shouldn't break extensions UNLESS extension developers have implemented
custom chart install/upgrade processes. Existing extensions like kubewarden
or elemental are fine (they redirect to actual chart install process rather
than have their own)
2024-10-22 16:54:55 +01:00
Richard Cox 55bbc2ddac Helm App Values Change 2024-10-22 10:09:55 +01:00
Nancy adcf0c2cfe
Fix fleet cattle healthcheck (#12288)
* fix cluster dashboard cattle and fleet agent healthchecks when user has limited permissions

* add test for standard uesr cluster dashboard

* clean up commented code

* fix cluster dashboard unit test

* fix cluster dashboard e2e test
2024-10-21 09:01:45 -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
Nancy 73bff036c5
remove references to window.c (#12281) 2024-10-17 11:03:15 -07:00
Francesco Torchia 8c248f59aa
Lowercase architecture labels
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-16 10:55:37 +02:00
Richard Cox 94c86f4a0c Split out banner text, fix cluster banner text 2024-10-07 10:40:27 +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
Richard Cox aedaca5b11 Add ui-extension-version annotation to dev loaded extensions to ensure it loads 2024-10-02 17:51:29 +01:00
Richard Cox a80c921018 Singleton versions fetcher to reduce changes and fix dup versions request on log in 2024-10-02 12:49:39 +01:00
Alexandre Alves f55eadc734 minor fixes 2024-10-01 12:10:54 +01:00
Jordon Leach 772be295bc
Refactor incompatibility check 2024-09-30 14:23:56 -04:00