Commit Graph

1508 Commits

Author SHA1 Message Date
Alexandre Alves 913983e2df
fix issue with aria-role (#13813)
* fix issue with aria-role

* fix aria-checked by replacing with appropriate aria-pressed
2025-03-21 09:20:43 +00:00
Alexandre Alves aec766e5fc
add missing aria-pressed state (#13815) 2025-03-21 09:20:33 +00:00
Alexandre Alves a3e4a80ef0
add missing lang HTML attribute to locale selector2 (#13817) 2025-03-21 09:20:20 +00:00
Alexandre Alves 9ac4bb65c5
add missing aria-current to nav links (#13821) 2025-03-21 09:20:00 +00:00
Alexandre Alves a00b86cfdd
add missing alt to sorting icons (#13797) 2025-03-20 17:03:35 +00:00
Evgeniya Vashkevich b2c13c9457
Merge pull request #13776 from eva-vashkevich/iss12699
[FIX] Adjusted HPA to handle non-resource metrics
2025-03-19 10:55:26 -07:00
Alexandre Alves 6b63952cbc
add missing arias to favorite action on masthead (#13800) 2025-03-19 09:18:48 +00:00
codyrancher 841303f61b
Merge pull request #13799 from codyrancher/indentation
Adding another indentation level in our navigation menu
2025-03-18 14:38:34 -06:00
Alexandre Alves 88cbee575b
fix bug with Unit Input component not updating correctly (#13780)
* test fix

* working on unit tests

* remove console log

* bump shell version

* fix broken unit inputs

* fix unit test
2025-03-18 18:17:29 +00:00
Cody Jackson e969b910cc Adding another indentation level in our navigation menu
Fixes https://github.com/rancher/dashboard/issues/11228
2025-03-18 11:03:15 -07:00
codyrancher 13632bea22
Merge pull request #13746 from codyrancher/banner-fixes
Fix FixedBanner so that we can show the appropriate stylized text also fix multi-line functionality
2025-03-18 08:24:50 -06:00
Cody Jackson 7847d5cd07 Fix FixedBanner so that we can show the appropriate stylized text also fix multi-line functionality
Fixes https://github.com/rancher/dashboard/issues/11951
2025-03-17 14:41:53 -07:00
Evgeniya Vashkevich 70be8838cd [FIX] Adjusted HPA to handle non-resource metrics 2025-03-14 13:49:02 -07:00
Giuseppe Leo 28c8b69135
Create page for SCC registration for Rancher Prime (#13591)
* Add initial configuration and data for the registration in Prime extension

* Fix routing issues

* Correct import for components and i18n hook

* Correct markup to match requirements

* Add deregistration; Set shared patch logic with temporary timeout for emulation

* Disable buttons if inputs are empty

* Enable i18n by removing comment for import types; corrected strings

* Set i18n dynamic values and HTML

* Adapt layout paddings

* Correct i18n deregistration

* Add error case

* Update UX to avoid shifting content

* Correct navigation issue; Replaced hardcoded label with i18n key

* Update UI to use file downloader and uploader

* Add IconMessage component

* Replace text notification with banners

* Create view state for registration process; Add comments and bind computed properties

* Correct line break

* Prevent input to be edited while registering

* Add tests for all the input cases combination

* Set useI18n mock globally

* Correct inputs definitions; add store mock; add card stub

* Mute all the Vue console warnings

* Mock initial status of the component

* Define status for input checks; Add CTA tests

* Add de-registering status

* Increase readibility of the markup

* Revert de-registration status

* Update tests format; Correct cases; Add button effects cases

* Create StatusBadge

* Replace Banner with StatusBadge; update i18n

* Bump eslint-plugin-vue to accept new linting rules for 3.5

* Update TODO notes

* Restore Prime env var condition

* Prevent StatusBadge color change inherited from parent components (e.g. card)

* Add StatusBadge story

* Fix linting issues

* Disable new rule for existing code
2025-03-14 15:52:57 +01:00
Evgeniya Vashkevich a524c65170
Last Project Member removal in Rancher Dashboard 2025-03-11 13:18:05 -07:00
Phillip Rak 2da8c2b0e3 Replace translated data prop with computed prop in ServiceType
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-03-11 10:15:48 -07:00
yonasberhe23 abea36eb2e
Merge pull request #13494 from yonasberhe23/a11y-tests
add more accessibility tests
2025-03-11 09:27:33 -07:00
Evgeniya Vashkevich ed61e6eaff
[FIX] Scheduling customization adjustments 2025-03-11 08:13:02 -07:00
cnotv 484070f562 Fix issue with Principal 2025-03-11 10:46:33 +01:00
Alexandre Alves a88cc35080
allow code expand/collapse in view mode (#13654) 2025-03-11 09:00:25 +00:00
Yonas Berhe 8f6e91e7ac add more accessibility tests 2025-03-10 17:22:04 -07:00
cnotv d9fb8cc653 Fix unit test linter issues 2025-03-10 22:50:54 +01:00
cnotv a9086b7fd6 Add tests for Principal 2025-03-10 22:39:51 +01:00
cnotv 83001e1c70 Update principal value on prop change 2025-03-10 22:21:08 +01:00
Evgeniya Vashkevich 2812b1d180 Fixed some of th ecomments and #13630 2025-03-10 12:41:45 -07:00
Evgeniya Vashkevich c54619a73f [FIX] Scheduling customization adjustments 2025-03-10 12:41:44 -07:00
Alexandre Alves 598e32ea25
RKE2 Cluster Detail Page: Machine Pools List is not grouped by pool / machine deployment (#13623)
* hide grouping controls for machines and machine pools in prov cluster details view corresponding tab

* Fix rke1 pool list

---------

Co-authored-by: Richard Cox <ricox@suse.com>
2025-03-10 15:43:52 +00:00
cnotv 3687744d78 Update tests to check user removal 2025-03-10 10:35:09 +01:00
codyrancher b49a520e68
Merge pull request #13639 from codyrancher/title-css
Updating how we move the title using css
2025-03-07 15:24:43 -07:00
Cody Jackson 9592224879 Updating how we move the title using css
Fixes https://github.com/rancher/dashboard/issues/13546
2025-03-07 14:36:49 -07:00
Phillip Rak f75e23d5c2 `ServiceType.vue`: Make `headless` and `clusterIp` computed props
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-03-07 13:24:13 -07:00
cnotv 35893941ab Correct data-testid definition 2025-03-07 15:59:50 +01:00
codyrancher 16d5db812d
Merge pull request #13543 from codyrancher/project-members-add
Resolving a reference to an undefined `lockedExist` and adding for project memberships with custom permissions
2025-03-07 04:12:19 -07:00
cnotv c23675c176 Add data-testid to markup 2025-03-06 21:24:23 +01:00
cnotv 1accb1e131 Add unlisted required prop 2025-03-06 21:20:52 +01:00
cnotv d67bbb8e06 Add missing import for Principal component 2025-03-06 20:43:26 +01:00
cnotv 6881f21bc1 Add tests 2025-03-06 17:32:40 +01:00
cnotv ecd8322322 Update tests for ArrayList component 2025-03-06 17:32:40 +01:00
Cody Jackson 41bf230225 Resolving a reference to an undefined `lockedExist` and adding tests for project memberships with custom permissions
Fixes https://github.com/rancher/dashboard/issues/12828
2025-03-06 01:54:29 -07:00
Phillip Rak dcad2cc321 Make terminal and editor escape sequence `Shift+Escape`
The escape key conflicts with modal editing when working in VIM mode. Using `Shift+Escape` helps to prevent that conflict.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-03-05 14:38:08 -07:00
Phillip Rak 182233dd5c
Merge pull request #13523 from rak-phillip/task/13522-focus-styles
Update focus styles for inputs
2025-03-04 10:33:33 -07:00
Alexandre Alves 871ebd1b9f
fix issue (#13571) 2025-03-04 12:22:50 +00:00
Evgeniya Vashkevich 3cc1313069
[FEAT] Added PDB AND PC support for cluster agent (#13521) 2025-03-03 16:27:24 -08:00
Phillip Rak ea7fafe8fc Fix focus ring styles for inputs and selects
`display: table` caused the outline border to always be square in Firefox. For the purpose of the inputs, `display: flex` makes more sense while consistently displaying across browsers.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-03-03 15:50:03 -07:00
Phillip Rak 920243fae9
Merge pull request #13505 from rak-phillip/task/13504-extensions-menu
Replace extension menu with `ActionMenuShell.vue`
2025-02-28 09:07:50 -07:00
Alexandre Alves 3970a9ff63
fix misc issues for a11y (#13519)
* fix misc issues for a11y

* fix prop + fix issue with white area not resizing as whole shell window

* improve aria labels for shell resize
2025-02-28 15:56:18 +00:00
Francesco Torchia 1525529d5f
Merge pull request #13544 from torchiaf/e2e-test-users-2
Fix users e2e tests 2
2025-02-28 14:22:22 +01:00
Francesco Torchia ce01f6dc9a
Fix users e2e tests 2
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-02-28 12:46:55 +01:00
Alexandre Alves 8e2071d82e
fix misc issues with codemirror and a11y (#13530) 2025-02-28 09:53:24 +00:00
Alexandre Alves 32796f1283
fix space scrolling page selecting radio inputs and color inputs (#13491)
* fix space scrolling page selecting radio inputs and color inputs + improve keyboard navigation in radio groups

* remove unused argument

* fix radio group value in user pref for landing page + fix e2e test on same area
2025-02-28 09:51:35 +00:00