-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redesign and improve slider widgets #13551
base: branch-3.5
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## branch-3.5 #13551 +/- ##
===========================================
Coverage 92.65% 92.65%
===========================================
Files 326 326
Lines 20734 20759 +25
===========================================
+ Hits 19211 19235 +24
- Misses 1523 1524 +1 |
Can the text value be editable, if enabled? Can we have both hard and soft bounds? #9943 |
Eventually yes. One of the goals of this work is to allow such features to be implemented, but that will happen in follow-up work. |
9ab3e89
to
f688d42
Compare
f688d42
to
9a41ad6
Compare
9a41ad6
to
f11c196
Compare
029e8a8
to
510ecb0
Compare
1de3a9f
to
4638dfd
Compare
4638dfd
to
5930ea7
Compare
This PR replaces noUiSlider-based implementation of slider widgets with an "in-house" implementation. This is an early work in progress that preserves (so far) most of the original functionality, improves and simplifies styling, reuses bokehjs' components like tooltips and implements more types sliders.
This PR also adds rudimentary support for property overrides, like:
Example showing normal and stealth sliders:
Example showing customization via stylesheets (see
examples/styling/widgets/color_sliders.py
):Screencast.from.27.11.2023.00.44.19.webm