Commit Graph

12858 Commits

Author SHA1 Message Date
Francesco Torchia 68e982012d
Lint
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-02-24 18:05:19 +01:00
Francesco Torchia 2a3e9ebc16
Update shell/store/type-map.utils.ts
Co-authored-by: Richard Cox <18697775+richard-cox@users.noreply.github.com>
2025-02-24 18:05:18 +01:00
Francesco Torchia 3471b49832
Add Event schema null checks
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-02-24 18:05:17 +01:00
Neil MacDougall e020b5fb90
Accessibility tests (#12900)
* WIP: Accessibility e2e test suite and support

* Add e2e job for accessibility tests

* Fix a11y tests

* Remove test

* Fix lint issues

* Add report upload

* Upload a11y screenshots

* Remove failure gate on a11y screenshots

* Test debugging

* Fix lint

* Fix setup issue

* Tweak tests

* Create a11y report

* Fix screenshot folder

* Build out more tests to cover a11y
2025-02-24 16:25:21 +00:00
Alexandre Alves 46aa2851c0
prevent scroll when hitting arrow down key on selects (#13466) 2025-02-24 15:27:30 +00:00
Alexandre Alves d79c491e8b
Fix keyboard navigation and focus display issues on the combobox component (#13352)
* add label connection to dropdown on LabeledSelect + add missing roles and connections

* address pr comments
2025-02-24 15:12:31 +00:00
Richard Cox b15f6d54af
Fix e2e tests given new machine based resource finalizer (#13492)
- Looks like on create of the resource a finalizer is added
- The new resourceVersion given change broke edit tests
- The new finalizer broke delete tests
- We now update resourceVersion before editing, and remove finalizer (needs to be done after edit, or it gets added again)
2025-02-24 13:24:59 +00:00
Alexandre Alves 84c234383a
Fix textual descriptions for cluster appearance in multiple places (#13416)
* Fix textual descriptions for cluster appearance in multiple places

* address pr comments

* address pr comments
2025-02-24 09:00:54 +00:00
Francesco Torchia 8a0e784f72
Merge pull request #13372 from torchiaf/7824-expose-polling
Fleet: expose Polling Interval for GitRepos
2025-02-21 20:53:16 +01:00
Neil MacDougall 7e37210062
Use nicer error message for login nonce error (#13432) 2025-02-21 17:25:22 +00:00
Alexandre Alves d669a7cc2a
small sortable table a11y fixes (#13448)
* adds small fixes to sortable table a11y

* make screen readers ignore the icons to get sorting indication as its present in th element

* address pr comments

* address pr comments
2025-02-21 08:52:51 +00:00
Alexandre Alves 6ca778b991
fix tab component keyboard navigation (#13439)
* fix tab component keyboard navigation

* address pr comments

* improve tabs focused state
2025-02-21 08:52:41 +00:00
Alexandre Alves d33622f112
fix form fields missing label associations (#13429)
* fix form fields missing label associations

* Update pkg/rancher-components/src/components/Form/LabeledInput/LabeledInput.vue

Co-authored-by: Phillip Rak <rak.phillip@gmail.com>

* fix lint issue

* address pr comments

* address pr comments

---------

Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-21 08:52:12 +00:00
Alexandre Alves 52b516a5d9
Fix Header keyboard navigation (#13369)
* address header accessibility issues

* fix codemirror component not using refs + improve logic to check yaml editor focus on app modal

* add missing optional chaining

* fix unit test

* fix some failing e2e tests

* fix lint issue

* revert changes to namespaceFilter + revert changes to e2e tests

* revert e2e changes

* revert e2e changes

* add fix for configmap e2e test

* add unique name for configmap resource creation test

* test e2e fix

* address pr comments
2025-02-21 08:51:39 +00:00
momesgin 2169f845fb
Merge pull request #13459 from momesgin/13451-managed-identity
Fix AKS managed identity getting automatically selected
2025-02-20 15:14:53 -08:00
Francesco Torchia fe6b5f1309
Merge pull request #13454 from torchiaf/13452-hide-ssh-known-hosts
Hide SSH_KNOWN_HOSTS outside of Fleet
2025-02-20 21:31:43 +01:00
Mo Mesgin ad37152a95 Merge branch 'master' of github.com:rancher/dashboard into 13451-managed-identity 2025-02-20 11:28:02 -08:00
Mo Mesgin 0d8ad3415f fix managedIdentity conversion to true when it's null 2025-02-20 11:27:52 -08:00
codyrancher 214944318e
Merge pull request #13424 from codyrancher/windows-warning
Make a windows workers role warning more prominent
2025-02-20 12:09:05 -07:00
Richard Cox 470c849674
Merge pull request #13287 from richard-cox/fix-machine-and-pool-grouping
Ensure cluster detail machine and node lists are grouped correctly
2025-02-20 17:56:06 +00:00
Richard Cox a1ed926776 Ensure cluster detail manchine and node lists are grouped correctly
- their resource table elements turned these off
- this misconfiguration was ignored until grouping was fixed in https://github.com/rancher/dashboard/pull/11663
  - specifically the addition of the if in computedGroupBy
   ```
    computedGroupBy() {
      // If we're not showing grouping options we shouldn't have a group by property
      if (!this.showGrouping) {
        return null;
      }
   ```
2025-02-20 17:04:02 +00:00
Richard Cox 333f5d4d06
Merge pull request #13430 from richard-cox/fix-tools-uninstall
Fix offer to uninstall crd app on cluster tools app uninstall
2025-02-20 17:03:07 +00:00
Francesco Torchia fc1d539610
Merge pull request #13350 from torchiaf/13349-conflict-catch
Catch conflict errors by `_status`
2025-02-20 17:57:30 +01:00
Francesco Torchia 166fbae067
Update shell/assets/translations/en-us.yaml
Co-authored-by: Richard Cox <18697775+richard-cox@users.noreply.github.com>
2025-02-20 17:49:16 +01:00
Francesco Torchia 3197c081cb
Fleet: add Disable/Enable polling icons
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-02-20 17:47:50 +01:00
Francesco Torchia 5bca2af24c
[unit tests]: Add SelectOrCreateAuthSecret.test.ts
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-02-20 13:13:22 +01:00
Francesco Torchia 0712fec4ac
Fleet: updatePollingInterval refactoring
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-02-20 12:14:31 +01:00
Francesco Torchia 1085e94248
Fleet: data-testid camelcase
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-02-20 12:14:30 +01:00
Francesco Torchia 1a8df4d8fa
Fleet: remove scroll when edit polling
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-02-20 12:14:29 +01:00
Francesco Torchia b884de441f
Add second/seconds l10n
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-02-20 12:14:28 +01:00
Francesco Torchia 16a6389aba
Update shell/assets/translations/en-us.yaml
Co-authored-by: Richard Cox <18697775+richard-cox@users.noreply.github.com>
2025-02-20 11:41:52 +01:00
Francesco Torchia 04a3769503
Update shell/assets/translations/en-us.yaml
Co-authored-by: Richard Cox <18697775+richard-cox@users.noreply.github.com>
2025-02-20 11:41:44 +01:00
Francesco Torchia 0ff516518b
Update shell/mixins/create-edit-view/impl.js
Co-authored-by: Richard Cox <18697775+richard-cox@users.noreply.github.com>
2025-02-20 11:17:04 +01:00
Francesco Torchia 73f876c3ed
Hide SSHKnownHosts outside Fleet
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-02-20 10:48:34 +01:00
Nancy d240d2a300
Import GKE clusters (#13447)
* rearrange gke components to fit with import needs

* cluster picker

mostly works

tweak location arrangement

fix save hooks

* fix lint

* remove auto-populate project id

* remove commented code
2025-02-19 14:27:41 -08:00
momesgin ec0ec676b5
Merge pull request #13410 from momesgin/13377-modal-overlay
Fix modal overlay issue
2025-02-19 14:05:09 -08:00
momesgin edc219693b
Merge pull request #13392 from momesgin/12885-project-members
Fix project members not showing up when switching projects
2025-02-19 13:58:09 -08:00
Phillip Rak 07289b9f81
Merge pull request #13357 from rak-phillip/task/12776-table-actions
Replace ActionMenu usage for Table actions and Global Settings
2025-02-19 11:24:25 -07:00
Alexandre Alves 33a7b3f460
Add tests for workflows shipped with the creators package (#13008)
* add script to do content match of creators workflows files + update workflows for extensions tests

* Consolidate branch tests into one workflow file - refactor check workflows script

Remove outputs from slack message

---------

Co-authored-by: Jordon Leach <jordonleach@gmail.com>
2025-02-19 18:01:35 +00:00
momesgin 9fea1195d2
Merge pull request #13443 from momesgin/11678-aks-managed-identity
AKS managed identity options
2025-02-19 09:27:56 -08:00
Mo Mesgin ca668c8d32 add mode to radio group 2025-02-19 08:47:53 -08:00
Mo Mesgin 8cd990979b Merge branch 'master' of github.com:rancher/dashboard into 11678-aks-managed-identity 2025-02-19 08:45:02 -08:00
Phillip Rak 75c0631b71
Merge pull request #13445 from rak-phillip/chore/pin-dependencies
Pin dependencies in package.json
2025-02-19 08:29:45 -07:00
Francesco Torchia 58aa6e361f
Merge pull request #13438 from torchiaf/fix-labeled-select-disable
Early return in `focusSearch` method when `LabeledSelect` is disabled
2025-02-19 09:45:34 +01:00
Mo Mesgin 31cd5f7915 update unit test 2025-02-18 20:39:15 -08:00
Phillip Rak ea9e7c1606 Pin dependencies in package.json
Recently introduced dependencies are specified with caret ranges (^). Removing the range and pinning the dependencies to an explicit version.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-18 21:10:24 -07:00
Mo Mesgin b9d0105dd1 add unit tests 2025-02-18 16:23:24 -08:00
Phillip Rak ea176eb358 Fix data-testid usage in RcDropdownMenu
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

Fix

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-18 17:18:36 -07:00
Abraham Arias bc9ada55fe
Merge pull request #13289 from a-arias/qa_websocket_migration
Websocket migration
2025-02-18 15:45:18 -07:00
Phillip Rak 97a479851d Use `@include focus-outline` for button styles
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-18 15:36:08 -07:00