Commit Graph

1699 Commits

Author SHA1 Message Date
Francesco Torchia c44681ab8c
Fleet targets revisit CSS
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 16:48:00 +02:00
Francesco Torchia 952be9a79c
Fleet targets button css
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 15:46:45 +02:00
Francesco Torchia 1f9f8c542d
Fleet fix targets - harvester rule handling; add unit tests
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 15:46:45 +02:00
Francesco Torchia db5ede12b3
Fleet add namespace in targetMode calculation
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 15:46:44 +02:00
Francesco Torchia 2b86fd41a4
Fleet remove empty targets form if clusters list is empty
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 15:46:43 +02:00
Francesco Torchia b8dde4d8ca
Fleet fix tagetInfo column to be consistent with the new targets rules; add getTargetMode util
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 15:46:42 +02:00
Francesco Torchia 337dd6f258
Fleet remove typos
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 15:46:42 +02:00
Francesco Torchia 1a6c154a47
Fleet add FleetClusterTargets component and wire it in GitRepos and HelmOps
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 15:46:41 +02:00
Francesco Torchia 970f4d3bda
Fleet fix HelmOps permissions
- Add HelmOps to roles.ts
- Create Applications page, disabled cards based on permissions
- Hide create button in dashboard if no permissions

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 11:16:07 +02:00
Francesco Torchia bd900af2d8
Fleet fix dashboard card height in case of resource errors
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 11:16:06 +02:00
Francesco Torchia f760e562c4
Fleet HelmOps various fixes
- types refactoring
- fix workspaces check
- add typescript

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 11:16:01 +02:00
Francesco Torchia b65985165f
Fix lint
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 11:16:00 +02:00
Francesco Torchia 0ad2b9fd64
Fleet improve applications source field; remove link if URL is not HTTPS, OCI, SSH; cleanup code
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 11:15:57 +02:00
Francesco Torchia 37f7ce8d2c
Fleet fix applications intro when empty table in dashboard
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 11:15:54 +02:00
Francesco Torchia 0bfec3c9bc
Fleet HelmOps wizard refactoring
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 11:15:51 +02:00
Francesco Torchia b61cdea94f
Fleet fix repo and helm icons and labels
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 11:15:47 +02:00
Francesco Torchia 7b2d0f0a6e
Fleet enable HelmOps Graph
- Make gitRepoGraphConfig generic
- Make ForceDirectedTreeChart generic, remove Fleet references
- Remove Fleet references from ResourceDetail
- Add graph permissions check in ForceDirectedTreeChart
- Dashboard fixing filters when changing view mode

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 11:15:46 +02:00
Francesco Torchia bb65c6128a
Fleet enable helmOps in dashbaord page; fix e2e tests
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 11:15:43 +02:00
Francesco Torchia 6aa7130fd7
Fleet fix appSourceName label in Bundles model
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 11:15:42 +02:00
Francesco Torchia 0a4ffe8624
Fleet add application table headers
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 11:15:41 +02:00
Francesco Torchia 51c24a1a8d
Fleet implement HelmOps list page; fix dashboard cards
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 11:15:40 +02:00
Francesco Torchia c068b32333
Fleet add applications skeleton; re-organize Advanced tap; fix models
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-18 11:15:39 +02:00
Francesco Torchia 5409574fa2
Merge pull request #14414 from torchiaf/13270-oci-registry
Fleet GitRepo OCI registry
2025-06-18 09:23:15 +02:00
Alexandre Alves ff12e4a6cf
fix problem with dark mode and primary color type + bump shell version (#14390)
* fix problem with dark mode and primary color type + bump shell version

* update

* update again
2025-06-17 12:10:16 +01:00
Yiya Chen 6932a30d4e
fix: fix exception error (#14507)
Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>
2025-06-17 13:25:27 +08:00
Francesco Torchia c80a101b1f
Remove typo
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-17 04:04:37 +02:00
Francesco Torchia dbabbf71b0
Fleet add FleetOCIStorageSecret.test unit test
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-17 04:04:35 +02:00
Francesco Torchia 6c677c7dab
Fleet select default OCI storage on create
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-17 04:04:34 +02:00
Francesco Torchia c8a415d3ea
Fleet OCI storage secret rename components
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-17 04:04:34 +02:00
Francesco Torchia d5eb321b31
Fleet OCI storage secret, add tooltip
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-17 04:04:33 +02:00
Francesco Torchia c95ccd5cf2
Fleet OCI storage secret, add none option by default
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-17 04:04:32 +02:00
Francesco Torchia 1ea22fc32c
Fleet add Oci Registry secret selector in GitRepo wizard
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-17 04:04:31 +02:00
codyrancher 9d596e7ffb
Merge pull request #14515 from codyrancher/detail-page-top
Adding the TitleBar and Metadata related component for the detail page redesign
2025-06-16 16:12:32 -07:00
Cody Jackson 7ccd11bae1 Removed ButtonWithIcon 2025-06-16 15:25:04 -07:00
codyrancher 96647e41ab
Update shell/components/Resource/Detail/Metadata/KeyValue.vue
Co-authored-by: momesgin <mo.mesgin@suse.com>
2025-06-16 14:38:39 -07:00
momesgin 52ba43a636
FilterPanel Component (#14406)
* app card component

* cover upgradable and installed statuses

* support tags

* comment out handle clicks

* add matching chart logic

* add unit tests

* add unit tests for chart model

* fix e2e tests

* fix e2e test

* add secondary text link in css

* change AppCard to a generic ItemCard

* continue making itemcard more generic

* fix reference issue

* title slot + variant styling

* code cleanup + minor refactor

* new icons

* update icon lib + minor refactor and styling

* unit tests

* more unit tests for chart model

* refactor some slots + finishing touches

* some accessibility updates

* minor styling

* move image div inside slot

* uncomment e2e tests

* fix charts selector

* fix test

* fix statuses alignment

* more robust header styling

* remove PropType

* updated translation key

* update key

* rename

* improve aria labels + minor cleanup

* fix import

* replace deep targetting lazyimage css with style attr

* remove deep for actions + fix small header alignment

* rename component

* remove extra check

* add comments

* add comments to model

* use id instead of chartName

* remove todos

* fix matching app logic not including the latest version

* create RcFilterPanel component and use it in charts page

* fix repo click + minor styling

* update checkbox styling + fix unnecessary render for extra slot

* revert checkbox styling changes

* wrapper styling

* imporve performance

* debounce search query

* update e2e tests

* support actions as prop

* resolve conflicts

* update filter component + add statuses filter

* dynamic card layout when variant is not set

* fixed unit tests + lint

* removed unnecessary default props

* fix e2e test

* improve aria label message + remove unnecessary ones

* move component

* separate status filtering

* status tooltips

* fix export component

* Only calc variant twice

* lint

* fix unset debouncedSearchQuery

* resolve conflict

* add requestAnimationFrame to optimize observer

* fix resolve conflicts

* support both v-model and value + fix sluggish checkboxes + comments

* move RcFilterPanel to pkg

* unit tests

* remove unused carousel related code

* remove unused carousel related code

* remove unused carousel related code

* update card po and its usage

* rename

* resolve merge conflicts

* replace .no-card-click with RcItemCardAction component

* minor styling

* add po for rc-filter-panel and update e2e tests

* update unit tests

* refactor e2e test for disabled repo

* accessibility changes

* add translation + minor refactor

* add keydown handlers + minor refactor

* Revert ResizeObserver, also cache filteredCharts map result

* fix resolve conflicts

* fix resolve conflicts

* revert removed data-testid

* minor styling

* remove unused code

* update css space variables

* fix e2e test

* remove type description + minor styling

* update index.d.ts

* update logic to remove value prop

* rename footer item click

* add screen reader message for opening on a new tab

* check for option.label

* revert space variable changes and update .outlet padding instead

* revert spacing change

* fix using modelValue

* fix checkbox value type

* converted rc component to regular

* fix import

* fix type

* fix item card focus styling

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
Co-authored-by: Richard Cox <ricox@suse.com>
2025-06-13 15:16:13 -07:00
Cody Jackson fa8c0efad0 Adding the TitleBar and Metadata related component for the detail page redesign 2025-06-13 13:14:55 -07:00
Cody Jackson 54874e0262 Add the card components necessary for the new detail page
This change will not affect any rendering currently in master
2025-06-12 17:14:56 -07:00
Richard Cox fdcdf81278
Merge pull request #14467 from richard-cox/add-role-psa-project-warning
Show a warning on the project/namespace role create/edit and detail pages for upgradepsa perms
2025-06-12 10:49:50 +01:00
Francesco Torchia 11ab3988ca
Merge pull request #14160 from torchiaf/13172-fleet-dashboard
Fleet, implement Dashboard
2025-06-12 10:38:27 +02:00
Richard Cox 75afc17979
Handle new vai-on updates to resources (#13150)
* port of wip

* asdassad

* Update vai / sql cache based api filtering to match latest changes

* Revert "Pin Rancher version to v2.11-2053ce644a31cd8053d1f58e2487154b0b8513b6-head for e2e tests"

This reverts commit 60f62107e7.

* sdfdsf

* dsfdsf

* asdsad

* fix dynamic hide local cluster changes

* improvements

* aaaa

* Working through todo's/tidys

* Remove debug / tidy up

* resolving todos

* remove some debug

* Tidying up #1

* Make manual refresh and auto-refresh visible on perf setting, disabled by default

* Remove dev stuff

* Fix some e2e tests

* Updated comment

* Wire in resource.changes debounce, clearer label for feature `listAutoRefreshToggle`

* Temporarily disable all watches when vai enable
- remove once rancher/rancher#40773 is resolved, which will then finally fix #12734

* Revert "Temporarily disable all watches when vai enable"

This reverts commit c708f468e4.

* Fix nextResourceVersion
- Ensure it handles resource revisions (in both LIST or individual resources) that are strings
- add unit tests

* Update after review
2025-06-11 18:11:35 +01:00
Francesco Torchia 4dacd1bcc3
Fleet code clean-up
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-11 16:33:00 +02:00
Francesco Torchia acaf6820b1
Fleet fix RcItemCard import
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:22:20 +02:00
Francesco Torchia 6146967587
Fleet add dashboard typescript support
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:22:18 +02:00
Francesco Torchia d8db206403
Fleet address review issues:
- try catch errors in init summary status
- replace icon buttons with RcButton
- remove :deep()
- improve accessibility
- clean-up code

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:22:18 +02:00
Francesco Torchia 643175779b
Fleet fix unit tests
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:22:17 +02:00
Francesco Torchia 6d1c3e46ef
Fleet fix dashboard accessibility; replace icon buttons with RCButton
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:22:14 +02:00
Francesco Torchia 32596dc9de
Update shell/components/fleet/dashboard/ResourceCard.vue
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
2025-06-10 18:22:14 +02:00
Francesco Torchia 74d18e776f
Fleex fix dashboard cards focus trap
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:22:13 +02:00
Francesco Torchia 5037a5a7ab
Fleet remove dashboard card title link; fix css
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:22:11 +02:00