fix: Tapping From link in expense navigates back to search#78967
fix: Tapping From link in expense navigates back to search#78967blimpich merged 11 commits intoExpensify:mainfrom
Conversation
|
@aimane-chnaif 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] |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid.movAndroid: mWeb ChromeiOS: HybridAppios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb1.movweb2.mov |
blimpich
left a comment
There was a problem hiding this comment.
Is it possible to add a unit test for this?
|
@blimpich The changes were made in a Do you have any suggestions on how we might add a test for this effectively? |
|
If that fails, a sure fire way to make it work is to extract out the function that you changed into a utility method or hook and then to write a unit test testing that. Since your changes here don't change how something renders, that might be easiest. Does that help? |
|
@aimane-chnaif @blimpich I just added the ui test for the new change. |
|
|
||
| // If the parent report is already displayed underneath RHP, simply dismiss the modal | ||
| if (Navigation.getTopmostReportId() === parentReportID) { | ||
| if (Navigation.getTopmostReportId() === parentReportID && currentFullScreenRoute?.name === NAVIGATORS.REPORTS_SPLIT_NAVIGATOR) { |
There was a problem hiding this comment.
@aimane-chnaif You're right—the original test case wasn't strict enough. I've just updated the PR to include additional test cases.
|
@aimane-chnaif Everything should be good now. Could you please take another look when you get a chance? |
|
✋ 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/blimpich in version: 9.3.1-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.3.1-1 🚀
|



Explanation of Change
Fixed Issues
$ #76325
PROPOSAL: #76325 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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.2026-01-07.at.11.29.27.mov
Android: mWeb Chrome
Screen.Recording.2026-01-07.at.11.31.11.mov
iOS: Native
Screen.Recording.2026-01-07.at.11.32.22.mov
iOS: mWeb Safari
Screen.Recording.2026-01-07.at.11.28.02.mov
MacOS: Chrome / Safari
Screen.Recording.2026-01-07.at.11.24.50.mov