-
Bug
-
Resolution: Done
-
Minor
-
openshift-4.7
-
False
-
False
-
0
-
Undefined
-
Not Supported
-
-
ODC Sprint 200
-
Low
Description of problem:
When the user inserts a YAML snippet the new snippet is tried to be selected but the selection doesn't match the new snippet.
Prerequisites (if any, like setup, operators/versions):
No additional prerequisites required
Steps to Reproduce
- Open search
- Search for resource Console, apiVersion operator.openshift.io/v1, select it
- Select resource "cluster" and open the YAML tab (direct link: https://cluster/k8s/cluster/operator.openshift.io~v1~Console/cluster/yaml)
- Open the sidebar and switch to the "Snippets" tab
- Insert the available snippets at different intention levels
Actual results:
- Selection after inserting the YAML snippet doesn't match the new content.
- Multiple insertions change the YAML snippet and break the input.
Expected results:
- Selection after inserting the YAML snippet should match the new content.
- Multiple insertions should not change the YAML.
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
OpenShift Console 4.7 or console master (tested with commit 2426fa124e8a7d59e80846c84ab69a6d6e2a0e9b)
Additional info:
None