Fix not found page briefly appear on new workspace#45239
Fix not found page briefly appear on new workspace#45239deetergp merged 4 commits intoExpensify:mainfrom
Conversation
…x/44206-not-found-page-enable-ws-features
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: Nativeios.moviOS: mWeb SafariMacOS: Chrome / Safaribefore.movafter.movMacOS: Desktop |
deetergp
left a comment
There was a problem hiding this comment.
Code looks good and works like a champ on web 👍
|
✋ 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/deetergp in version: 9.0.7-3 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 9.0.7-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.7-8 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.8-6 🚀
|
| // This is because the feature state changes several times during the creation of a workspace, while we are waiting for a response from the backend. | ||
| // Without this, we can have unexpectedly have 'Not Found' be shown. | ||
| useEffect(() => { | ||
| if (pendingField && !isOffline && !isFeatureEnabled) { |
There was a problem hiding this comment.
This caused unexpected navigation to More Feature from Inbox. More details here - #63467.
Details
We attempted to address workspace's not found issue with #40650, but some of the code modifications unintentionally led to removal. This PR will re-apply missing change from the previous PR.
Fixed Issues
$ #44206
PROPOSAL: #44206 (comment)
Tests
Offline tests
Same as test
QA Steps
Same as test
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
Kapture.2024-07-11.at.15.06.05.mp4
Android: mWeb Chrome
https://github.com/Expensify/App/assets/11847279/4c80c88f-cc20-4ef6-a9b5-a4161465f8c1iOS: Native
Kapture.2024-07-11.at.15.52.40.mp4
iOS: mWeb Safari
Kapture.2024-07-11.at.15.57.26.mp4
MacOS: Chrome / Safari
Kapture.2024-07-11.at.16.05.12.mp4
MacOS: Desktop
Kapture.2024-07-11.at.16.10.53.mp4