Now support step format in date sliders #4152
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Original issues are 2731 and 2894.
I have not really added tests since the formatting is done in the JS of the bokeh object and I feel like testing must be done on their side rather than ours then. And I kinda do not really like simply testing that if I call
slider=Slider(format=5)
thenslider.format=5
but if needed I can add it.If needed I can also add some BFSoup checker somewhere to test both steps and format, of course if you have an original example of pr that had to deal with that I will be happy to comply to any specific test format.
On a side note, it looks like the
.controls()
function is oftentimes not displaying the full controls. I would be happy to investigate.Also if you have a tool that strips the notebooks of the cell metadata updates so that my commits on notebooks are clean I would be very happy.
It is my first ever PR on this project, let me know if there are any specifics to consider when contributing.
Have a good day