Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-form-select] Fix Search field value clears out issue #4103

Merged
merged 5 commits into from
May 24, 2024

Conversation

adavijit
Copy link
Collaborator

@adavijit adavijit commented May 21, 2024

Summary

What was changed:

  • When moving to some other component the Search Field gets onBlur event. onBlur event the state change is now removed.

Why it was changed:
Ensured search field value persists when navigating to another component to improve user experience by retaining search context.

Testing

This change was tested using:

  • WDIO
  • Jest
  • Visual testing (please attach a screenshot or recording)
  • Other (please describe below)
  • No tests are needed

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details

This PR resolves:

UXPLATFORM-10430


Thank you for contributing to Terra.
@cerner/terra

@adavijit adavijit self-assigned this May 21, 2024
@adavijit adavijit requested a review from a team as a code owner May 21, 2024 15:34
@github-actions github-actions bot temporarily deployed to preview-pr-4103 May 21, 2024 15:34 Destroyed
@github-actions github-actions bot temporarily deployed to preview-pr-4103 May 21, 2024 16:35 Destroyed
@github-actions github-actions bot temporarily deployed to preview-pr-4103 May 21, 2024 17:36 Destroyed
Copy link
Contributor

@saket2403 saket2403 May 23, 2024

Choose a reason for hiding this comment

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

What happened to the placeholders in all the screenshots?

Copy link
Collaborator Author

@adavijit adavijit May 23, 2024

Choose a reason for hiding this comment

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

Visual tests are passing as per the wdio tests. Check from the deployment link.
I am not sure how empty placeholders are coming in the screenshot difference

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have fixed the issue causing screenshot mismatch.

@github-actions github-actions bot temporarily deployed to preview-pr-4103 May 24, 2024 08:06 Destroyed
@github-actions github-actions bot temporarily deployed to preview-pr-4103 May 24, 2024 08:22 Destroyed
@adavijit adavijit requested a review from saket2403 May 24, 2024 08:36
@sugan2416 sugan2416 merged commit a32dc9a into main May 24, 2024
22 checks passed
@sugan2416 sugan2416 deleted the UXPLATFORM-10430 branch May 24, 2024 09:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants