-
-
Notifications
You must be signed in to change notification settings - Fork 144
Conversation
Co-authored-by: Alex Johnson <johnson.alex.c@gmail.com>
@almarklein this PR is looking good! Seems like mainly it just needs a test or two added to test_sliders.py. That may be a bit tricky to get right, but seems like the test app would have a callback on both |
I refactored the code for the I have not updated the |
BTW, with |
@alexcjohnson @almarklein I think the problem here is that the branch is out-of-date You can see in the
|
Ah, so perhaps installing dash caused it to go fetch the published dcc 1.14.1 rather than use the source in this branch, because it listed a lower version number? I'm still confused by this, because even in the build-dash step on your merge commit I see it downloading a published version of dcc
So how do I know we're not using that version (other than that the test passes? Is there some way we could definitively check at the beginning of the test that the version of this repo that we're running is precisely the intended commit? Or set this up in a more robust way so this issue can't recur? |
@alexcjohnson Not sure about that. It's that way because we use the tarball from the previous build step -- in other repos we simply do |
Wow, thanks @Marc-Andre-Rivet ! |
@alexcjohnson I think we could simply |
🎆 Ready from my end. |
About documentation, I think we'd need to add an example to the docs at the dash-docs repo, right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic! 💃
Yes, the final step will be to add an example in dash-docs
.
closes #107, replaces #884
This is an attempt to add a
drag_value
property to the Slider, such that different callbacks can be applied to the slider being dragged, and the slider being released, as proposed in #107.Disclaimer: I am not yet familiar with the codebase of this repo, so I just tried to update the new property where the
value
property was updated.Todo:
undefined
, and I'm not sure how to initialize it to the same value asvalue
.updatemode
to incorporate the new prop.RangeSlicer
should be updated to use the same approach asSlicer
.Script to test this: