h2oai / h2oai/wave

Allow only initial selection for Nav

Open
#565 3 comments 0 reactions 0 assignees View on GitHub
feature ui
Dominant language
Python
Stars
4.3k
Forks
371
Avg merge
26d 1h
Merged PRs (30d)
1

Description

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

A `tour.py` could improve its UX by preselecting nav item based on active hash.

#### Describe the solution you'd like

Introduce `initial_value` attr on `ui.nav_card`.

#### Describe alternatives you've considered

Tried to use `value`, but this allows app developers to manually control which nav item is currently active (clicking on other items does not work out of the box unless handled in python code via `value`). However, I only care about the initial selection without further overhead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.