-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Infinite loading when navigate to non-existing chat by deeplink #35228
Conversation
@sobitneupane 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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Screenshots/Videos
Android: Native
Screen.Recording.2024-02-01.at.15.12.16.mov
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
Screen.Recording.2024-02-01.at.15.19.35.mov
MacOS: Chrome / Safari
Screen.Recording.2024-02-01.at.14.17.36.mov
Screen.Recording.2024-02-01.at.14.19.41.mov
Screen.Recording.2024-02-01.at.14.21.52.mov
Screen.Recording.2024-02-01.at.14.26.06.mov
Screen.Recording.2024-02-01.at.14.26.57.mov
Screen.Recording.2024-02-01.at.14.29.48.mov
Screen.Recording.2024-02-01.at.14.31.26.mov
Screen.Recording.2024-02-01.at.14.32.52.mov
MacOS: Desktop
@tienifr In Android/native, it shows NotFoundPage twice. Screen.Recording.2024-02-01.at.15.12.16.mov |
I cannot reproduce on the latest |
@tienifr In web, I am stuck in the loading screen. Is it working well in your end? I don't think it is related to this PR. Screen.Recording.2024-02-05.at.16.19.35.mov |
We should also test signing in with deeplink (valid and invalid). The change is likely to introduce regressions. So, I am trying to cover as much test cases as possible. |
@tienifr Any update about above two comments? Let's test as much as possible with invalid and different types of valid deeplink.
|
I do not quite understand this:
Can you give some hints? |
Working fine on my end: Screen.Recording.2024-02-20.at.20.58.11-compressed.mov |
-> /concierge |
@tienifr Any update? |
/conciergeScreen.Recording.2024-02-25.at.00.02.00.mov/r/:reportIDScreen.Recording.2024-02-25.at.00.02.00.mov/settings/aboutScreen.Recording.2024-02-25.at.00.03.55.mov/a/:accountIDScreen.Recording.2024-02-25.at.00.04.15.mov/r/:reportID/detailsScreen.Recording.2024-02-25.at.00.04.37.mov |
@sobitneupane Can you help check the videos above^? I think they worked as expected. Pls correct me if I misunderstand sth. Thanks |
I believe it was fixed in #36477. But give me a day or two to verify if the solution there actually works for every case. |
@sobitneupane I verified that the solution in the mentioned PR fixed this issue. I think we can close this then. |
@sobitneupane Please check this out and confirm we can close. |
@tienifr Yup. We are good to close. |
Details
This PR fixes the issue that infinite loading shows when navigate to non-existing chat by deeplink.
Fixed Issues
$ #33638
PROPOSAL: #33638 (comment)
Tests
new-expensify://r/1234
)Offline tests
NA
QA Steps
https://staging.new.expensify.com/r/1234
)PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-01-26.at.15.50.48-compressed.mov
Android: mWeb Chrome
Screen.Recording.2024-01-26.at.15.53.22-compressed.mov
iOS: Native
Screen.Recording.2024-01-26.at.15.40.00-compressed.mov
iOS: mWeb Safari
Screen.Recording.2024-01-26.at.15.42.22-compressed.mov
MacOS: Chrome / Safari
Screen.Recording.2024-01-26.at.15.37.15-compressed.mov
MacOS: Desktop
Screen.Recording.2024-01-26.at.15.37.15-compressed.mov