Project

General

Profile

Actions

Bug #44860

open

mgr/dashbord: keep state for clicked top level menu

Added by Ernesto Puerta about 4 years ago. Updated 7 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
UI
Target version:
-
% Done:

100%

Source:
Tags:
low-hanging-fruit
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Right now Angular, keeps the highlighter vertical menu aligned to the current page, however, the expandable top-level menu is not properly kept. That means that if a page is refreshed, or browser navigation goes back, the expanded vertical menu is not kept (all top-level menu items are collapsed).

While a general state management solution would be desirable, this specific issue can be easily fixed with an ad-hoc solution (history.pushState). Given the vertical menu is clicked often, this would mean a noticeable UI improvement.


Files

collapsed_logs_page.png (36.7 KB) collapsed_logs_page.png Ernesto Puerta, 04/05/2022 01:00 PM
expanded_logs_page.png (61.1 KB) expanded_logs_page.png Ernesto Puerta, 04/05/2022 01:00 PM
Actions

Also available in: Atom PDF