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

feat: add range slider with custom scale #921

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

AdzicMilos
Copy link
Contributor

@AdzicMilos AdzicMilos commented Feb 9, 2024

References DM-2826

Motivation and context

Due to optimisation issue with histograms, we have decided to replace majority of histograms with range slider only.
This range slider need to have custom scale like we have for histograms.

Before

[Describe the current behavior and / or add a screenshot of the current state]

After

[Describe the new behavior and / or add a screenshot of the new state]

How to test

Check here https://feat-range-slider-filters-listings-web.branch.autoscout24.dev/de/s

[Add a deep link and instructions how to verify the new behavior]

@automotiveengineeringbot automotiveengineeringbot deployed to branch-components-pkg-feat-range-slider-with-scale February 9, 2024 11:55 Active
Copy link
Contributor

@talamcol talamcol left a comment

Choose a reason for hiding this comment

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

tested in listings-web quickly and looks good

chartHeight={chartHeight}
{...rest}
/>
{facets ? (
Copy link
Contributor

Choose a reason for hiding this comment

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

should be alright with typescript but couldn't this result in a state where both are present on the screen? If facets are undefined, rangeSliderScale should be present, no?

so: facets ? RangleSliderWithChart : RangeSliderWithScale should be enough?

@automotiveengineeringbot automotiveengineeringbot deployed to branch-components-pkg-feat-range-slider-with-scale February 12, 2024 09:24 Active
@AdzicMilos AdzicMilos merged commit b6c9cf0 into main Feb 12, 2024
12 checks passed
@AdzicMilos AdzicMilos deleted the feat-range-slider-with-scale branch February 12, 2024 09:49
@automotiveengineeringbot
Copy link
Collaborator

🎉 This PR is included in version 20.46.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants