allow delete invoice offline mode#75059
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.
|
|
@ikevin127 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] |
|
@ikevin127 I've updated set |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid-hybrid.mp4Android: mWeb Chromeandroid-mweb.mp4iOS: HybridAppios-hybrid.moviOS: mWeb Safariios-mweb.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
@suneox Just noticed that the "Verify..." step is missing in PR description tests, QA won't know what to look for as a fix unless they go to the issue. Do you mind adding the missing step ? Thanks! |
🔴 Regression Alert@suneox Even though the I think this should be fixed as otherwise QA will report it as a regression because the button is not showing in both places, only header. Here's an example, between a optimistic WS manual expense and our case' invoice expense (which does have the Delete button if opened, in header More button):
✅ Reviewer checklist completed, awaiting on the comments above to be addressed before approving. |
heyjennahay
left a comment
There was a problem hiding this comment.
No concern with product change
Actually, in the QA steps I already added the description Same test step, so I think it was fine — but anyway, I’ve updated it. |
@ikevin127 This issue is still happening on the latest staging, so I think we should open a new issue for it. CleanShot.2025-11-20.at.21.46.52.mp4 |
ikevin127
left a comment
There was a problem hiding this comment.
@suneox About:
Just noticed that the "Verify..." step is missing in PR description tests, QA won't know what to look for as a fix unless they go to the issue. Do you mind adding the missing step ? Thanks!
What I mean is that either QA Steps or Tests section, after step 7:
- Open the secondary actions menu
there's no other step, there should be a last step something like:
- Verify that the
Deletebutton is displayed in the secondary actions menu.
we need this to basically align with the issue's expected behaviour:
The delete button should be available for SendInvoice reports when the user is the owner, maintaining consistency with RequestMoney reports which can be deleted offline.
so that QA knows what to verify in terms of 'issue fixed' / expected behaviour.
Other than this concern (behaviour which aligns with current staging / prod), LGTM 🟢
…voice-offline-mode
|
@ikevin127 I’m so sorry — I missed the expectation step cause I remember I already copied it as default 😄. I’ve updated it now. Thanks for the detailed explanation! And the code conflict is also resolved. |
|
✋ 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/mjasikowski in version: 9.2.62-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.2.62-5 🚀
|


Explanation of Change
Fixed Issues
$ #74211
PROPOSAL: #74211 (comment)
Tests
Precondition: Workspace has invite members and enabled workflow and invoice features
Offline tests
QA Steps
Precondition: Workspace has invite members and enabled workflow and invoice features
Verify The delete button should be available for SendInvoice reports when the user is the owner
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.2025-11-13.at.22.21.09.mp4
Android: mWeb Chrome
Screen.Recording.2025-11-13.at.22.23.21.mp4
iOS: Native
Screen.Recording.2025-11-13.at.22.18.44.mp4
iOS: mWeb Safari
Screen.Recording.2025-11-13.at.22.20.13.mp4
MacOS: Chrome / Safari
Screen.Recording.2025-11-13.at.22.14.53.mp4
MacOS: Desktop
Screen.Recording.2025-11-13.at.22.13.19.mp4