Bug 1391527

Summary: Load VMS tab on demand.
Product: [oVirt] ovirt-engine Reporter: Andrei Stepanov <astepano>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0.5.5CC: bugs, gshereme, oourfali, vszocs
Target Milestone: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-08 16:06:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Andrei Stepanov 2016-11-03 13:35:37 UTC
As admin authorizes at loginpage he is redirected to "Virtul Machines" tab:

.../ovirt-engine/webadmin/?locale=en_US#vms

than follows a long pause (it depends on number of VMS) till VMS tab is displayed. 
 
And than follows redirect to "Dashboard" tab:

.../ovirt-engine/webadmin/?locale=en_US#dashboard-main

This pause and login time to admin portal could be minimized if login directly forwards to "Dashboard" tab.

Moreover, page refresh at "Dashboard" tab always loads "#vms" tab and than goes back to #dashboard-main.

ovirt-engine-4.0.5.5-0.1.el7ev.noarch

Is it possible to load "#dashboard-main" tab contents on demand, when user explicitly navigate to it? This would minimize time, memory, load ..etc.

Comment 1 Yaniv Kaul 2016-11-06 07:00:53 UTC
I remember opening such a bug and it was not fixed for some reason.

Comment 2 Oved Ourfali 2016-11-06 10:16:01 UTC
I remember we had an issue with it, as the dashboard tab is a UI plugin tab, and not like any other tab.

Vojtech - I fail to find your reply to this one. Can you reply again about this issue?

Perhaps a compromise can be to go through the DC tab, which obviously will take less time to load.

Comment 3 Vojtech Szocs 2016-11-08 15:31:24 UTC
(In reply to Yaniv Kaul from comment #1)
> I remember opening such a bug and it was not fixed for some reason.

That's bug 1353556. Its target is 4.1 and it's currently MODIFIED.

Quoting Oved (comment 11 of bug 1353556):

"
When working on that we agreed it is way too risky to be a zstream material, or included in the 4.0 GA, as the patch touches fundamental parts of the UX infrastructure.
"

I suggest to close this bug as duplicate of bug 1353556.

Comment 4 Greg Sheremeta 2016-11-08 16:06:25 UTC
Closing per Vojtech

*** This bug has been marked as a duplicate of bug 1353556 ***