geido opened a new issue, #33150: URL: https://github.com/apache/superset/issues/33150
## Description PR https://github.com/apache/superset/pull/31726 has removed the slider as a way to configure numerical range filters. However, we have received feedback from the community that the slider could still serve some purposes. - The slider would allow to specify just one of the values, removing the dependency on both values as it is the case currently The slider would simplify configuring over large ranges instead of having to type a value or increase a value using the Input Number arrows. For the reasons above we would like to introduce the slider AND / OR the numerical inputs as ways to configure the numerical range filter. ## Objectives - Add a range type option (Slider, Range inputs, Slider and range inputs). - In the inputs, placeholders should show the default min and max ranges from the dataset. - Add metadata text "Choose numbers between [x] and [x]" in vertical filter bar and same text in tooltip for vertical filter bar (From filters left pane, click on gear icon, then select orientation of the filter bar). - In horizontal mode, when both slider and inputs are shown, the slider should be rendered first followed by the inputs inline. - Make sure errors also mention actual ranges as shown in the screenshot. - When showing both slider and inputs, slider and inputs should be updated dynamically based on the actions that are happening in one or the other, so if I am using slider to define range, numbers in inputs should be dynamically updated. - Remove the need of having both values configured. Allow to keep one of the two empty. - Check: Make sure the "Single value" (configurable in filter configurations) option continues to work with these changes. Please, refer to the screenshots below for more info on the desired implementation.           -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
