-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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: 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
IOURequestStartPage
when 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 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
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