Commit Graph

2033 Commits

Author SHA1 Message Date
Cody Jackson ec7f0aaa55 Add comment documenting new prop in the Tab component. 2025-08-22 07:48:28 -07:00
Alexandre Alves 7279cd7814
fix issue with addon modal in cluster edit (#15184)
* fix issue with addon modal in cluster edit

* improve safeguard
2025-08-21 10:13:47 +01:00
Cody Jackson eeef60ba2a An alternative narrower scope implementation 2025-08-21 01:43:41 -07:00
Cody Jackson 63eafb9fe7 Adding tab counts to our detail page resource tabs
Addresses a part of #13328
2025-08-21 01:43:41 -07:00
Richard Cox a7a4f6f8c7
Merge pull request #14947 from richard-cox/improve-resource-labeled-default-store
Use a more sensible default for ResourceLabeledSelect inStore
2025-08-18 16:54:00 +01:00
Cody Jackson 331d801766 Migrating fleet over to using the masthead slots to render custom buttons 2025-08-15 09:17:20 -07:00
momesgin 71b3422452
fix markdown images breaking out of their parent element (#15151)
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-08-15 08:53:56 -07:00
Neil MacDougall cbc94e3f8e
Remove icon-fw and other unused icon classes (#15158) 2025-08-14 21:39:23 +01:00
Alexandre Alves 6a5e6e0220
remove unsused focus trap from Card component + add refs wherever possible for focus trap init (#15090) 2025-08-14 09:14:40 +01:00
codyrancher a44667cd89
Merge pull request #15139 from codyrancher/masthead-slots
Adds support for for an additional actions slot in our titlebar/masthead
2025-08-13 15:04:00 -07:00
Alexandre Alves 4a7a7dd516
fix styles in tabbed footer controls (#15095)
* fix styles in tabbed footer contriols

* fix border radius

* fix z-index
2025-08-13 10:20:36 +01:00
Cody Jackson 0462944a9e Adds support for for an additional actions slot in our titlebar/masthead
Fixes #14977
2025-08-12 18:13:57 -07:00
Alexandre Alves c515a9e384
fix keyboard nav on show advanced in cluster create/edit (#15091)
* fix keyboard nav on show advanced in cluster create/edit

* fix broken e2e
2025-08-12 16:29:43 +01:00
Alexandre Alves 42dae38972
fix keyboard focus being trapped in cluster appearance modal (#15094)
* fix keyboard focus being trapped in cluster appearance modal + fixes cluster appearance modal not being activated by enter key

* fix outline cluster appearance toggle btn
2025-08-12 15:29:10 +01:00
momesgin 6058587b10
Improve performance in apps/charts page by optimizing LazyImage component (#14906)
* utilize observer in LazyImage to load the image only when it's in viewport

* fix unit tests

* display error image only when src is falsy or got an error

* removed unnecessary data block

* initialize non-reactive data

* move non-reactive data

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-08-08 16:57:56 -07:00
codyrancher bdb6a8d441
Remove the concept of legacy/latest detail pages (#15076)
* Remove the concept of legacy/latest detail pages

* Update the padding for explorer pages

* Fixing an issue found with the outlet padding change
2025-08-07 16:36:56 -07:00
Alexandre Alves 7312383923
fix focus-visible outline in dark mode (#15088) 2025-08-07 17:55:05 +01:00
Phillip Rak 2bb9ecb65d
Merge pull request #15060 from rak-phillip/task/14418-dropdown-keyboard-scroll
Update scrolling behavior when navigating dropdown items via keyboard
2025-08-07 08:41:35 -06:00
Phillip Rak f33be47da3 Move `scrollIntoView()` implementation to `useDropdownItem()`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-08-05 13:42:52 -07:00
codyrancher e4836ea690
Update the styling of our detail page tables (#14986)
Targets #13328
2025-08-05 10:38:43 -07:00
Evgeniya Vashkevich 6db6ce7f1f
Fixed Harvester detail page through Cluster Management (#14982) 2025-08-05 09:19:37 -07:00
codyrancher 1b24c4d14a
Resolves a spacing issue for metadata components (#15027)
fixes #14996

When I re-introduced the ExtensionPanel I did it as a separate child of the Metadata component. This implicitly disables inheritAttrs so the class was no longer being passed.
2025-08-05 07:45:44 -07:00
Richard Cox a7a1e75cd6
Merge pull request #15013 from richard-cox/fix-logging-secret-selector
Ensure SecretSelector resets on namespace change
2025-08-05 12:08:13 +01:00
codyrancher 2a23e045dd
Fixing an issue where metadata wasn't reactive (#15031)
Fixes #14948
2025-08-04 11:06:44 -07:00
Richard Cox 2b83765067 Ensure SecretSelector resets on namespace change
- re-render the core controls, reset the selected values
- also
  - fixed typing in labeled-select-pagination. something over the versions broke this
  - removed empty comment root output edit page
  - removed debug line in awsElasticsearch
2025-08-01 15:23:18 +01:00
Nancy 0e445a4a81
Merge pull request #14460 from mantis-toboggan-md/install-button
Add a button to quickly install helm charts outside the apps and marketplace
2025-08-01 07:22:22 -07:00
momesgin 08ab4dbe8b
Chart Detail Page (#14918)
* chart detail page

* rename css classes

* update repo link to the detail page

* accessibility improvements

* fix e2e test

* add e2e tests

* tooltip for zero date

* fix e2e tests

* fix e2e tests

* fix e2e test

* use RcButton

* version date tooltip

* add icon to upgrade button

* replace anchor tag with router-link

* fix e2e test

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-07-30 10:52:13 -07:00
codyrancher 4db762411d
Resolved an issue where the new masthead broke the existing extension panels (#14958)
fixes #14957
2025-07-30 09:55:57 -07:00
Phillip Rak d4495f4b82
Merge pull request #14858 from skanakal/recreate-log-tab
add unique :key to each component
2025-07-30 10:36:39 -06:00
Phillip Rak 123d9f5d94
Merge pull request #14805 from rak-phillip/bugfix/14791-sortable-table-key
Use row key instead of index key in v-for
2025-07-30 09:20:11 -06:00
codyrancher 8b27a69afa
Adding the Show Configuration action to all resource availableActions (#14825)
fixes #14824
2025-07-29 17:56:19 -07:00
Richard Cox 621ed9dc79 Use a more sensible default for ResourceLabeledSelect inStore 2025-07-29 10:26:26 +01:00
Francesco Torchia 0849342631
Merge pull request #14930 from torchiaf/10169-fleet-layout-overflows
Fix Tabbed content overflow
2025-07-28 17:19:19 +02:00
Francesco Torchia 250db1db50
Fleet fix FleetStatus content overflow
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-28 12:10:22 +02:00
Francesco Torchia be08919d09
Fix tables overflow in Tabbed component
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-28 12:09:46 +02:00
Richard Cox 788db6edd7
Merge pull request #14468 from richard-cox/remove-cred-expiration
Reverts features that work around expiring harvester credentials
2025-07-28 09:04:11 +01:00
Francesco Torchia f64b8c8c92
Merge pull request #14850 from torchiaf/14808-helmop-version
Fleet fix HelmOps table - Source column
2025-07-28 09:30:43 +02:00
Nancy Butler bd20e2983a lint 2025-07-25 09:32:47 -07:00
Richard Cox 0d21048c6b Reverts features that revolve and work around expiring harvester credentials
- Given harvester tokens will now not expire revert features around expiring tokens
  - https://github.com/SUSE/rancher-architecture/pull/4
- Warn users when creating harvester tokens that they expires
  - https://github.com/rancher/dashboard/pull/11313
- Warn users that an existing harvester token is about to/has expired and let them renew it
  - https://github.com/rancher/dashboard/pull/12157
2025-07-25 10:20:30 +01:00
Nancy Butler 0df988b230 pr feedback 2 2025-07-24 13:49:23 -07:00
codyrancher b2bd266039
Reverted the color of the loading background while maintaining the new color for the rest of overlays (#14871)
fixes #14856
2025-07-24 13:15:49 -07:00
Nancy Butler a644e71d74 remove commented code and add better error handling 2025-07-24 10:41:56 -07:00
Nancy Butler ad73bc61d4 permission checks
refactor button label/phase

fix button flashing incorrect label partway  through

translations

clean up
2025-07-24 10:41:56 -07:00
Nancy Butler 3a96b77d0d remove console errors since es lint ignore is not working 2025-07-24 10:41:56 -07:00
Nancy Butler 92be9781d1 eslint same-line disable console error warning 2025-07-24 10:41:56 -07:00
Nancy Butler 10ed5054a6 allow console error statements and correct inline comment 2025-07-24 10:41:56 -07:00
Nancy Butler 6b177475f7 fix rebase oopsie 2025-07-24 10:41:56 -07:00
Nancy Butler 63ee96d7fc loading behaviour 2025-07-24 10:41:56 -07:00
Nancy Butler 9e3ea66ec8 fix btn visibility 2025-07-24 10:41:56 -07:00
Nancy Butler 373fd4158b version info error handling 2025-07-24 10:41:56 -07:00
Nancy Butler 3bb8850949 translations, bugs 2025-07-24 10:41:56 -07:00
Nancy Butler d0d374a84a button 2025-07-24 10:41:55 -07:00
codyrancher 20f1b32848
Resolving some z-index issues around tooltips and slide-ins (#14840)
Fixes #14833
2025-07-23 15:17:42 -07:00
Siva Kanakala 9ce164ae50 add unique :key to each component 2025-07-22 10:39:10 +05:30
Francesco Torchia 37489d9fec
Fleet show dash if source is empty
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-18 17:56:05 +02:00
Francesco Torchia f99574e402
Fleet fix missing HelmOps OCI sourceSub and clean-up code in the model
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-18 17:35:53 +02:00
Evgeniya Vashkevich 9a7c808093
Fixed footer inconsistency for different providers (#14829) 2025-07-17 15:23:33 -07:00
LiuYan c7798fb8cf
fix(Networking): fix unable to edit Host Aliases configuration of a workload pod (#12992) 2025-07-15 09:34:41 -07:00
Richard Cox eb1c08032f
Project Scoped Secrets (#14772)
* rename variables

* change button names + fix import

* apply pagination to secrets

* Major Changes

- secrets and project scoped secrets are now two pages
  - this fixes the issue where resource-fetch and associated mixins just fail with two of the same type on page
    - incremental loading would have been broken for both
- project scoped secrets
  - now correct lists upstream secrets that a project scoped based and on the target cluster
    - lots of work to get CRUD for management secrets in explore/cluster world
    - also includes a specific page to override the store for create/edit/view
  - these are now correctly grouped by project
  - updated to work with SSP enabled
- secrets list
  - shows if the secrets comes from a project
  - shows if the secret is a project scoped secret (only used on upstream cluster)
  - updated to work with SSP enabled
  - disabled update/delete of secrets created from project scoped (these just reset when sync runs again)
- disabled new detail view
  - this is broken, it ignores both storeOverride and currentStore, always going to `cluster` store


TODO:
- mostly testing
- blocked on some BE issues (bugs, additional indexed field)

* ... progress. will update commit message

* Revert "Merge pull request #14748 from richard-cox/revert-project-secrets"

This reverts commit be3962261d, reversing
changes made to 62d80084d9.

* tidy, and remove e2e

* test fixes

* fix vai group by

* Fix for grouping (secrets --> group by namespace --> pss --> table is incorrectly grouped but toggle is correct

* fix warning

* fix clone/yaml, fix default/system pss

* don't fetch projects, it wipes out header. this means in upstream we won't show project names for pss downstream

* fix lint

* fix ts complain

* Tweak column tooltips

* Add cypress logs for failing tests

* pipe in `inStore`

* tweaks to cypress logs process
- better name
- log http requests
- only create logs if run failed

* Secret selector improvements and test fixes
- don't cache or watch secrets if we're showing multiple selectors on a page
- ensure we classify secrets (make it into an instance of a model)

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
Co-authored-by: momesgin <mo.mesgin@suse.com>
2025-07-15 08:27:26 +01:00
Phillip Rak 6e5f1be3d4
Merge pull request #14799 from rak-phillip/task/live-date-tests
Use fake timers in LiveDate unit tests
2025-07-14 15:39:35 -06:00
Phillip Rak f1d5b1c5b8
Merge pull request #14803 from rak-phillip/task/14801-sortable-table-right-click
Remove `preventDefault` when right clicking sortable table content
2025-07-14 15:13:11 -06:00
Phillip Rak 1c5187ba86 Use row key instead of index key in v-for
This uses the `row.key` as the key in the v-for directive to ensure that each row is uniquely identified by its data. Using a key as an identifier ensures that the local data in the iterated component will sync correctly with the new data.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-07-14 13:19:16 -07:00
Nancy c382113a50
Merge pull request #14766 from mantis-toboggan-md/fix-masthead-style
remove overflow-x: hidden from legacy masthead
2025-07-14 11:03:31 -07:00
Phillip Rak d562255387 Remove `preventDefault` when right clicking sortable table content
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-07-14 10:52:03 -07:00
Phillip Rak 8ca1783027 Use fake timers in LiveDate unit tests
This uses jest fake timers and sets a system time for the LiveDate unit tests.

While rare, there are scenarios where using the actual system time can fail the LiveDate unit test - these failures can occur if a test takes too long, or runs at an innoportune time. Making use of fake timers allows the LiveData tests to be deterministic.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-07-14 09:41:12 -07:00
Evgeniya Vashkevich 2e25bc83ae
Added back RKE1 removal, removed etcdbackup (#14786) 2025-07-14 08:29:27 -07:00
Francesco Torchia bbe8ccdbab
Fix charts background error color in preparation of new theme colors
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-14 11:37:08 +02:00
Francesco Torchia fb67679e28
Merge pull request #14698 from torchiaf/fix-yaml-conflicts
Fix YAML 409 conflict errors
2025-07-14 10:48:15 +02:00
codyrancher 63d2bccaa1
Fixing a couple issues around the ResourceDetailDrawer and Harvester while giving the option to disable the drawer and/or the config tab for a resource (#14782)
Fixes #14718
2025-07-13 07:46:51 -07:00
codyrancher c617fff312
Putting together a smattering of style fixes that were pointed out during a design review (#14744) 2025-07-11 13:29:32 -07:00
Nancy Butler 7021455879 remove overflow-x hidden from legacy masthead to correct ff display issue 2025-07-11 10:26:22 -07:00
Francesco Torchia 4b52e3f877
Handle conflict errors in resource-class.js/saveYaml PUT requests
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-11 17:10:43 +02:00
momesgin c9744d1da5
RichTranslation component for embedding components in translations and fix repositories causing refresh (#14736)
* add new component to support rich translation

* add test + minor refactor

* add whitelist for tags + fix test

* use new translation component for charts empty state

* fix docs message

* remove unused prop

* remove weak test

* fix tag

* fix tag

* revert removing root tag as prop

* fix type

* minor refactor

* sanitization

* replace escapeHtml with purifyHTML

* use rich translation for no charts docs message

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-07-10 12:02:06 -07:00
Alexandre Alves 07b14e8d71
fix bug with empty space above side menu (#14764) 2025-07-10 15:38:28 +01:00
Richard Cox 06713a4f32
Merge pull request #14552 from skanakal/fix-helmresource-status
display 'missing' state for deleted related resources in app view
2025-07-10 14:13:34 +01:00
Francesco Torchia 7926cdf23c
Merge pull request #14714 from torchiaf/14713-missing-helmops-from-clusters
Fleet add HelmOps in cluster pages
2025-07-10 13:49:54 +02:00
Francesco Torchia f0617f4536
Fleet add HelmOps in cluster pages
- Add Helm Ops Ready column
- Change cluster columns order
- Fix Git Repos Ready col label
- Fix e2e tests

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-10 13:05:12 +02:00
Phillip Rak cb1fdd34aa
Guard against DOM events in modal close event (#14754)
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-07-10 10:32:20 +01:00
Alexandre Alves faa7fe3b60
A11y report fixes (#14530)
* fix item 2: All page content should be contained by landmarks

* fix item 4. Elements must only use permitted ARIA attributes

* fix item 6. ARIA attributes must conform to valid values

* fix bug on item 6. and fix item 7. <ul> and <ol> must only directly contain <li>, <script> or <template> elements

* fix item 8. Interactive controls must not be nested

* fix item 10. ARIA toggle fields must have an accessible name

* fix item 11. autocomplete attribute must be used correctly

* fix item 12. Form elements must have labels

* fix item 14. ARIA input fields must have an accessible name

* fix item 15. Buttons must have discernible text

* fix item 16. Images must have alternative text

* working on item 17

* finish fix item 17. ARIA role should be appropriate for the element

* fix wrong role in hidden inputs

* address pr comments
2025-07-10 10:09:09 +01:00
Evgeniya Vashkevich c72a94e51c
Added GCE support (#14694) 2025-07-09 16:34:29 -07:00
Francesco Torchia afcd76fc14
Merge pull request #14749 from edenhernandez-suse/fleet-dashboard-refinements
Fleet dashboard Card errors not fixed height, height adapted to the row
2025-07-09 14:49:04 +02:00
edenhernandez-suse d482598baa Remove unnecessary class definition 2025-07-09 13:55:21 +02:00
Richard Cox be3962261d
Merge pull request #14748 from richard-cox/revert-project-secrets
Revert Project Scoped Secrets
2025-07-09 12:07:04 +01:00
edenhernandez-suse 199172e043 Fleet dashboard Card errors not fixed height, height adapted to the row 2025-07-09 12:59:39 +02:00
Francesco Torchia 4412e60309
Merge pull request #14737 from torchiaf/14735-fix-targets-name
Fleet fix target cluster names
2025-07-09 12:18:19 +02:00
Richard Cox 3f086247e2 Revert "Project scoped secrets (#13979)"
This reverts commit a35b81cbd3.
2025-07-09 11:16:16 +01:00
Alexandre Alves 116e8c41ff
Fix scrolling issue (#14739)
* remove hash usage as we cannot prevent the scrolling with scrollbehaviour of vue-router

* proper fix

* proper fix now
2025-07-09 09:35:00 +01:00
Richard Cox 01dbbd6897
Merge pull request #14719 from richard-cox/pagination-fix-receiver-config
Ensure correct syntax is used with SSP and the secret selectors
2025-07-09 08:26:27 +01:00
Phillip Rak 81071b5027
Revert: Add an id to track members of ArrayList.vue (#14742)
This reverts commit 6ee27db90d.
2025-07-08 18:46:56 -07:00
codyrancher 72eb857364
Resolving an issue when DetailText received undefined/null value (#14652)
We now default to an empty string which allows the rest of the component to run as expected

fixes #13547
2025-07-08 16:51:53 -07:00
Francesco Torchia a2583cd810
Fleet fix target cluster names
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-08 23:18:47 +02:00
Francesco Torchia c116365c12
Merge pull request #13693 from torchiaf/13689-resource-details-errors
Fix error messages presentation bugs
2025-07-08 18:25:20 +02:00
edenhernandez-suse bdc5036a8f
Charts spacings adjusted 2025-07-08 17:09:31 +02:00
Francesco Torchia e925219387
Remove duplicate errors
- Hide errors in ResourceYaml and display them only in CruResource component to avoid duplicate
- Stick errors on top of the page
- Filter out duplicate errors

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-08 17:07:51 +02:00
Francesco Torchia e765334cb5
Add showErrors prop in ResourceYaml and make errors closable
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-08 17:07:50 +02:00
Richard Cox bd7341aae4 Ensure correct syntax is used with SSP and the secret selectors
- two fixes, two places
- Fix - ensure filter=x=1,x=2 format is used and not filter=x=1,2
  - this must have worked at some point...
- Fix - ensure partial filter is used when searching secrets by name
  - same here...
- SimpleSecretSelector is only used in monitoring alertmanager receive config
  - See issue for repro steps
  - whoever created it should have used SecretSelector instead
- SecretSelector is only used in logging output providers
  - Logging --> Outputs --> Create --> Outputs tab --> Access secret fields
2025-07-07 20:17:31 +01:00
Francesco Torchia 311aeca2f3
Merge pull request #14655 from torchiaf/fleet-cosmetics-2
Fleet cosmetic fixes
2025-07-07 12:15:21 +02:00
edenhernandez-suse a6524a8e46
Fleet paths refinements 2025-07-04 15:26:35 +02:00
Francesco Torchia 30e3832fea
Merge pull request #14687 from torchiaf/11229-system-labels-2
Extend Show System labels toggler to `cattle.io/`
2025-07-04 10:58:15 +02:00
Richard Cox 28c58ad5a1
Merge pull request #14674 from richard-cox/fix-stale-ns-filter
Ensure ns filter selection is updated when stale entries are removed
2025-07-04 09:47:04 +01:00
Francesco Torchia cd20c86597
Fix labels
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-04 10:11:14 +02:00
Francesco Torchia a7db4d17dd
Fleet Target Clusters assign focus on add MatchExpression rule
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-04 10:11:12 +02:00
Francesco Torchia 7d30fa86a7
Fleet Target Clusters assign focus on add MatchExpression
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-04 10:11:11 +02:00
Francesco Torchia ada7996f97
Fleet GitRepo Path assign focus on add
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-04 10:11:11 +02:00
Francesco Torchia 787de58e97
Fleet fix GitRepo Paths layout
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-04 10:11:10 +02:00
Francesco Torchia f2a25a7ba1
Fleet fix Target clusters layout
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-04 10:11:09 +02:00
Francesco Torchia 6335485a76
Fleet settings apply label
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-04 10:11:08 +02:00
Francesco Torchia 277635ecbd
Fleet fix dashboard charts tooltip
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-04 10:11:07 +02:00
Francesco Torchia 18a8607426
Extend Show System labels to cattle.io/
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-04 09:45:18 +02:00
Francesco Torchia 76374d8fd8
Merge pull request #14667 from torchiaf/11229-system-labels
Fix protected Labels
2025-07-03 20:20:18 +02:00
codyrancher a8a130716f
Fix an issue where some detail pages wouldn't render the ConfigTab (#14676)
We needed to pass the `as` prop to the components
Also fixed a rendering issue with the loading component
2025-07-03 10:00:32 -07:00
Francesco Torchia ceb318cf52
Implement Labels unit tests
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-03 18:01:32 +02:00
Francesco Torchia 9452f01946
Fix Labels component
- display errors when adding protected labels/annotations
- discard new labels/annotations when keys are protected and preserve old protected keys
- show protected labels/annotations toggler only in view mode and for EVERY models having custom protected labels/annotations

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-03 16:38:40 +02:00
Francesco Torchia 788b26a664
KeyValue clean-up
- remove protectedKeys and toggleFilter
- add keyErrors for key field

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-03 16:35:37 +02:00
Richard Cox 2800ae04ec Ensure ns filter selection is updated when stale entries are removed
- when we calculate the value of a filter we remove entries that no longer exist
- ensure that this new version of the filter is persisted
- this means whilst on vai supported lists it correctly kicks off a http request
  - this also avoids removed namespaces being used in filters if the list changes

Also
- improved some comments
2025-07-03 15:15:29 +01:00
Richard Cox ce70f83265 Primary change - Fix and improve labelSelectors and vai auto updates
- labelSelector has two primary applicators
  - matching utils function
    - this should normally NOT be cached and not receive updates over sockets
    - this is done by stipulating transient = true
  - findLabelSelector
    - this should normally be cached and receive updates
    - this is done by stipulating transient = false
    - when applicable (workload and services detail page) we want live updates whilst we're on the page
      - we don't when we leave, so unwatch
- fix and align these two and their usages
  - ensure each input (transient) is correct for context
  - ensure response is in the correct format and handled correctly
- improved typing

Additionally
- Improve labelling for network policy ingress/egress label selectors
- Replace empty table with 'no details' in cis report detail page's list's sub row
- On services page handle the very weird use case of no visibility on pods
- Fix issue where extension catalog was not showing when refreshing on extension catalog page list
- Fixed an issue where we would ALWAYS show false positive invalid field warning in console
- Bump up default page size from 10k to 100k
  - this is for requests we make to the new vai cache outside of pages
  - it matches the default they use when proxying requests to target kube cluster
2025-07-03 14:25:37 +01:00
Francesco Torchia b5d0a59bdd
Merge pull request #14641 from torchiaf/14633-values-from-2
Fleet move ValuesFrom in ad hoc component
2025-07-03 11:43:19 +02:00
Neil MacDougall f8a6ddf25d
Fix select controls do not close when clicking on arrow (#14217)
* Fix select controls do not close when clicking on arrow

* Rebase

* Control vue-select state via labeledSelect

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Control vue-select state via Select.vue

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Set isOpen to false when select closes

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Move focus back to select wrapper on close

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Defer more select open state logic to wrapper

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Close when no selection is made

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Allow for multiselect

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Fix failing e2e test

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

---------

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
2025-07-02 13:33:43 -07:00
Francesco Torchia c33e6f353a
Fleet ValuesFrom cosmetics
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-02 11:23:07 +02:00
Siva Kanakala 5192b2501f
fix-onPaste-Keyvalue (#13071) 2025-07-02 08:50:37 +01:00
Neil MacDougall 533bcb3ec2
Notification Centre: Update 3: Simplify storage/encryption in local storage (#14642)
* Simplification of encryption

* Address PR feedback
2025-07-02 08:22:58 +01:00
Phillip Rak 6ee27db90d
Add an id to track members of ArrayList.vue (#14568)
* Add an id to track members of ArrayList.vue

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Fix unit tests

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Revert change to input

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Fix for e2e test failures

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

---------

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-07-01 15:16:12 -07:00
Neil MacDougall 25f1df9a80
Notification Centre: Update 2: UX Improvements (#14646)
* Update styling as per UX, allow up/down to exit focus and move to previous/next item

* Fix lint

* Fix lint
2025-07-01 16:57:52 +01:00
Francesco Torchia abde612e63
Merge pull request #14626 from torchiaf/fleet-fix-app-bundles-routes
Fleet fix App Bundles routing
2025-07-01 17:12:09 +02:00
Neil MacDougall 12339bfa7c
Notification Centre: Update 1: Performance improvements (#14610)
* Fix lint issue

* Bug fix, simplify load mutation, remove load action (not needed)

* Fix lint
2025-07-01 13:28:14 +01:00
Cody Jackson 019b026f02 Added code folding to the ResourceDetailDrawer YamlTab
Fixes #14640
2025-06-30 12:16:14 -07:00
Francesco Torchia 45d076ae05
Fleet ValuesFrom add more unit tests
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-30 20:50:31 +02:00
Francesco Torchia db93ee8e7e
Fleet code clean-up
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-30 20:02:41 +02:00
Francesco Torchia 414febaaa1
Fleet implement ValuesFrom unit tests
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-30 20:02:40 +02:00
Francesco Torchia d0330be443
Fleet fix ValuesFrom row index
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-30 20:02:39 +02:00
Francesco Torchia 9dc52a8792
Fleet implement FleetValuesFrom to handle HelmOps helm.valuesFrom
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-30 20:02:37 +02:00
Francesco Torchia 74c42ed188
Merge pull request #14620 from edenhernandez-suse/fleet-fixes
Fleet fixes
2025-06-30 16:43:03 +02:00
Francesco Torchia f570a8db2b
ConfigMapSettings, remove duplicate code from Setting title
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-30 15:45:47 +02:00
Cody Jackson 88f7c7168c Adding a quick fix to allow showing graph view option for fleet 2025-06-30 00:58:10 -07:00
codyrancher 3806ccfecf
Merge pull request #14607 from codyrancher/harvester-masthead
Resolve new masthead issues in regards to harvester
2025-06-30 00:53:01 -07:00
Siva Kanakala 466053935b
add missing state for deleted res in appview 2025-06-30 09:17:40 +05:30
Francesco Torchia 9c59a3e913
Fleet fix App Bundles routing
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-27 18:19:46 +02:00
Cody Jackson 81b50c5d23 Fixing a bug where harvester VirtualMachines didn't render the config tab in the ResourceDetailDrawer 2025-06-27 08:45:22 -07:00
edenhernandez-suse c7ee08f825 Lint fix 2025-06-27 14:10:05 +02:00
edenhernandez-suse 71468f251d Fleet settings revert container class 2025-06-27 14:00:54 +02:00
edenhernandez-suse bcc638d818 Fleet settings minor issues - headings, button sizes 2025-06-27 13:53:31 +02:00
Francesco Torchia f48d2fb061
Merge pull request #14599 from torchiaf/14594-fix-fleet-slide-in-panel
SlideInManager, close panel on component unmount
2025-06-27 08:10:14 +02:00
Cody Jackson 05e9a675c2 Resolve new masthead issues in regards to harvester
- Fix issue with undefined routes
- Fix issue with the ResourceDetailDrawer closing when opened in harvester.
- Fixed an issue where the link back to the list page was wrong.
2025-06-26 16:18:10 -07:00
Francesco Torchia 9466578750
Merge pull request #14604 from torchiaf/fleet-slide-in-style
Fleet fix slide-in Resource Details style
2025-06-26 22:09:06 +02:00
Francesco Torchia 63648e4e67
Merge pull request #14578 from torchiaf/fleet-cosmetics
Fleet improve Dashboard and App Bundles style
2025-06-26 19:53:34 +02:00
codyrancher 5edb3fc16a
Merge pull request #14602 from codyrancher/drawer-fix
Quick fixes to resolve issues in the ConfigDrawer when rendering fleet resources
2025-06-26 09:00:40 -07:00
Phillip Rak ade0a1f9d9
Simplify spacebar prevent behavior when focusing LabeledSelect (#14553)
* Simplify spacebar prevent behavior when focusing LabeledSelect

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Fix unit test

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Simplify spacebar prevent behavior when focusing Select

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

---------

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-06-26 08:57:30 -07:00
Francesco Torchia 5b044a6508
Fleet fi slide-in resource details style
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-06-26 17:52:34 +02:00
Neil MacDougall 59a08dfa07
Add support for vue route and extension init (#14590)d
* Add support for vue route and extension init

* Fix lint

* Minor doc fix, fix issue with buttons when scrolled

* Ensure onReady is only called once

* Address PD feedback

* Address more PR feedback - simplify close on action

* Add support for vue route and extension init

* Fix lint

* Ensure onReady is only called once

* Address PD feedback

* Tidy ups

* Add one missing tidy up
2025-06-26 16:40:12 +01:00
Cody Jackson 53a605715c Quick fixes to resolve issues in the ConfigDrawer when rendering fleet resources 2025-06-26 08:12:27 -07:00