-
Notifications
You must be signed in to change notification settings - Fork 3k
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
GBR and Settlement button for the receiver on the invoice report preview #41859
Conversation
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.
In general, looks good!
@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] |
Let us know when there are screenshots to review, thanks! |
Let me know whether my C+ review is actually needed here and if so, some testing steps would be helpful. |
@shawnborton Updated |
cc @davidcardoza @danielrvidal - can you check the screenshots in the original comment and let us know if they look good to you too? This looks different from what we have in the doc, where we use the split button (drop down). Any reason why we wouldn't do that here too? I would think we'd use the split button but only have one option (pay as an individual). cc @cristipaval for thoughts. |
The dropdown appears when we have more than 1 options to pay |
@cristipaval Updated, deleted Business and Personal types and made payment method as elsewhere |
|
@davidcardoza Hello! |
@shawnborton I'm not really sure if we should update the button to be split in this PR, because:
But I'm okay to do the updates in this ticket if you think it's better, just let me know |
Those are totally valid points, I would be down to wait for the reasons you mentioned. Thoughts on that @davidcardoza? The tldr; Is that I suggested using the split button here, but we think we should wait for the invoice payments project for that. |
# Conflicts: # src/components/PopoverMenu.tsx
Since the back item is rendering as a
w1.mp4 |
That feels really good to me! For the mobile version, are we accunting for any kind of SafeArea padding we might need? Just wondering because it does seem like the last optionRow/button in the menu is kinda close to the home bar. Thoughts on that? |
@shawnborton it looks like the additional padding exists:
|
Ah okay cool, I think we're all set then - but thank you for confirming! |
@ikevin127 Could you please take a look at the PR? |
Re-testing on all platforms, will return with videos soon! |
Thanks a lot! |
Caution Everything looks good (see videos below), except there's one keyboard-related UX issue on all web based platforms: The 2nd popup screen's [ < Individual ] go back button is not keyboard accessible (missing tab index ?). Therefore the user won't be able to go back to the popup's 1st page once they entered the 2nd page where the [ < Individual ] go back button is present. The only thing the user can do with keyboard on the 2nd menu is to either Esc (close the popup) or Enter select one of the options under the [ < Individual ] go back button, which would also close the popup and perform the selected option action.
cc @VickyStash Screenshots/VideosAndroid: Nativeandroid.webmAndroid: mWeb Chromeandroid-mweb.webmiOS: Nativeios.mp4iOS: mWeb Safariios-mweb.mp4MacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
@ikevin127 The keyboard-focus issue you described is related to
popover.mp4So should it be resolved in this PR, or can a separate ticket be created? |
I think a separate PR should be fine |
Cool, then I ✅ Approve once again! |
# Conflicts: # src/components/Icon/Expensicons.ts # src/components/PopoverMenu.tsx
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
This PR is failing because of issue #43145 336992914-53fc3d1f-3341-4e76-93a5-3be9c9238390.mp4 |
From issue #43145:
I'm wondering:
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.79-11 🚀
|
Those are different pay flows. The invoice payment flow is its own isolated payment flow, separate from the IOU payment flow you referenced. |
Details
GBR and Settlement button for the receiver on the invoice report preview
Fixed Issues
$ #40437
PROPOSAL: N/A
Tests
Designs:
Offline tests
Same as tests
QA Steps
None
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)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Web
FOCUSED: