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

Allow custom values for EuiRange #960

Closed
cchaos opened this issue Jul 2, 2018 · 5 comments
Closed

Allow custom values for EuiRange #960

cchaos opened this issue Jul 2, 2018 · 5 comments

Comments

@cchaos
Copy link
Contributor

cchaos commented Jul 2, 2018

Right now, the range component only supports the typical step increments supported by the html input type="range" component. However, there are use cases where the steps may be exponential though visually they'd be best displayed equidistant.

Cloud example:
screen shot 2018-07-02 at 14 08 03 pm

@thompsongl
Copy link
Contributor

thompsongl commented Jan 10, 2019

I'm curious about the rationale for using EuiRange in the example above instead of a radio group.
Especially when comparing to the radio group directly below, the intention and interaction are almost identical.

@cchaos
Copy link
Contributor Author

cchaos commented Jan 10, 2019

@gjones ^^

@gjones
Copy link
Contributor

gjones commented Jan 11, 2019

@thompsongl You're correct, they are similar from an under-the-hood, technical standpoint. Although I may take some convincing that using radios is the most effective way to present 7-10 linear options.

I think what matters here is user perception, scaling your cluster is a huge benefit of Elastic Cloud and we felt the best way to communicate the ease of increasing and decreasing your RAM is allowing the user to play around with a slider and watch your deployment architecture update in real time.

Additionally there was a marketing push behind the project, which was itself externally called "Sliders", that painted us in a bit of a corner too 😃.

I hope that makes sense and gives a bit of background, but I am always open to feedback.

@thompsongl
Copy link
Contributor

Right on. I can see especially in terms of space constraints how this could be a win.
My read is that there would be no scenario in which the slider is not locked to the steps, correct? Regardless of the context, it doesn't seem to make sense for this type of slider to allow for selecting values between the intervals.

@cchaos
Copy link
Contributor Author

cchaos commented May 8, 2019

This was added via #1485

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants