Plaid popup continue to open from resume app #29927
Conversation
| }); | ||
|
|
||
| return () => { | ||
| dismissLink(); |
There was a problem hiding this comment.
I see this is beyond the proposal. What does this fix?
There was a problem hiding this comment.
Already there in my proposal.
when a component is destroyed we need to dismiss the link
when onexit event trigger plaid component will destroy based on this `subStep`
https://github.com/Expensify/App/blob/c77814fd5e643cba78e8c8294370d78f633a59c5/src/pages/ReimbursementAccount/BankAccountPlaidStep.js#L105
There was a problem hiding this comment.
Ah ok, but what does this fix exactly?
What issue do you have currently in production app? (without calling dismissLink on unmount)
This is good fix but just to confirm.
There was a problem hiding this comment.
when the component is destroyed if the plaid popup opens means it will close the popup.
in the current issue was popup is opened repeatedly after resuming the app
There was a problem hiding this comment.
ok so with this fix only, duplicated popup bug is replaced with repeatedly close & open popup 2 times.
So only 1 instance exists, which is a little better than original bug. But still we should fix this for better user experience which is the reason for introducing new Onyx key
Thanks for the explanation.
Screen.Recording.2023-10-19.at.11.24.10.PM.mov
|
Android bug: app restarts when open from launch icon (only on plaid screen) Screen.Recording.2023-10-19.at.11.59.38.PM.mov |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
|
@tgolen changes done |
tgolen
left a comment
There was a problem hiding this comment.
Thank you for the changes. Sorry, I was OOO this week.
|
@tgolen looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Hm, that's weird. I think all the tests were passing. The last commit shows passing tests... Maybe just a glitch in the matrix. |
|
🚀 Deployed to staging by https://github.com/tgolen in version: 1.3.93-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.93-1 🚀
|
|
🚀 Deployed to staging by https://github.com/tgolen in version: 1.3.94-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/tgolen in version: 1.3.94-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.94-2 🚀
|
Details
fixed open the plaid popup when resume the app
Fixed Issues
$ #27616
PROPOSAL: #27616 (comment)
Tests
Offline tests
QA Steps
same as test
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)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.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
Screen.Recording.2023-10-19.at.5.45.22.AM.mov
Android: mWeb Chrome
out.mp4
iOS: Native
out.mp4
iOS: mWeb Safari
out.mp4
MacOS: Chrome / Safari
out.mp4
MacOS: Desktop
out.5.43.34.AM.mp4