fix(PopoverMenu): Deleting receipts#47341
Conversation
| Modal.close(Session.checkIfActionIsAllowed(() => Navigation.navigate(ROUTES.CHAT_FINDER))); | ||
| Modal.close( | ||
| Session.checkIfActionIsAllowed(() => Navigation.navigate(ROUTES.CHAT_FINDER)), | ||
| true, |
There was a problem hiding this comment.
what was isNavigating meant for?
There was a problem hiding this comment.
isNavigating is later passed to closeModals function, however it's true as a default so, it doesn't change anything here
| return; | ||
| } | ||
| if (closeModals.length) { | ||
| if (closeModals.length && shouldCloseAll) { |
There was a problem hiding this comment.
Remember to pass it for the QA team to check as we discussed 🙏
|
@youssef-lr 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/Videos |
fedirjh
left a comment
There was a problem hiding this comment.
Looks good to me and tests well.
|
Looks like there's conflicts @war-in |
# Conflicts: # src/pages/workspace/accounting/PolicyAccountingPage.tsx
|
@arosiclair Conflicts resolved 🎉 |
|
Congrats, that’s your 5th PR merged! 🎉 Do you know about the ContributorPlus role? It’s an opportunity to earn more in the Expensify Open Source community. Keep up the great work - thanks! |
|
✋ 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/arosiclair in version: 9.0.24-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.0.24-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.24-5 🚀
|
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.0.25-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.0.25-0 🚀
|






Details
Fixed Issues
$ #46852
Tests
ThreeDotsMenuin the upper right corner -> thenDelete receiptOffline tests
Same as above
QA Steps
Besides this issue, I changed code in
Modalcomponent, it would be great to test modals in different parts of the application.PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop