Add missing calls to App.confirmReadyToOpenApp#51110
Conversation
|
@abdulrahuman5196 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] |
|
|
||
| useEffect(() => { | ||
| Wallet.openInitialSettingsPage(); | ||
| App.confirmReadyToOpenApp(); |
| useEffect(() => { | ||
| App.confirmReadyToOpenApp(); | ||
| }, []); | ||
|
|
|
@abdulrahuman5196 Please complete PR reviewer checklist, thanks! |
|
Hi, Checking now |
|
Hi @aldo-expensify I am facing server not found error after clicking on Screen.Recording.2024-10-22.at.1.10.55.AM.mov |
hmm, seems like it is trying to connect to the dev web api which contributors / C+ don't have. @mananjadhav I think you have tested QBO stuff... do you know what @abdulrahuman5196 may have misconfigured in their env to be making calls to |
|
@abdulrahuman5196 This is expected during development, when I encountered this I removed the |
|
Thanks @ikevin127 |
|
@abdulrahuman5196 do you think you will be able to review this soon? |
|
@abdulrahuman5196 in case QBO is harder to make work than other, for the testing steps, any kind of integration should work. |
|
Hi, Checking this now again, will let you know if I am able to unblock this dev issue. |
|
Checking again now |
|
Thank you for the help everyone. I am able to connect QBO, Will work on further checking and close this out. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariScreen.Recording.2024-10-29.at.12.46.40.AM.mp4MacOS: Chrome / SafariScreen.Recording.2024-10-29.at.12.43.24.AM.mp4MacOS: DesktopScreen.Recording.2024-10-29.at.12.44.18.AM.mp4 |
abdulrahuman5196
left a comment
There was a problem hiding this comment.
Changes looks good and works well. Reviewers checklist is also complete.
All yours. @jasperhuangg
🎀 👀 🎀
C+ Reviewed
|
I also checked mweb safari and its working fine and making reconnectApp call. |
|
@arosiclair 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] |
|
Thanks! |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/aldo-expensify in version: 9.0.55-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.0.55-10 🚀
|


Details
Seems like when we open the App from settings, the function confirmReadyToOpenApp is never called, which results in us never calling ReconnectApp here because the promise returned from getPolicyParamsForOpenOrReconnect never resolves
This PR is adding calls to
App.confirmReadyToOpenAppwhere I think it is missing.cc @jasperhuangg since you added the function
App.confirmReadyToOpenApphere: #18114Some more context: https://expensify.slack.com/archives/C03TQ48KC/p1729204325866909
Fixed Issues
$ #49371 (comment)
PROPOSAL:
Tests
Accountingfor a workspace and go to theAccountingsettings pagehttps://<domain>/settings/workspaces/<policyID>/accountingand keep it somewhere (you will have to return to it later)OpenInitialSettingsPageandReconnectApprequestsOffline tests
QA Steps
Accountingfor a workspace and go to theAccountingsettings pagehttps://<domain>/settings/workspaces/<policyID>/accountingand keep it somewhere (you will have to return to it later)OpenInitialSettingsPageandReconnectApprequestsPR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.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)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Starting the sync and closing the tab before it finishes:
Screen.Recording.2024-10-18.at.1.25.41.PM.mov
Reopening the tab:
Screen.Recording.2024-10-18.at.1.27.38.PM.mov
MacOS: Desktop