Fix/32635: Clear search input once invite user#32638
Conversation
|
@aimane-chnaif Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
| Keyboard.dismiss(); | ||
| Policy.addMembersToWorkspace(this.props.invitedEmailsToAccountIDsDraft, this.state.welcomeNote, this.props.route.params.policyID); | ||
| Policy.setWorkspaceInviteMembersDraft(this.props.route.params.policyID, {}); | ||
| SearchInputManager.searchInput = ''; |
There was a problem hiding this comment.
This solution doesn't work for me
Screen.Recording.2023-12-07.at.11.09.35.AM.mov
There was a problem hiding this comment.
Yeah. I `ve moved the PR to "Draft" and implementing a new solution
There was a problem hiding this comment.
@aimane-chnaif Updated PR. Now it is ready to review
| useEffect(() => { | ||
| if (!SearchInputManager.searchInput) { | ||
| return; | ||
| } |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.moviOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
This is not forwarding the search to the next page for me anymore 🤔 |
|
@rlinoz Can you share the screenshot? |
|
Oh I am sorry, I was testing for rooms, and this is only for workspace. Which makes me think we should have this behavior for rooms and group chats as well. But yeah, it is working, sorry. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…dded-user-appear-in-the-find-member-disappear Fix/32635: Clear search input once invite user (cherry picked from commit de744ef)
|
🚀 Cherry-picked to staging by https://github.com/yuwenmemon in version: 1.4.9-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.9-5 🚀
|
Details
Fixed Issues
$ #32635
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screencast.from.07-12-2023.16.51.22.webm
MacOS: Desktop