* 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>
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.
* update gke node pools to use NO_SCHEDULE PREFER_NO_SCHEDULE and NO_EXECUTE as taint effect options
* fix gke node pool test
* fix taints default add value and tests
* Replace store global var with i18n global var for props default value
* Replace props default values using i18n from state to computed values
* Added empty default value
* Add linting corrections not automatically triggered on save
* Fix typo
* remove legacy items except for project config-maps and secrets
* add kv test
* add a watcher to keyvalue to ensure that it updates when the parent component changes the value being displayed
* add keyvalue unit tests to cover add and remove buttons
* remove testing code
* remove more test code
* use isequal instead of json stringify
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
Adds a built-in AKS provisioning extension to replace the embedded ember pages, as well as modifications to the provisioning UI to support other non-rke2 provisioning extensions
This test allows us to assert that blocks containing long lines (over 80 characters) entered into a configmap value field will output the correct value upon saving. The intent of this test is to assert that the regression described in #10044 is resolved and will not be reintroduced if further changes are made to `create-yaml`.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Added test for preventDefault
* Added test for prevent default event on keypress Enter in CruResource component
* Removed test console log
* Fixed lint
* Added data-testid to form
* Fixed lint
* Add new line on pressing enter
* Test enter new line
* Test textarea Enter button in CruResource form
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
---------
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Co-authored-by: Francesco Torchia <francesco.torchia@suse.com>
* Changes to support custom node driver UI extensions
* Fix bad merge
* Fix merge
* Fix bad merge
* Revert changes that are more impactful for now
* Add mock for $plugin
* Fix lint issue
* Address PR feedback
* Fix bad rebase
* Fix merge issues
* Removed unused import
* Fix merge issue
* Add back in missing validation for roles
* Fix unit test
- add 'valueMarkdownMultiline' option;
a complex value field is needed to display inline markdowns.
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
* Prevent ESLint to format generated paths
* Add HTML ESLint Rules
* Format all the Vue HTML templates except Harvester
* Exclude Harvester package from linting HTML, keeping old formatting rules
This adds a new project for Rancher Components under `pkg/rancher-components` and replaces components used throughout dashboard with the versions used here. All imports for the following components have been updated:
```
|- BadgeState.vue
|- Banner.vue
|- Card.vue
|- Form
|- Checkbox.vue
|- LabeledInput.vue
|- LabeledTooltip.vue
|- RadioButton.vue
|- RadioGroup.vue
|- TextAreaAutoGrow.vue
```
* fix issue where user could not create opaque secret from edit config interface
* Add `canEncode` to cover c&p
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
Co-authored-by: Richard Cox <richard.cox@suse.com>