Bug 1028968

Summary: [RFE] UI plugins - custom sub tab should remain active when changing main tab selection
Product: [Retired] oVirt Reporter: Vojtech Szocs <vszocs>
Component: ovirt-engine-webadminAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED WONTFIX QA Contact: bugs <bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, ecohen, iheim, mgoldboi, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ux
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-16 15:26:11 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:

Description Vojtech Szocs 2013-11-11 11:33:49 UTC
Assume a UI plugin adds a custom sub tab:

  api.addSubTab('Host', 'Custom Sub Tab', 'custom-sub-tab', 'plugin/ExamplePlugin/tab.html');

After logging into WebAdmin GUI, selecting item(s) in "Host" main tab shows the "Custom Sub Tab" header. By default, the first standard sub tab (i.e. "General") is revealed. Assume the user clicks the "Custom Sub Tab" header to reveal the custom content.

Actual results:
After changing main tab selection, active sub tab changes from "Custom Sub Tab" to previously-active-non-custom-sub-tab (i.e. "General).

Expected results:
After changing main tab selection, active sub tab is retained, regardless of whether it's a standard or custom (contributed by UI plugin) sub tab.

Comment 1 Itamar Heim 2014-06-16 15:26:11 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.