Skip to content

Conversation

jcfilben
Copy link
Collaborator

What does this PR do?

Fixes an issue when options are objects search doesn't behave as expected.
Also fixes an issue where capital letters in the search were not bolding the matches found. (When searching matching letters should be bolded)

Where should the reviewer start?

What testing has been done on this PR?

How should this be manually tested?

Storybook object options story

Do Jest tests follow these best practices?

  • screen is used for querying.
  • The correct query is used. (Refer to this list of queries)
  • userEvent is used in place of fireEvent.
  • asFragment() is used for snapshot testing.

Any background context you want to provide?

What are the relevant issues?

Screenshots (if appropriate)

Before:

Sep-28-2022.14-09-23.mp4

After:

Sep-28-2022.14-10-33.mp4

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

@jcfilben jcfilben requested a review from britt6612 September 28, 2022 20:16
Copy link
Collaborator

@britt6612 britt6612 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 f25f1d9 into grommet:master Sep 28, 2022
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