Skip to content

Clear search text input in new group page after select a user#7558

Merged
pecanoro merged 6 commits into
Expensify:mainfrom
K4tsuki:clear_groupsearch
Feb 7, 2022
Merged

Clear search text input in new group page after select a user#7558
pecanoro merged 6 commits into
Expensify:mainfrom
K4tsuki:clear_groupsearch

Conversation

@K4tsuki

@K4tsuki K4tsuki commented Feb 4, 2022

Copy link
Copy Markdown
Contributor

Details

Clear search input in New Group page after select a user.

Fixed Issues

$ #6872

Tests

  1. Open New Group page
  2. Type some character to search
  3. Select a user
  4. After select a user, verify the search text box is cleared.
  • Verify that no errors appear in the JS console

QA Steps

  • Verify that no errors appear in the JS console
  1. Open New Group page
  2. Type some character to search
  3. Select a user
  4. After select a user, verify the search text box is cleared.

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

clear_groupsearch.mp4

Mobile Web

clear_groupsearch_mweb.mp4

Desktop

iOS

Android

video_2022-02-04_10-38-12.mp4

@MelvinBot MelvinBot requested review from parasharrajat and pecanoro and removed request for a team February 4, 2022 06:50
parasharrajat
parasharrajat previously approved these changes Feb 4, 2022

@parasharrajat parasharrajat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. For now, I am skipping the screenshot check for Desktop and IOS which should work as change is purely logical.

cc: @pecanoro

🎀 👀 🎀 C+ reviewed

}

this.value = this.props.value;
if (this.props.value === '') {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It looks good but can you leave a comment before the if condition explaining why we need to do this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I have add the comment

Comment thread src/components/TextInput/BaseTextInput.js Outdated
Co-authored-by: Rajat Parashar <parasharrajat@users.noreply.github.com>
pecanoro
pecanoro previously approved these changes Feb 4, 2022

@parasharrajat parasharrajat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lint issues @K4tsuki....

@K4tsuki

K4tsuki commented Feb 5, 2022

Copy link
Copy Markdown
Contributor Author

lint error fixed

@pecanoro pecanoro merged commit 03e7230 into Expensify:main Feb 7, 2022
@OSBotify

OSBotify commented Feb 7, 2022

Copy link
Copy Markdown
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify

OSBotify commented Feb 7, 2022

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by @pecanoro in version: 1.1.37-0 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify

OSBotify commented Feb 9, 2022

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by @roryabraham in version: 1.1.37-2 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 failure ❌
🕸 web 🕸 success ✅

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.

4 participants