-
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
Using dismissModal function instead of goBack If It is the RHP #41611
Using dismissModal function instead of goBack If It is the RHP #41611
Conversation
@DylanDylann 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-05-04.at.14.35.18.movAndroid: mWeb ChromeScreen.Recording.2024-05-04.at.14.32.56.moviOS: NativeScreen.Recording.2024-05-04.at.14.32.11.moviOS: mWeb SafariScreen.Recording.2024-05-04.at.14.30.18.movMacOS: Chrome / SafariScreen.Recording.2024-05-04.at.14.13.21.movMacOS: DesktopScreen.Recording.2024-05-04.at.14.23.58.mov |
@cretadn22 Please run prettier to fix the lint error and upload videos |
@DylanDylann Thanks for letting me know. I encountered some issues while running prettier, but I plan to address them soon |
@DylanDylann It's fine now |
@cretadn22 Should we update the same fix to the HeadeView, I see that in some cases we still display ReportScreen as RHP with HeaderView ![]() |
@luacmartins @DylanDylann We can't use a ternary because of the lint rule ![]() The code change is ready now |
@luacmartins Bug: Flicker when navigating to transaction report (navigate again to search page a moment before going to transaction report) Screen.Recording.2024-05-04.at.20.04.04.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 production by https://github.com/marcaaron in version: 1.4.71-6 🚀
|
Details
If a transaction is opened on the search page (RHP), we should use the dismissModal function instead of the goBack function.
Fixed Issues
$ #41579
PROPOSAL: #41579 (comment)
Tests
Offline tests
QA Steps
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
Screen.Recording.2024-05-04.at.14.03.26.mov
iOS: Native
Screen.Recording.2024-05-04.at.14.09.57.mov
iOS: mWeb Safari
Screen.Recording.2024-05-04.at.14.01.37.mov
MacOS: Chrome / Safari
Screen.Recording.2024-05-04.at.13.57.33.mp4
MacOS: Desktop
Screen.Recording.2024-05-04.at.13.59.28.mov