Skip to content
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

Add handle_color style key to SelectionSlider #3142

Merged
merged 4 commits into from
Aug 17, 2021

Conversation

jpn--
Copy link
Contributor

@jpn-- jpn-- commented Feb 25, 2021

The SelectionSlider widget has a very similar interface to the FloatSlider and IntSlider, but is missing the handle_color style. This adds it. Seems to work for me, but I'm not super familiar with UI coding and don't know how to write tests for this. I don't see tests for this feature implemented similarly on the FloatSlider. If this needs a test, please point me to a test for something similar and I can probably figure it out. Thanks!

@SylvainCorlay
Copy link
Member

Thanks! This looks good to me. To make the tests pass, you need to update the latest model spec for the selection slider in https://github.com/jupyter-widgets/ipywidgets/blob/master/packages/schema.

@SylvainCorlay
Copy link
Member

(could you also fix the JSON schema file?)

@jpn--
Copy link
Contributor Author

jpn-- commented Feb 25, 2021

Seems like it worked. Hooray!

@vidartf vidartf added this to the 8.0 milestone Aug 3, 2021
@ibdafna ibdafna self-assigned this Aug 3, 2021
Copy link
Member

@ibdafna ibdafna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!

@ibdafna ibdafna merged commit b62592c into jupyter-widgets:master Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants