* fix problem with extra space and scroll on settings banner page
* add v-if to windowmanager + prevent focus on slideInPanelManager close button if there is no slide in panel visible
* remove weird trigger-focus-trap on close button
* address flaky e2e tests
* Create new `useDropdownItem` composable
This composable defines common methods that can be shared across different dropdown menu item types.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Create new `RcDropdownMenuItemCheckbox` component
`RcDropdownMenuItemCheckbox` specifies the styles and behaviors for a menu items that acts as a checkbox.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Create a select item dropdown component
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Move container actions into dedicated component
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Toggle container logs actions based on environment
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Fix type for labeledSelect component ref
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Replace trigger mixin data with event.stop
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Fix typo: LocaleSelector
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
---------
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
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>
This updates the error messages printed to provide clarity by adding:
1. a timestamp and log level to the messages
2. human-readable explanation when `/bin/sh` is missing from a container
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
This uses `writeln` instead of `write` so that logs can default to printing in the terminal on multiple lines.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Remove border when terminal window is focused
Remove deep selector from non-scoped style
Migrate vue-resize library to vue3-resize
* Fix codeMirrorRef instance name
* Missing semicolon
* remove $set from AKS validators
* fix cruGKE not rendering
* fix most aks unit tests
* fix crueks and eks config unit tests
* fix eks networking and nodegroup unit tests
* fix gke unit tests
* fix consumption gauge test
* fix namespacefilter tests
* fix command and taints unit tests
* fix questions unit tests
* fix hpa and service unit tests
* fix registryconfigs unit tests
* fix job unit tests
* fix longhorn unit tests
* fix addextensionsrepos unit tests
* fix rke2 basics unit tests
* fix container shell unit tests
* fix last aks pool test
* fix mount tests
* fix namespace and pv unit tests
* fix codemirror unit tests
* clean up aks, boolean, namespacefilter unit tests
* fix namespacefilter test
* remove redundant test case
Performing this change so the vue3 migration script can modify all @input, @v-model of components without changing plain elements. This will reduce the number of vue3 compiler errors.
* fix(ContainerLogs): fix display error if log is truncated
* test(ContainerLogs): adding test cases for truncated log processing
* add test for empty string
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
* When execing into a container, try linux and windows commands when we can't determine if the node is windows
* Fix lint
* Lint: Remove trailing white space
* Use error message rather than last error
* extra failover, caching last working os against pod, errors, tests
* add __mocks__ folders to eslint ignore patterns
* standard user test fix
* removed unnecessary try/catch logic
* Revert "removed unnecessary try/catch logic"
This reverts commit c263131927.
---------
Co-authored-by: Sean <sean.mchugh@suse.com>
* Fix multi select styling so that the form field expands if not all items fit into a single line anymore.
Fixes https://github.com/rancher/dashboard/issues/7842
Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>
* Remove duplication in _select.scss
* Fix select heights in ContainerLogs, ContainerShell, ApplicationLogs and ApplicationShell components
Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>
Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>