This fixes runtime and lint warnings. It also makes the linter
treat warnings as errors now so we'll stop checking in code that has
warnings.
If you want to avoid prs with warnings consider adding a
'yarn lint' or 'yarn build' to .git/hooks/pre-push.
We needed a way to support arbitrarily complex parameters in both
type and nesting level. As a temporary solution I enabled the user
to toggle between a key value component and a yaml editor.
To enable this I refactored ResourceYaml into a composable YamlEditor
component that can be used elsewhere.
rancher/dashboard#388rancher/dashboard#380
- Edit project on namespace
- Certificate fields need to be multiline
- Create-edit-view creates metadata.(annotations, labels) automatically and cleans up on save if empty so you don't have to check if they're there.
- Form components should have a focus() instead of reaching into each other's $refs
- LabeledSelect takes and emits the value, not the `{label: x, value: y}` object.
- Resource names are almost never editable after create
- NameNsDescription takes a resource and manages setting name/ns/description on it itself.
- TextAreaAutoGrow should resize on file input
This implementst the view, create and edit pages for the
gatekeeper constraints. The constraint templates weren't
touched since we intend to only use the yaml editor.
rancher/dashboard#307
added click-expand component for big table values
minor chage to secrets list view
fix external link formatter
radio button/group accessibility
namensdescription restyle
create secrets