Commit Graph

16 Commits

Author SHA1 Message Date
Alexandre Alves 94b0645fb8
Update AppModal, PromptModal and focusTrap (#14186)
* update AppModal, PromptModal and focusTrap to use only the watcher based focus trap and wire in required props for prompt modals + add unit test for current prompt modals display assertion + minor tweaks to current prompt modals so that they work fine on unit tests

* update PR with recommended changes

* fix lint issue

* push to retry pipelines

* remove unit test variable from promptModal

* remove prop not needed - autoTriggerFocusTrapWatcher
2025-04-30 09:16:48 +01:00
Alexandre Alves 531a812587
fix focus trap for `PromptModal`component (#13933)
* fix focus trap in PromptModal

* fix missing mounted event handler registration wrongfully deleted
2025-04-15 09:26:32 +01: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
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
Mo Mesgin 4a7536bd8d fix app modal overlay + revert flexContent removal 2025-02-13 15:10:33 -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
Cody Jackson 5052c2a8e8 Enabling `vue/require-explicit-emits` linting rule
https://github.com/rancher/dashboard/issues/11961
2024-09-19 09:58:53 -07:00
Phillip Rak 97b58ca4f0 Update unit tests
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:09:54 -07:00
Phillip Rak 29f8d3bb3a Replace `mounting-portal` with `teleport`
MountingPortal was removed in Portal-Vue.

https://portal-vue.linusb.org/guide/migration.html#removed-mountingportal

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:07:04 -07:00
Cody Jackson 9b829c55ea Ran `yarn lint --fix` 2024-08-22 16:05:36 -07:00
Phillip Rak 8564b884fd Set overflow to `auto`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-03-21 15:42:26 -07:00
Phillip Rak 5d849775e6 Fix error in AppModal width validator
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-03-21 15:42:26 -07:00
Phillip Rak 57e4430740 Use `defineComponent` in `AppModal.vue`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-03-13 10:13:29 -07:00
Phillip Rak bc36082391 Replace instances of `<modal>`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-03-12 15:37:44 -07:00
Phillip Rak 1f02f9e4d2 Fix width for `AppModal.vue`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-03-07 14:28:47 -07:00
Phillip Rak fa399ee34c Create a new `AppModal` component
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-03-07 10:46:35 -07:00