Commit Graph

1394 Commits

Author SHA1 Message Date
Mo Mesgin 4a7536bd8d fix app modal overlay + revert flexContent removal 2025-02-13 15:10:33 -08:00
Alexandre Alves 8f9913c5ad
fix missing textual description on image buttons (#13382) 2025-02-13 12:05:32 +00:00
Alexandre Alves 2786ad7612
add missing alt to image elements (#13383) 2025-02-13 11:44:10 +00:00
Alexandre Alves e9d17074a5
add missing alt to image elements (#13384) 2025-02-13 11:32:38 +00:00
Alexandre Alves dab97f7397
prevent scroll when hitting space key on selects (#13371) 2025-02-13 11:32:17 +00:00
Phillip Rak f09d98a3f2 SortableTable: Stop propagation of the enter key
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-12 14:30:29 -07:00
Phillip Rak 5b049986cd SortableTable: Emit an `enter` event for table selection
This refactors the event listener that was attached to the window so that it is now attached the sortable table. The table needs to listen to the keyup event and the row needs to receive focus in order for this to work; the row's tabindex is set to -1 so that it is not navigable via keyboard.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-12 14:30:29 -07:00
Francesco Torchia 31830df000
Add unit-tests: KnownHostsEditDialog.test.ts, SSHKnownHosts.test.ts
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-02-12 16:30:46 +01:00
Francesco Torchia c84264fa30
Implement Codemirror view for known_list dialog; add FileSelector action
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-02-12 16:30:45 +01:00
Neil MacDougall ba248c4ba0
Update SelectOrCreateAuthSecret.vue to fix lint 2025-02-12 16:30:44 +01:00
Neil MacDougall a244f7b0bb
Add support for known hosts on ssh secret in Fleet Git Repo 2025-02-12 16:30:43 +01:00
Alexandre Alves 5a05e0a3a3
address modal issue on account and api keys (#13370) 2025-02-12 09:45:11 +00:00
Mo Mesgin fe0a7dfc16 minor refactor 2025-02-11 17:45:16 -08:00
Mo Mesgin 9827441fae Merge branch 'master' of github.com:rancher/dashboard into 12480-carousel 2025-02-11 10:13:53 -08:00
Mo Mesgin 0d5e2c04ab add test + minor refactor 2025-02-11 09:57:03 -08:00
Evgeniya Vashkevich e0494383f4
Fixed scroller appearing provisioning masthead (#13356) 2025-02-11 08:17:11 -08:00
Alexandre Alves 0c411e96d3
Keyboard nav for extensions main screen (#13176)
* working on focus trap composable

* working on slide in panel refactor

* add change so that we dont have a change on the component diff

* fix slidein extension details panel key nav

* fine tune cluster badge trigger btn

* finish work on extensions page

* fix lint errors

* address pr comments

* fix problems of propagation

* update return focus for some modals in the extensions main screen

* remove dead code + fix focus selector return for add extensions repo and developer install modals
2025-02-11 10:47:55 +00:00
Phillip Rak a0f09abd11
Improve accessibility of `KeyValue.vue` (#13261)
* Add aria labels to KeyValue inputs

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

* Add button roles to KeyValue

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

* Add aria labels for grid structure

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

* Add rowgroup and row to KeyValue grid structure

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

* Add aria-labels to buttons

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

---------

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-10 09:54:18 +00:00
Mo Mesgin db94935336 fix unit test 2025-02-07 12:23:21 -08:00
Mo Mesgin bce79fcef0 fix slides alignment + use refs + handle throttling 2025-02-07 12:03:28 -08:00
Neil MacDougall 90d0fff96d
Remove close button from banner and move to a page action (#13255)
* Remove close button from banner and move to a page action

* Update home.vue to fix lint

* Update e2e tests and fix lint issue

* Ensure we wait for both PUTs

* Improve comments

* Change test order

* Improve e2e test

* Fix lint issue

* Improve e2e test reliability

* Fix lint

* Fix e2e test so it works for standard user
2025-02-07 12:22:28 +00:00
Neil MacDougall 1e18d03f4c
Add support for modifying doc links and add support for different links for Rancher Prime (#13020)
* Add support for different doc links

* Adding missing e2e test tags

* Auth page not accessible to standard user (admin tests seem sufficient)

* Ensure types are generated for version file

* Update doc links

* Update to remove plugin remove for builtin extensions

* Change the plugin load status back to how it was

* Fix i18n issue

* Fix translation load for built-in extensions
2025-02-07 10:38:41 +00:00
Phillip Rak 57d3a96f6e
Merge pull request #13019 from rak-phillip/chore/12771-dropdown-component
Create accessible dropdown component
2025-02-06 14:31:54 -07:00
Francesco Torchia f4dbc15885
Merge pull request #13272 from torchiaf/13271-graph-cluster-id
Replace clusterId with cluster Name in Fleet Graphs links
2025-02-06 12:10:13 +01:00
Phillip Rak 8f2edd77be
Merge pull request #13293 from rak-phillip/task/12818-input-labels
Add aria labels to table filters and Import YAML code editor
2025-02-05 15:56:36 -07:00
Phillip Rak e9b6d1967d Fix regression in NamespaceFilter selected items
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-05 15:03:36 -07:00
Phillip Rak ca3220a0db Remove top/bottom padding for user info
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-05 15:03:36 -07:00
Phillip Rak 83557885fc
Merge pull request #13277 from rak-phillip/task/12812-alert-role
Add missing alert roles to User Retention, Create User, & Health Scale
2025-02-05 14:17:54 -07:00
Phillip Rak 112993128d Add aria label yaml editor for Import YAML
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-05 10:59:19 -07:00
Phillip Rak 5a00f4ed2f Add aria label to table filter input
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-05 10:58:52 -07:00
Phillip Rak 6ef6147dbd Update avatar styles
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 10:00:04 -07:00
Phillip Rak 1dc914b697 Add new ghost button role
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:44:03 -07:00
Phillip Rak b9b1004a7b Add aria-labels for dropdown triggers
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:44:02 -07:00
Phillip Rak 8a173db084 Rename `RcDropdown.d.ts` to `types.ts`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 2445fb52b5 Move `showUserMenu()` conditional to Dropdown container
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 13fddf9ee8 Fix issue with displaying user info and associated separator
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 32f630d17e Update e2e tests
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 3f0ecd2cfd Add aria-label to dropdown menu
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 4798685f8f Remove extra padding around buttons in header
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 3e457f180e Add `btn-sm` class to the button component
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 3b24ff9426 Replace user menu in header with RcDropdown component
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 8283a8cee8 Rename popper slot to dropdownCollection
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 54f5de9c5f Remove dropdown collection component
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 6c9a5a9025 Move RcButton to Rancher Components
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 11edbc1787 Move RcDropdown to Rancher Components
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 7fedbda45d Clean up unused imports and console statements
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 21170cab29 Replace action menu with new component
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 7cad4da149 Add dropdown trigger component
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 7b945115b7 Add dropdown separator component
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00
Phillip Rak 0c4ac90224 Update styles
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-04 09:43:08 -07:00