Cause: The yaml editor resource sidebar could not toggle between sample and snippets anymore after adding i18n support.
Consequence: When viewing a YAML editor sidebar, the tabs for Schema/Samples/Snippets show up all selected at the same time.
Fix: Keep the translation in ResourceSidebar and keep SimpleTabNav "translation free".
Result: The selected tab is the only one selected
Version: 4.7.0-0.nightly-2020-10-27-051128
Cluster ID: f48ef25b-44fa-4820-a24e-f71c75bd1108
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
DescriptionAndrew Ballantyne
2020-11-05 16:56:34 UTC
Created attachment 1726942[details]
NetworkPoliciesCreateYAML
Description of problem:
When viewing a YAML editor sidebar, the tabs for Schema/Samples/Snippets show up all selected at the same time, despite the view under it.
Version-Release number of selected component (if applicable):
4.7.0-0.nightly-2020-10-27-051128
How reproducible:
Always (needs at least two tabs for it to be apparent)
Steps to Reproduce:
1. Navigate to the Network Polices Create YAML
2. Open the sidebar (if it's not already open)
Actual results:
Both tabs are selected (see screenshot)
Expected results:
The selected tab (and subsequent content) should be the only one selected
Additional info:
Did not test in previous releases, just saw this today.
Comment 1Christoph Jerolimov
2020-11-05 18:24:24 UTC
Checked on ocp 4.7 cluster with payload 4.7.0-0.nightly-2020-11-08-225909.
Steps to verify:
Go to the Network Polices Create YAML, then open the sidebar, the first tab is selected, and could click to select the second tab, only one tab is selected when switch.
The bug is fixed.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2020:5633
Created attachment 1726942 [details] NetworkPoliciesCreateYAML Description of problem: When viewing a YAML editor sidebar, the tabs for Schema/Samples/Snippets show up all selected at the same time, despite the view under it. Version-Release number of selected component (if applicable): 4.7.0-0.nightly-2020-10-27-051128 How reproducible: Always (needs at least two tabs for it to be apparent) Steps to Reproduce: 1. Navigate to the Network Polices Create YAML 2. Open the sidebar (if it's not already open) Actual results: Both tabs are selected (see screenshot) Expected results: The selected tab (and subsequent content) should be the only one selected Additional info: Did not test in previous releases, just saw this today.