Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1353556

Summary: UX: login to the admin portal is going first to the VMs tab, then hops to the dashboard UI plugin
Product: [oVirt] ovirt-engine Reporter: Yaniv Kaul <ykaul>
Component: Frontend.WebAdminAssignee: Vojtech Szocs <vszocs>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Novotny <pnovotny>
Severity: medium Docs Contact:
Priority: high    
Version: 4.0.0CC: astepano, bugs, lsvaty, melewis, mgoldboi, oourfali, pnovotny, pstehlik, vszocs
Target Milestone: ovirt-4.1.0-alphaKeywords: Reopened, UserExperience
Target Release: 4.1.0Flags: rule-engine: ovirt-4.1+
mgoldboi: planning_ack+
rule-engine: devel_ack+
lsvaty: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Previously, a Dashboard tab was introduced to the Administration Portal. However, when loading the Administration Portal the user landed at the Virtual Machines tab followed by an immediate switch to the Dashboard tab. Now, the UI plugin has been improved to allow pre-loading of UI plugins, such as ovirt-engine-dashboard. This means that the user lands directly at the Dashboard tab.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-01 14:50:11 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:
Embargoed:
Attachments:
Description Flags
Two UI plugins to verify the tab hop issue none

Description Yaniv Kaul 2016-07-07 12:43:19 UTC
Description of problem:
When logging in to the admin portal, it goes first to the VMs tab, then hops over to the dashboard.

Version-Release number of selected component (if applicable):
master, 4.0.

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Oved Ourfali 2016-07-11 12:17:01 UTC
As UI Plugins are loaded after the entire application is loaded, we can't really address that easily.
I discussed it in the past with Vojtech.

Closing as WONTFIX.
If you think it is highly important we can revisit it but seems like it won't be easily fixed.

Comment 2 Vojtech Szocs 2016-07-11 14:53:18 UTC
I've been thinking about it, showing the default (VMs) main tab could be suppressed by UI plugin, which would specify the alternate landing tab (e.g. custom main tab).

Comment 3 Oved Ourfali 2016-07-11 18:07:16 UTC
(In reply to vszocs from comment #2)
> I've been thinking about it, showing the default (VMs) main tab could be
> suppressed by UI plugin, which would specify the alternate landing tab (e.g.
> custom main tab).

If feasible, let's re-open the bug.
Anyhow it is kinda requires a feature here.

Comment 4 Vojtech Szocs 2016-07-13 14:05:17 UTC
Re-opening, I have a patch ready to fix this issue.

Comment 5 Vojtech Szocs 2016-07-13 14:08:21 UTC
Re-setting product to oVirt/WebAdmin as the issue is in UI plugin infra, not in the UI plugin code itself.

Comment 6 Red Hat Bugzilla Rules Engine 2016-07-13 14:08:27 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 7 Red Hat Bugzilla Rules Engine 2016-07-13 14:10:10 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 8 Vojtech Szocs 2016-07-13 14:33:48 UTC
Created attachment 1179309 [details]
Two UI plugins to verify the tab hop issue

Comment 9 Pavel Novotny 2016-07-13 15:39:52 UTC
(In reply to vszocs from comment #8)
> Created attachment 1179309 [details]
> Two UI plugins to verify the tab hop issue

I am on it.

Comment 10 Oved Ourfali 2016-07-15 12:07:27 UTC
*** Bug 1356917 has been marked as a duplicate of this bug. ***

Comment 11 Oved Ourfali 2016-08-09 10:58:07 UTC
The patch is merged on master. 
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. 

This will be fixed only in 4.1.

Comment 12 Vojtech Szocs 2016-08-09 15:00:23 UTC
The relevant Dashboard change isn't merged yet, moving to POST.

Comment 13 Greg Sheremeta 2016-11-08 16:06:25 UTC
*** Bug 1391527 has been marked as a duplicate of this bug. ***

Comment 14 Sandro Bonazzola 2016-12-12 13:56:32 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 15 Pavel Novotny 2017-01-31 15:06:51 UTC
Verified in 
ovirt-engine-webadmin-portal-4.1.0.2-0.2.el7.noarch
rhevm-4.1.0.2-0.2.el7.noarch

After login to webadmin, the Dashboard tab has focus right away and there is no transition from VMs tab to Dasboard tab as it used to be in 4.0.