fix: go back in AccessOrNotFoundWrapper#42976
Conversation
|
@shubham1206agra 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] |
|
@shubham1206agra Please review this as a follow-up of #41730. |
|
@tienifr Can you write a summary why you have made such change? |
|
When we used App/src/libs/Navigation/Navigation.ts Lines 219 to 222 in 2ebe8da
App/src/libs/Navigation/linkTo/index.ts Line 132 in e9dc2ef App/src/libs/Navigation/linkTo/index.ts Line 143 in e9dc2ef We must not use App/src/libs/Navigation/linkTo/index.ts Lines 85 to 86 in e9dc2ef That's why we only see the LHN (without the report) when going back from not found page as in #42906. On the other hand, because we just want to go back to the previous page in stack, I think forcing fallback to |
|
Bump @shubham1206agra |
|
@tienifr Can you merge main here? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeScreen.Recording.2024-06-11.at.5.00.13.PM.moviOS: NativeScreen.Recording.2024-06-11.at.4.48.09.PM.moviOS: mWeb SafariScreen.Recording.2024-06-11.at.4.54.38.PM.movMacOS: Chrome / SafariScreen.Recording.2024-06-11.at.4.51.37.PM.movMacOS: DesktopScreen.Recording.2024-06-11.at.5.02.56.PM.mov |
|
✋ 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/youssef-lr in version: 1.4.82-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.82-4 🚀
|
Details
This PR fixes the issue when going back in
IOURequestStartPagewhen wrapped withAccessOrNotFoundWrapper.Fixed Issues
$ #42902
$ #42906
PROPOSAL:
Tests
create/invoice/start/1/7783051691252045)Offline tests
NA
QA Steps
Same as Tests
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
Android: mWeb Chrome
iOS: Native
Screen.Recording.2024-06-03.at.15.44.38-compressed.mov
iOS: mWeb Safari
Screen.Recording.2024-06-03.at.15.45.48-compressed.mov
MacOS: Chrome / Safari
Screen.Recording.2024-06-03.at.15.41.14-compressed.mov
Screen.Recording.2024-06-03.at.15.40.57-compressed.mov
MacOS: Desktop
Untitled.mov