Conversation
|
@hungvu193 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] |
|
🚧 @joekaufmanexpensify has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
Can you share the whole screenshot there? I agree, we might want a max-height but I would think the max-height kicks in if we think the popover will exceed the screen limits - seems like maybe this one wouldn't? Also, I wonder if we should use the workspace avatar for the workspace rows? Otherwise the repetitive generic building icon doesn't really offer much help. |
|
I think it takes one more to kick in if not it's an issue. |
|
Okay, that's probably fine then. Curious what others think about showing the workspace avatar instead of a repeating building icon. Thoughts @joekaufmanexpensify ? |
|
Not against that. (But reserve the right to be against it if we implement it and looks like a bummer 😆) |
|
Same. Not super passionate either way. Though, it is probably not super likely that many will ever see a long list of workspaces here. Most people only have one workspace, and even if you have many, you only see this if you are moving IOUs to workspaces, which is itself not a super common flow for existing customers with lots of workspaces. |
…ardize-pay-button"
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.1.80-8 🚀
|


Explanation of Change
Standardize pay button for IOUs and Expenses
Fixed Issues
$ #61744
$ #55874
#55875
PROPOSAL:
Tests
Paying IOU for the first time - preview
Pay %amount%buttonPay with personal account, Pay with business account, Mark as paidPay with personal accountPay %amount%buttonPay with business accountis presentPay with business accountPay via %workspace name%optionPaid IOU before - preview
Paying expense report for the first time - preview
Steps
Pay with business accountandMark as paid.Paying expense report for the first time - held expense
Steps
Paid expense report before - preview
Steps
Test 65118:
Test 65118:
Test 65125
Paybutton.Test 65120
Precondition:
User B has paid an expense from User A at least once.
Paybutton is disabled.Offline tests
N/a
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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
Paying IOU for the first time - preview
Paid IOU before - preview
Paying expense report for the first time - preview
Paying expense report for the first time - held expense
Screen.Recording.2025-04-22.at.6.11.01.in.the.evening.mov
Paid expense report before - preview
MacOS: Desktop