Conversation
… on splash screen when navigating to a public room as anon user""
trjExpensify
left a comment
There was a problem hiding this comment.
Reverting a reverting of a PR we thought was causing an infinite spinner on switching to NewDot. 👍
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 955830a62a
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
|
||
| useEffect(() => { | ||
| if (isLoadingOnyxValue(sessionMetadata, isSelfTourViewedMetadata)) { | ||
| if (isLoadingOnyxValue(allReportsMetadata, sessionMetadata, conciergeReportIDMetadata, introSelectedMetadata, isSelfTourViewedMetadata, betasMetadata)) { |
There was a problem hiding this comment.
Avoid blocking startup on report collection loading
For accounts with a large cached report collection, adding allReportsMetadata to this loading gate means Linking.getInitialURL() is not even started until every report entry has loaded. During that delay the handler never calls onInitialUrl() or doneCheckingPublicRoom(), while Expensify keeps NavigationRoot unmounted until the public-room check completes and initialUrl is set, so normal cold starts can sit on the splash/blank screen even when there is no deep link. The report collection is only needed after a URL is known, so it should not block the initial URL/public-room gate.
Useful? React with 👍 / 👎.
|
straight revert |
|
🚧 @JS00001 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. |
…x-88653 Revert "[CP Staging] Revert "[CP Staging] fix Deeplink - App is stuck on splash screen when navigating to a public room as anon user"" (cherry picked from commit 8f67bd6) (cherry-picked to staging by Beamanator)
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.3.67-9 🚀
Bundle Size Analysis (Sentry): |
|
I reviewed the changes in this PR. It reverts a revert to restore a deep link fix ( No help site changes are required. This is an internal code fix with no user-facing feature, UI, or terminology changes that would affect documentation under |
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.3.67-11 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. The changes are limited to internal deep link handling logic in |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.3.67-13 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.3.68-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. This is a cherry-pick revert that fixes an internal deep link loading bug in |
Explanation of Change
Reverts #89742
Fixed Issues
Related to #89559, we CPd a fix to try and fix it, but the issue wasn't fixed, so this reverts that PR
Tests
N/A
Offline tests
N/A
QA Steps
N/A
PR Author Checklist
N/A
### 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