Send an invoice from an invoice room#41902
Conversation
|
NOTE: there is a known issue which makes an invoice disappear right after creation |
|
@dannymcclain Thank you, done! |
|
Good catch Danny, I agree with that one. |
|
@akinwale when can you take a look at this PR? |
I'll review today. |
|
@VickyStash Please fix merge conflicts. |
# Conflicts: # src/components/MoneyRequestConfirmationList.tsx
|
@akinwale Done |
|
@VickyStash There's another merge conflict that needs to be fixed. I've finished testing and will post the checklist within the next few hours. |
# Conflicts: # src/libs/ReportUtils.ts # src/libs/actions/IOU.ts
|
@akinwale conflicts are resolved 🙂 |
dannymcclain
left a comment
There was a problem hiding this comment.
The compose menu is looking good, and overall this is working well.
One odd thing I found is that when I go to create an invoice from the compose menu, on the creation screen, in the To field, both avatars are hoverable and if I click on the row, the room details open.
CleanShot.2024-05-14.at.09.54.26.mp4
I would expect that row to be completely non-interactive, like the From row is. So no ability to hover over the avatars, no hover state on the row, and no details pane when I click. cc @Expensify/design for a gut check on that though. It just feels a little odd how it is right now?
We have the same behaviour if user EXAMPLE.mp4But I'm okay to disable it for invoices if needed 👌 |
|
Ah ok thanks. If that's how it works for submitting expenses on a workspace let's not mess with that behavior here. It would be better to have an issue specifically to address that behavior in all the different circumstances if we want to change it. I personally don't really think we need to deal with it right this second though. |
dannymcclain
left a comment
There was a problem hiding this comment.
Design-wise this looks good. Should definitely still get a solid engineering review though.
|
That's a great observation Danny - I agree with where you all landed. I think it's worth having a quick Slack conversation about that behavior, I agree it does feel a bit odd to be able to navigate to the workspace details from here. |
|
@akinwale kind bump :) |
Reviewer Checklist
Screenshots/VideosAndroid: NativeiOS: NativeMacOS: Chrome / Safari41902-web.mp441902-web-receiver.mp4 |
|
✋ 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/cristipaval in version: 1.4.74-0 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.74-6 🚀
|






Details
The PR enables an invoice sending from an invoice room.
Fixed Issues
$ #41878
PROPOSAL: N/A
Tests
Offline tests
Same as in the Tests section
QA Steps
Same as in the Tests section
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
android1.mp4
Android: mWeb Chrome
android_web1.mp4
iOS: Native
ios1.mp4
iOS: mWeb Safari
ios_web1.mp4
MacOS: Chrome / Safari
web1.mp4
MacOS: Desktop
desktop1.mp4