-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Research on better solution to manually enter numeric ranges #234
Comments
There is a option to have both slider + numeric range |
We have received feedback advising us to concentrate on the manual numeric range input, omitting the slider or tick functionality, and incorporating a distribution visualization in some form. Please bear this in mind as you conduct your research. We do have a suggestion to use plotly: Please find other possible solutions. |
I am working on the |
Closes #234 Closes #233 Replaces the range slider in `RangeFilterState` with an interactive `plotly` graph. Two shapes (lines) are drawn on the plot that can be dragged and their position is tracked. An observer listens to events emitted by the plot when shapes are altered (this event is called a "plotly_relayout") and updates selection. Another observer listens to the manual input and updates selection. Finally, a third observer listens to the selection and updates the manual input as well as the shapes on the plot. Since the graph is slower to render, a spinner is added to it to alleviate the negative effect on UX. Numeric (manual) input is now displayed simultaneously with the graphic input, not alternatively. Numeric input receives a debounce. --------- Signed-off-by: kartikeya kirar <kirar.kartikeya1@gmail.com> Signed-off-by: Aleksander Chlebowski <114988527+chlebowa@users.noreply.github.com> Co-authored-by: Dawid Kałędkowski <dawid.kaledkowski@gmail.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: kartikeya kirar <kirar.kartikeya1@gmail.com> Co-authored-by: kartikeya <kartikeya.kirar@unicle.life>
closed by #289 |
Continuation from #226
Summary:
The user desires the option to manually input ranges when filtering data with a numeric variable, as well as the ability to use a slider to select ranges. The proposed solution, #226, involves implementing a toggle button that activates a numericRangeInput, which allows the user to enter a value manually while retaining the slider input. The toggle button would allow the user to switch between the slider and text box to select or enter the range.
However, there is a problem when a value is manually entered, as it must match the slider's steps or ticks. This restricts the user from freely inputting any value.
Acceptance Criteria:
This is a research task to see if there's a better or robust solution to achieve users requirements:
The text was updated successfully, but these errors were encountered: