[No QA] Always log transactionID in useNavigateTo3DSAuthorizationChallenge#85492
[No QA] Always log transactionID in useNavigateTo3DSAuthorizationChallenge#85492rafecolton merged 1 commit intomainfrom
Conversation
|
@abzokhattab 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] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
NAB the convention seems to be to pass |
| // the old value and react will run a second effect with the new value. Typescript doesn't know that Onyx treats the object as | ||
| // immutable, so we must guard against transactionID becoming undefined again, even though we know it won't be. | ||
| if (!transactionPending3DSReview?.transactionID) { | ||
| Log.info('[useNavigateTo3DSAuthorizationChallenge] Ignoring navigation - type guard bail-out (should be impossible to reach)'); |
There was a problem hiding this comment.
@chuckdries Should we add a note in the message to indicate that transactionID is undefined in this case?
There was a problem hiding this comment.
I think it's fine as-is, we will know that is the case if we see this particular log line
|
🎯 @DylanDylann, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #85509. |
|
🚧 @rafecolton has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ 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/rafecolton in version: 9.3.39-0 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.3.39-3 🚀
|
Explanation of Change
Improve logging in useNavigateTo3DSAuthorizationChallenge to help diagnose navigation trigger behavior
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/604818
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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