Bug 2116973
Summary: | Multiple navigation items displaying as active | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Andrew Block <andrew.block> | ||||||
Component: | Management Console | Assignee: | Yadan Pei <yapei> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 4.10 | CC: | jhadvig, jonjacks | ||||||
Target Milestone: | --- | ||||||||
Target Release: | 4.12.0 | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | No Doc Update | |||||||
Doc Text: |
Styling issue, no docs updates needed.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2023-01-17 19:54:37 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Created attachment 1908867 [details]
nav menu
1. there are navigation item definition in our console-demo-plugin
{
"type": "console.navigation/href",
"properties": {
"id": "demo-test-utility-consumer",
"perspective": "demo",
"name": "%plugin__console-demo-plugin~Test Utilities%",
"href": "/test-utility-consumer"
}
},
{
"type": "console.navigation/href",
"properties": {
"id": "test-list-page",
"perspective": "admin",
"section": "admin-demo-section",
"name": "List Page",
"href": "/demo-list-page",
"prefixNamespaced": true
},
"flags": {
"required": ["OPENSHIFT"]
}
},
2. deploy console-demo-plugin and check navigation menus in 'Demo Plugin', only one nav menu is highlighted, the reported issue is not reproduced, verified on 4.12.0-0.nightly-2022-08-31-101631
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.12.0 bug fix and security 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-2022:7399 |
Created attachment 1904527 [details] Navigation Links Description of problem: When adding a navigation item in a Custom Console Plugin, multiple navigation links are displaying as active when an individual item is selected. How reproducible: Always Steps to Reproduce: 1. Create two navigation items similar to the following { "type": "console.navigation/href", "properties": { "id": "clusterpolicyreport", "name": "%plugin__policy-console-plugin~ClusterPolicyReport%", "href": "/clusterpolicyreport", "perspective": "admin", "section": "policies-section" } }, { "type": "console.navigation/href", "properties": { "id": "policyreport", "name": "%plugin__policy-console-plugin~PolicyReport%", "href": "/policyreport", "prefixNamespaced": true, "perspective": "admin", "section": "policies-section" } } Actual results: When selecting either of the navigation items, both navigation items become active. Expected results: Selecting each navigation item would show each item as active individually Additional info: None