holoviz / panel

Panel: The powerful data exploration & web app framework for Python
https://panel.holoviz.org
BSD 3-Clause "New" or "Revised" License
4.75k stars 517 forks source link

Code demo or new component of an info side-panel for app guidance #7448

Open droumis opened 3 days ago

droumis commented 3 days ago

Is your feature request related to a problem? Please describe.

Complex apps require guidance for new users, but permanent instructions in the main sidebar (where app widgets/controls usually live) can be distracting.

Describe the solution you'd like

A toggleable slide-based (e.g. with Previous, Next buttons) side panel.

Describe alternatives you've considered

Instructions on the main plot or main sidebar.

Additional context

For instance, GCP's Learn Tutorial sidebar:

image image image
MarcSkovMadsen commented 3 days ago

An alternative is a Button openening a Modal with Docs. Or a link to external Docs.

ahuang11 commented 3 days ago

The current templates support programmatic opening/closing of a sidebar. However, they're only on the left side; would be nice to have it on the right too.

Alternatively, ideally, we completely refactor jinja2 templates into Panel components, then maximum flexibility achieved :D

Relevant https://github.com/holoviz/panel/issues/7250