Commit Graph

1897 Commits

Author SHA1 Message Date
Richard Cox 30f430cb9b
[backport v2.12.3] Table Sort Improvements (#15508)
* Sort Improvements + Fix Events SSP sort - Apply SSP sort order with generic `:desc` notation, - Allow headers to provide default sort order - Ensure SSP first seen and last seen column sorts behave the same

* fix l10n

---------

Co-authored-by: Richard Cox <ricox@suse.com>
2025-10-06 10:26:07 +01:00
Francesco Torchia ecbfe139a1
Merge pull request #15400 from torchiaf/backport-15390
[2.12.3] Fix LabeledSelect and Select dropdown behavior
2025-10-03 17:24:34 +02:00
Richard Cox bd3b44dd88 Sort Improvements + Fix Events SSP sort - Apply SSP sort order with generic `:desc` notation, - Allow headers to provide default sort order - Ensure SSP first seen and last seen column sorts behave the same 2025-09-24 10:25:58 +00:00
Richard Cox eeb27028e9 clear empty comment, remove expanded type + add comment about dupe
- fixes bad definition of getValue?: () => any (should accept a prop)
2025-09-18 11:31:14 +01:00
Richard Cox d4c28d0296 Fixes - value is the fallback when search isn't supplied, and not used for sort - move to a safer place (only apply to extension headers) just in case - can also explicitly call out col is from extension 2025-09-18 10:23:05 +00:00
Richard Cox 2e5fab8928 Basic validation on incorrectly configured extension headers 2025-09-18 10:23:05 +00:00
Francesco Torchia e863d6778f
[2.12.3] Fix LabeledSelect and Select dropdown behavior
- fix LabeledSelect component when removing tagged elements
- remove onClickOption to avoid duplicate update:value emit from LabeledSelect.vue and Select.vue
- fix Select component when removing tagged elements

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-09-10 18:36:25 +02:00
Francesco Torchia 4ad55b1f9a
[2.12.2] Fleet remove CreatedBy section from App details
- move GitRepo data init in data()
- add fallback getting user info before store init

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-09-04 09:56:21 +02:00
rancher-ui-project-bot[bot] 8a90dfb40c
SAML Auth Process Updates (#15297)
Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
2025-09-02 17:54:42 +01:00
Cody Jackson 0299faa1b5 Resolving some z-index issues around tooltips and slide-ins
Fixes #14833
2025-08-11 21:14:12 +00:00
Richard Cox 3ed93549c6
Merge pull request #15081 from richard-cox/2.12-fix-logging-secret-selector
[2.12] Ensure SecretSelector resets on namespace change
2025-08-11 10:31:35 +01:00
Richard Cox 751dc036bf
Merge pull request #15084 from richard-cox/2-12-improve-resource-labeled-default-store
[2.12] Use a more sensible default for ResourceLabeledSelect inStore
2025-08-11 09:34:55 +01:00
Phillip Rak d41fc165a3
Merge pull request #15103 from rancher/gha-portpr-16815492177-1
[backport v2.12.1] add unique :key to each component
2025-08-08 10:16:22 -06:00
Siva Kanakala 678e15f626 add unique :key to each component 2025-08-07 13:53:08 -07:00
Phillip Rak 9b8a120c4b Move `scrollIntoView()` implementation to `useDropdownItem()`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-08-07 20:51:00 +00:00
Richard Cox d718953b0d Use a more sensible default for ResourceLabeledSelect inStore 2025-08-07 10:24:53 +01:00
Richard Cox 7c252bde31 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-07 09:56:09 +01:00
codyrancher 9a366b8f05
[backport 2.12.1] Resolved an issue where the new masthead broke the existing extension panels (#15028)
* Resolved an issue where the new masthead broke the existing extension panels

fixes #15021

* 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-06 08:32:31 -07:00
codyrancher 86e9015b2d
Reverted the color of the loading background while maintaining the new color for the rest of overlays (#15058)
fixes #15023
2025-08-05 17:57:41 -07:00
Evgeniya Vashkevich 6f21443dd4
[2.12.1] Fixed Harvester detail page access through Cluster Management (#15059) 2025-08-05 14:54:47 -07:00
Francesco Torchia a2bc042362
Fleet add HelmOps installed version in Source column
- fix missing HelmOps OCI sourceSub and clean-up code in the model
- add HelmOps model unit tests
- show dash if source is empty

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-28 09:54:13 +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
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