feat: Show Hold modal from reports page#76038
Conversation
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@luacmartins 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] |
|
@truph01 Will review this PR as a part of the project. |
|
I need checkBulkRejectHydration method here to verify if the report is available in the Onyx store. If the modal not showing at all is a critical bug, then we can merge it right now and I'll raise a follow up fix after the bulk reject is merged. Because reports not hydrated is still an existing issue and not from my PR. |
|
@truph01 switched you in. When can you start your review? |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-11-27.at.18.06.51.movAndroid: mWeb ChromeScreen.Recording.2025-11-27.at.18.09.04.moviOS: HybridAppScreen.Recording.2025-11-27.at.18.04.53.moviOS: mWeb SafariScreen.Recording.2025-11-27.at.18.07.38.movMacOS: Chrome / SafariScreen.Recording.2025-11-27.at.18.03.50.mov |
|
@mananjadhav Could you help merge main? |
|
@truph01 done. |
heyjennahay
left a comment
There was a problem hiding this comment.
No concern with product change
|
@mananjadhav conflicts now! |
|
Raised a discussion item here |
cc @mananjadhav |
|
I fixed this issue. The Typescript errors are unrelated to the PR. web-reject-modal-as-approver-on-clear-cache.movweb-reject-modal-on-clear-cache.movweb-hold-modal-on-clear-cache.mov |
lakchote
left a comment
There was a problem hiding this comment.
Typechecks failing now can be fixed easily and pass if you cherry-pick cc1a5e7
Please do so @mananjadhav, then I'll approve
|
Changes look good! @lakchote All yours! |
|
✋ 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/lakchote in version: 9.2.71-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.2.71-5 🚀
|
Explanation of Change
Fixed Issues
$ #75075
$ #63363
PROPOSAL:
Tests
Prerequisite:
Test
Should you hold?modal should open.Should you hold or reject?modal should open.Offline tests
Same as Test steps
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as Test 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
android-hold-modal-on-search.mov
Android: mWeb Chrome
mweb-chrome-hold-modal-on-search.mov
iOS: Native
ios-hold-modal-on-search.mov
iOS: mWeb Safari
mweb-safari-hold-modal-on-search.mov
MacOS: Chrome / Safari
web-hold-modal-on-search.mov