- These components were so 1-1 with harvester in the end i moved them over
- Also removed the like-for-like generic.notification `harvester.notification` strings
* Set data test id and allow complex component to have default and inherited values for all the actions
* Create cluster tests with steps; Create cluster E2E test
* Extend command to use selector matchers
* Create test for cluster navigation and deletion
* Extend commands to find by id as in get method
* Extend documentation with guidelines and info about E2E
* Correct cluster delete and details tests to get menu within speciftc cluster row
* Add remaining E2E tests for the cluster
* Add baseUrl to the paths
* Add RKE2 selection on cluster creation for CI
* Add E2E debugging information
* Rename clluster manager E2E for consistency
* Correct data test ID after rebase
* Prevent cluster provider errors if no management parameter is provided
* Prevent accessing objects in mutation if none is provided
* Remove imported cluster sample due discarded logic
* Reset RKE2 switch on cluster creation
* Adjust test naming for cluster manager
* Group tests under scoped cases
Users who have no overaching view of the cluster (non-rancher admins, non-cluster owners)
- shouldn't see namespaces outside of their projects
- shouldn't be able to create namespaces outside of their projects (specifically not in a project)
Fixes#4575 Add in validator injection to form-validation mixin, add in "allTabsExtraContent" slot to "tabbed" for messaging that should span all tabs, Error component optionally displays as banner, InputWithSelect can now show validationMessage on text-box without a label, LabeledSelect can now show tooltip and validationMessage at the same time, Select component can now show validation message, adding and removing rules and rulepaths displays correct content, removing does not reload page (fixes#6319), ingress form shows proper validation messages for the following states: invalid "name" field, invalid request host, invalid rule path, invalid rule target service, invalid rule port, invalid default backend target service, invalid default backend port, either rules or default backend must be present. Ingress form is validated and "Create" button is disabled if payload is not validated as correct.
This makes it easier to pick the right secret if there are multiple ones. These are used for example in the GitRepo Continuous Delivery UI.
Adresses https://github.com/rancher/dashboard/issues/6239
* Use plugins globally in Jest configuration over single statements
* Add checkspell terms
* Add test id and cleanup code for Upgrading
* Create test for Upgrading input actually updating values while typing
* Handle missing terminationGracePeriodSeconds value in the spec qhile hanfling Upgrade value
* Replace Deployment Upgrading input event strategy with blur
* Remove container input listener, over single input emitters, to avoid issues in case of blur
* Extend tests to all the inputs to update the data in the Upgrading tab
* Removed deprecated components
* Correct vue-select import in Vue within Jest setup
* Add vue-select type
* Create form tests sample for input with custom select component
* Create unit tests for all the forms
* Create test for Upgrading without verify value
* Changed from component to query selectors in select input unit tests
* Prevent multiple events due inconsistent event input pattern in network update for Harvester
* Correct TS complain about Vue logic
* Add issue number to TODO
- Cancel cross should be a standard colour rather than red
- Ensure CruResource `namespaceKey` works for paths
- align CruResource `namespaceKey` with NameNsDescription `namespaceKey`
- reduce complexity
- This follows on from the conversation in https://github.com/rancher/dashboard/pull/6084
Summary
This ports the components under pkg/rancher-components to TypeScript. Take note that this change also touches some areas outside of pkg/rancher-components, including
shell/mixins/labeled-form-element.ts
shell/mixins/compact-input.ts
shell/components/form/LabeledSelect.vue
shell/components/form/Select.vue
Making changes to these components was required to properly work with the mixins used for pkg/rancher-components/src/components/Form/LabeledInput/LabeledInput.vue. Perhaps these would be good candidates to port to Rancher Components next..
Fixes#5932
Areas or cases that should be tested
We'll need to review a good range of usages for the modified components to check for regressions. I'm mostly concerned about type errors or warnings that might be raised during runtime.
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
```