-
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 on invite and task assignee page after refresh #39223
Fix infinite loading on invite and task assignee page after refresh #39223
Conversation
You can temporarily comment out this code to be able to access workspace page in small screen. App/src/libs/Navigation/linkTo.ts Line 198 in c56458f
|
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.
Code looks good
src/components/withTransitionEnd.tsx
Outdated
@@ -0,0 +1,39 @@ | |||
import {useNavigation} from '@react-navigation/native'; |
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.
NAB: I think withNavigationTransitionEnd
file name makes more sense
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb Chromemchrome.moviOS: NativeiOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb-invite.movweb-room.movweb-task.movMacOS: Desktopdesktop.mov |
Bug: Not able to go to workspace detail on mWeb
bug.mov |
NVM, bug fixed after pulling main locally. Please merge main |
Merged with main and renamed |
Did we test on native just to make sure the pages are normally loading? |
Oh good point, I just added the recording for native platforms. |
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.
LGTM, thanks!
@rlinoz looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
I honestly don't know what is happening with GH, even reloaded the page to validate if there was a missing check, but yeah, no emergency here. |
✋ 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/rlinoz in version: 1.4.59-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|
Details
After refreshing on invite and task assignee page, the screen transition event is never captured and we won't show anything if the screen transition event is not captured.
Fixed Issues
$ #22508
PROPOSAL: #22508 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Android/iOS
Can't refresh, so just make sure that opening each page is working fine.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.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 and/or tagged@Expensify/design
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-04-01.at.20.55.42.mov
Screen.Recording.2024-04-01.at.20.56.47.mov
Screen.Recording.2024-04-01.at.20.57.46.mov
Android: mWeb Chrome
Screen.Recording.2024-03-29.at.09.58.55.mov
Screen.Recording.2024-03-29.at.10.03.56.mov
Screen.Recording.2024-03-29.at.10.04.40.mov
iOS: Native
Screen.Recording.2024-04-01.at.20.53.56.mov
Screen.Recording.2024-04-01.at.20.54.37.mov
Screen.Recording.2024-04-01.at.20.55.28.mov
iOS: mWeb Safari
Screen.Recording.2024-03-29.at.09.57.05.mov
Screen.Recording.2024-03-29.at.09.57.53.mov
Screen.Recording.2024-03-29.at.09.58.36.mov
MacOS: Chrome / Safari
Screen.Recording.2024-03-29.at.09.52.51.mov
Screen.Recording.2024-03-29.at.09.54.30.mov
Screen.Recording.2024-03-29.at.09.52.04.mov
MacOS: Desktop
Screen.Recording.2024-03-29.at.09.55.52.mov
Screen.Recording.2024-03-29.at.09.56.18.mov
Screen.Recording.2024-03-29.at.09.56.37.mov