-
Notifications
You must be signed in to change notification settings - Fork 77
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
Enhancement: Configurable slider highlighting #1631
Comments
@bpatterson88 would this need to apply to range as well or just single value? |
@paulcpederson Nope, just the single value. Also, updated the request to include a 'none' option for highlighting, where the slider is used to select a single value. |
Hi @bpatterson88, is this still valid? If so can you please provide a use case example? |
@benelan Dashboards uses sliders for less than, greater than, and equals queries. Different parts of the slider rail are highlighted depending on the operator. The screenshots below show our current implementation. |
Hi @benelan, just wanted to put this issue on your radar again and see where it's at. We would love to start using calcite-slider in dashboards but this is a blocker for us. |
@bpatterson88 thanks for providing the use case, and thanks for bumping the issue @ellenupp. We are planning to get this in before v1 and will have a better timeline after our next triage meeting, to determine which upcoming sprint has cycles. |
This is needed for the new JSAPI Range Slider (see #46032). |
@driskull as we discussed yesterday this is a high priority issue for us! MV needs Range Slider for multidimensional image services and the API implementation cannot proceed until the calcite slider has support for this. |
Hello, any updates on this issue? We still need this for Dashboards. |
@jcfranco Thoughts on this? Some possible prop names:
cc @SkyeSeitz |
I like |
Based on our discussion, yes it would seem that this would make the default And yes, just to confirm, this would only apply to the single slider, not range, per the comments above. |
Good point. I wasn't considering the range mode. How would
Is this because the proposed default would be |
Thanks for the quick work on this! We also have a use for range sliders but we only ever want to highlight between the two handles in that case. So this enhancement would just be for the single value case, when we want to highlight either the left/right/neither side of the track depending on the operation the value is used in. Something like
I'm just envisioning this to be a visual representation, no change to the actual value or function of the slider. |
Installed and assigned for verification. |
**Related Issue:** #1631 ## Summary This ensures ranged sliders place the fill and style ticks within the range.
Installed and assigned for verification. |
Installed! That should be the last of it. 🤞 #famouslastwords Thanks everyone and sorry for the hassle! |
😬🤞 Verified on |
Description
Allow slider to highlight different sections of the rail, ex. left of the handle or right of the handle.
Acceptance Criteria
Relevant Info
Dashboards currently uses sliders to filter visualizations, and depending on the operator we highlight different parts of the rail. This request will give Calcite parity with the current Dashboards implementation of slider.
Which Component
Slider
Example Use Case
The text was updated successfully, but these errors were encountered: