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 |
| @@ -0,0 +1,39 @@ | |||
| import {useNavigation} from '@react-navigation/native'; | |||
There was a problem hiding this comment.
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. |
|
@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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
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