-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
fix(PopoverMenu): Deleting receipts #47341
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what was isNavigating meant for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isNavigating
is later passed to closeModals function, however it's true
as a default so, it doesn't change anything here
@@ -53,7 +55,7 @@ function onModalDidClose() { | |||
if (!onModalClose) { | |||
return; | |||
} | |||
if (closeModals.length) { | |||
if (closeModals.length && shouldCloseAll) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
ThreeDotsMenu
in the upper right corner -> thenDelete receipt
Offline tests
Same as above
QA Steps
Besides this issue, I changed code in
Modal
component, it would be great to test modals in different parts of the application.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
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop