Skip to content

Conversation

@Mudaafi
Copy link
Contributor

@Mudaafi Mudaafi commented Aug 20, 2025

Description

The range slider was not rendering correctly if facet.status.min === 0. This is due to a logical check failing where it's not supposed to.

Pull Request Checklist

Before you submit a pull request, please make sure you have to following:

  • I have added tests that prove my fix is effective or that my feature works.
  • I have made sure my PR is up-to-date with the main branch.

PR Type

What kind of change does this PR introduce?

  • Bugfix

@Mudaafi Mudaafi requested a review from a team August 20, 2025 20:09
@Mudaafi Mudaafi requested a review from HHHindawy as a code owner August 20, 2025 20:10
Copy link
Contributor

@stanlp1 stanlp1 left a comment

Choose a reason for hiding this comment

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

One comment .LGTM

});
});

it.only('Edge Case: If facet.status.min = 0, should render ranged filters that have already been applied correctly', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Only

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks for catching that!

@Mudaafi Mudaafi merged commit 4410403 into main Aug 20, 2025
10 of 11 checks passed
@Mudaafi Mudaafi deleted the cdx-222-plp-ui-bugfix-filterrangeslider-not-rendering-correctly-if branch August 20, 2025 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants