IBM / dse-do-dashboard

Plotly/Dash dashboard for Decision Optimization projects in IBM Cloud Pak for Data
Apache License 2.0
4 stars 3 forks source link

Visualization Page selection highlight in the left side-bar disapears at reload #25

Open victorterpstra opened 2 years ago

victorterpstra commented 2 years ago

Refreshing/reloading a visualization page from the URL removes the highlight of the selected menu. Same for switching scenarios. This can make it a little harder to recognize what visualization page we're looking at. One work-around has been to include the page name in a header in the layout. But that consumes more real estate.

Is it possible to restore the highlight?

For component, see DoDashApp.get_sidebar() dbc.Collapse with a list of dbc.DropdownMenuItem