Commit Graph

1683 Commits

Author SHA1 Message Date
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
Francesco Torchia c9216b3e70
Fleet dashboard add create btn, add type filters in table mode
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:22:10 +02:00
Francesco Torchia 6b1a208152
Use ItemCard in Fleet Dashboard
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:22:09 +02:00
Francesco Torchia a385c32c97
SlideInManager add focusTrapWatcherBasedVariable option
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:22:07 +02:00
Francesco Torchia b640fcea90
Fleet group dashboard states to improve performances
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:22:05 +02:00
Francesco Torchia f0fd555c45
Fleet add showWorkspaceSwitcher store action and wire it in dashboard page to hide the selector
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:22:04 +02:00
Francesco Torchia 80722ae045
Fleet dashboard css revist
- add secondary label class
- fix borders
- fix charts style and tooltips
- fix errors overflows and add tooltips to display errors
- fix cards grid
- fix badge colors

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:22:03 +02:00
Francesco Torchia c0cef992aa
Fleet dashboard state utils refactoring 2025-06-10 18:21:59 +02:00
Francesco Torchia 93dd27386c
Presets switch from cookies to local storage 2025-06-10 18:21:58 +02:00
Francesco Torchia d65e0f5969
Fleet dashboard improve layout
- add table view
- move mode-view button on top
- merge gitrepos and helm charts
- fix charts style
- clickable charts
- add cluster charts

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:21:56 +02:00
Francesco Torchia 701ea98a2e
Fleet fix dashboard css
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:21:55 +02:00
Francesco Torchia 59e7e98d02
Fleet dashboard unit tests
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:21:54 +02:00
Francesco Torchia 20782572a9
Implement Fleet dashboard a11y and SlideInPanel focus-trap
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:21:53 +02:00
Francesco Torchia 272a94903c
Fleet dashboard e2e tests
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:21:52 +02:00
Francesco Torchia 9ca39ba11b
Fleet fix dashboard resources states
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:21:52 +02:00
Francesco Torchia 61c31a61b4
Fleet Add source field in Dashboard Resource detail panel; Add no target clusters warning in Dashboard cards
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:21:51 +02:00
Francesco Torchia 7653f1b42d
Fleet fix slideInOpen raise condition + minor fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-10 18:21:50 +02:00