-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Consolidate options on settlement "Pay" button #37174
Consolidate options on settlement "Pay" button #37174
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
not sure why @allroundexperts didn't get assign here since you reviewed the proposals #36301 (comment) so added you. |
Hi @brandonhenry! |
Still working through this. @allroundexperts did you happen to see the comments I made in this PR? You can see them in them in the commented out lines |
I have read the CLA Document and I hereby sign the CLA |
@brandonhenry Can you please ask the questions as comments in this PR thread, instead of the code? This way it would be visible to everyone. |
hi @allroundexperts my main question revolves around this comment here. I think we are good as long as we map the current dropdown from the changes we proposed in this PR to how it is currently in prod. The request tied to this PR asks for the dropdown to contain
How should I map each? Basically, what payment type should be sent to BE for each of these? I would say If you're unsure, I'm going to go with that assumption - then finish this PR. |
@tgolen Can you answer the above? I don't have enough backend context for this. |
@allroundexperts @tgolen think I made the appropriate changes to not affect this. I still needed to update the payment type, but I am still using the same functionality that exists in the app (just removed the extra dropdown we had) |
just about wrapped up here, just need to fix one file which had merge conflicts |
this is ready for review @allroundexperts @eh2077 |
@allroundexperts final fix applied here. lemme know what you think |
@allroundexperts pinging for final check |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-08-26.at.3.00.22.AM.movAndroid: mWeb ChromeScreen.Recording.2024-08-26.at.2.59.48.AM.moviOS: NativeScreen.Recording.2024-08-26.at.2.58.24.AM.moviOS: mWeb SafariScreen.Recording.2024-08-26.at.2.57.57.AM.movMacOS: Chrome / SafariScreen.Recording.2024-08-26.at.2.52.27.AM.movMacOS: DesktopScreen.Recording.2024-08-26.at.2.55.12.AM.mov |
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!
✋ 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/bondydaa in version: 9.0.25-0 🚀
|
1 similar comment
🚀 Deployed to staging by https://github.com/bondydaa in version: 9.0.25-0 🚀
|
@allroundexperts any ideas here? i'm testing now but curious if you had any thoughts. definitely doesn't make any sense to me, didn't touch styling here. First thought are somehow using a different component that works differently in ios...? |
Confused because nothing was added.. only removed.. |
iouPaymentType === CONST.PAYMENT_METHODS.BUSINESS_BANK_ACCOUNT || | ||
iouPaymentType === CONST.PAYMENT_METHODS.PERSONAL_BANK_ACCOUNT || | ||
iouPaymentType === CONST.PAYMENT_METHODS.DEBIT_CARD | ||
) { | ||
triggerKYCFlow(event, iouPaymentType); | ||
BankAccounts.setPersonalBankAccountContinueKYCOnSuccess(ROUTES.ENABLE_PAYMENTS); |
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 like this logic caused the following issue:
Because on unvalidated (gmail) accounts, when a user tries to Pay someone with Expensify, the RHP opens with this page cannot be found
screen because of this code from AddPersonalBankAccountPage
. We fixed by routing the user to verify their account before Pay with Expensify
in case it's unverified.
Details
Fixed Issues
$ #36301
PROPOSAL: #36301 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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