yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #51013
[Bug 1582561] [NEW] Collapse/Expand a dashboard/panel-group will reload ng-panel page
Public bug reported:
Use project/ng-images as example, to reproduce:
1. enable ng-images, set DISABLED=False in /enabled/_1051_project_ng_images_panel.py
2. go into page "/project/ngimages/"
3. click left sidebar to collapse or expand a dashboard or panel-group. such as expand project/network panel group.
4. The url changed to "/project/ngimages/#sidebar-accordion-project-network" which resulted in that current page ng-images reloaded again(call api, throw toast messages to user)
The reson is that the new url "****/#sidebar-accordion-****" match the url[1]. I did not find out how to change the url to make "/project/ngimages/#sidebar-accordion-project-network" miss.
But if it's unnecessary, we could remove the href for the dashboard and panel-group in sidebar.
[1]https://github.com/openstack/horizon/blob/master/openstack_dashboard/static/app/core/images/images.module.js#L190.
** Affects: horizon
Importance: Undecided
Assignee: Wang Bo (chestack)
Status: New
** Changed in: horizon
Assignee: (unassigned) => Wang Bo (chestack)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1582561
Title:
Collapse/Expand a dashboard/panel-group will reload ng-panel page
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Use project/ng-images as example, to reproduce:
1. enable ng-images, set DISABLED=False in /enabled/_1051_project_ng_images_panel.py
2. go into page "/project/ngimages/"
3. click left sidebar to collapse or expand a dashboard or panel-group. such as expand project/network panel group.
4. The url changed to "/project/ngimages/#sidebar-accordion-project-network" which resulted in that current page ng-images reloaded again(call api, throw toast messages to user)
The reson is that the new url "****/#sidebar-accordion-****" match the url[1]. I did not find out how to change the url to make "/project/ngimages/#sidebar-accordion-project-network" miss.
But if it's unnecessary, we could remove the href for the dashboard and panel-group in sidebar.
[1]https://github.com/openstack/horizon/blob/master/openstack_dashboard/static/app/core/images/images.module.js#L190.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1582561/+subscriptions