Fleet: Dashboard: Duplicate 'Create App Bundle' buttons
Setup
- Rancher version: v2.12
- Rancher UI Extensions:
- Browser type & version: Any
Describe the bug There are two "Create App Bundle" buttons visible on the Fleet Dashboard. Both buttons trigger the same action, which is redundant. Its unclear if buttons are intended to have separate functionality or if the duplication is unintended.
To Reproduce
- Go to Fleet > App Bundles
- Create a GitRepo or HelmOp AppBundle - one in each workspace (fleet-local, fleet-default)
- Go to Fleet Dashboard page
- Expand workspace cards
Result Both buttons perform the same action, with no contextual difference.
Expected Result
- There should be only one "Create App Bundle" button in the UI.
- OR the two buttons should have distinct behavior (e.g., clicking the button inside a workspace card (like fleet-default) should pre-fill or scope the form to that specific workspace).
Screenshots
Additional context
This should be discussed with @edenhernandez-suse . I added the create button to each workspace, maybe we can add only one button globally.
I assumed that the App Bundle would be created in the specific Workspace, but I think that behaviour is not currently supported (it would mean pre-setting the clusters to deploy, I guess). Moving it to global is not immediate; the header would change drastically. Being so late, I would keep it and create an issue to design an alternative for the next release.
What we can do in time for 2.12 is to switch to correct workspace when clicking on Create buttons @yonasberhe23 @edenhernandez-suse
Tested on latest (Rancher v2.12-632e1c176e48cc353c3385497d97188327eb6d67-head / Dashboard master e10f19e)
Clicking the button inside a workspace card scopes the form to that specific workspace.
https://github.com/user-attachments/assets/64818313-33bf-4072-a4c6-8ea734a19080