Skip to content

Changed DataFilter to fix an issue with the range property. #6631

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

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

ericsoderberghp
Copy link
Contributor

What does this PR do?

Changed DataFilter to fix an issue with the range property.
It was already correctly converting the range from Data which starts as an object: { min: 1, max: 100 } and is converted to an array [1, 100].
But, it wasn't converting the range property value similarly, until now. :)

Where should the reviewer start?

the very beginning, it's a good place to start

What testing has been done on this PR?

added a unit test

How should this be manually tested?

manually

Do Jest tests follow these best practices?

followed existing test patterns

Any background context you want to provide?

What are the relevant issues?

Screenshots (if appropriate)

Do the grommet docs need to be updated?

no

Should this PR be mentioned in the release notes?

yes

Is this change backwards compatible or is it a breaking change?

backwards compatible

@ericsoderberghp ericsoderberghp added the bug issue that does not match design or documentation and requires code changes to address label Feb 9, 2023
Copy link
Collaborator

@MikeKingdom MikeKingdom left a comment

Choose a reason for hiding this comment

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

LGTM

@ericsoderberghp ericsoderberghp merged commit dbf7a14 into master Feb 9, 2023
@ericsoderberghp ericsoderberghp deleted the fix/datafilter-range branch February 9, 2023 17:01
@ericsoderberghp ericsoderberghp self-assigned this Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue that does not match design or documentation and requires code changes to address
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants