fix: infinite loading appears when logging in via hellogorgeous link#78987
fix: infinite loading appears when logging in via hellogorgeous link#78987aldo-expensify merged 5 commits intoExpensify:mainfrom
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@ahmedGaber93 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] |
|
@joekaufmanexpensify I'am unable to test #78610. Could you please help to build and test this issue? |
src/libs/actions/Link.ts
Outdated
| callback: (report) => { | ||
| // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing | ||
| if (report?.errorFields?.notFound || report?.reportID) { | ||
| if (report?.errorFields?.notFound || report?.reportID || (report === undefined && /\D/.test(reportID))) { |
There was a problem hiding this comment.
| if (report?.errorFields?.notFound || report?.reportID || (report === undefined && /\D/.test(reportID))) { | |
| if (report?.errorFields?.notFound || report?.reportID || (report === undefined && !CONST.REGEX.NUMBER.test(reportID))) { |
There was a problem hiding this comment.
Let's use !CONST.REGEX.NUMBER.test(reportID) if it will do the same job.
There was a problem hiding this comment.
@ahmedGaber93 !CONST.REGEX.NUMBER.test(reportID) will return true if reportID is empty while /\D/.test(reportID) return false
There was a problem hiding this comment.
Okay, we can use the existing regex CONST.REGEX.NON_NUMERIC for that. I’m just looking forward to some additional cleanup.
|
@paulnjs Are you facing the same issue? iOS - public room deeplink doesn’t always open correctly and sometimes redirects to the login screen. 20260108232632215.mp4 |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp202601121539376512.mov20260112154318143.mp4Android: mWeb Chrome20260110145047021.mp4iOS: HybridApp20260108231303564.mp420260108231104272.mp4iOS: mWeb Safari20260108225116855.mp4MacOS: Chrome / Safari20260108201420187.mp4 |
@ahmedGaber93 It's still working well with me Screen.Recording.2026-01-09.at.15.38.38.mov |
I’m also able to reproduce it without this PR change. Could you please complete the cleanup mentioned here so we can move forward? #78987 (comment) |
|
@ahmedGaber93 Updated, the test fail from main and could you help to test #78610? I'm unable to test it with Google account. |
|
@paulnjs I’m not able to reproduce #78610 on the standalone app. And unfortunately, I can’t test the deep link on the hybrid DEV app on android at the moment—I’ve asked on Slack about fixing this. Could you please add test cases for this scenario? I’ll request an ad-hoc build so I can test it on the hybrid app as well. |
|
@aldo-expensify I’m having issues opening deep links on the Android hybrid dev app. Could you please trigger an ad-hoc Android build so we can test this issue on the hybrid app? |
|
🚧 @aldo-expensify 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! 🧪🧪
|
|
Works well on Android hybrid app.
Android: HybridAppWhatsApp.Video.2026-01-12.at.5.39.04.PM.mp4
Android: HybridAppWhatsApp.Video.2026-01-12.at.5.38.57.PM.mp4 |
|
@paulnjs just a reminder to please add test cases for this scenario. Thanks!
|
|
@ahmedGaber93 Added. Thanks for reminder! |
|
✋ 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.3.0-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.3.0-8 🚀
|
Explanation of Change
Fix regression in #78626
Fixed Issues
$#73506
PROPOSAL:#73506 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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
Screen.Recording.2025-11-22.at.10.33.56.mov
iOS: Native
iOS: mWeb Safari
Screen.Recording.2025-11-22.at.10.28.00.mov
MacOS: Chrome / Safari
chorme.mov
Screen.Recording.2026-01-07.at.17.55.26.mov