-
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
Add Pay as Business option for invoices sent to any individual #47862
Add Pay as Business option for invoices sent to any individual #47862
Conversation
# Conflicts: # src/libs/actions/IOU.ts
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-app-2024-08-29_14.33.44.mp4Android: mWeb Chromeandroid-chrome-2024-08-29_14.37.44.mp4iOS: Nativeios-app-2024-08-29_17.02.51.mp4iOS: mWeb Safariios-safari-2024-08-29_14.58.55.mp4MacOS: Chrome / Safaridesktop-chrome-2024-08-29_10.38.40.mp4MacOS: DesktopNo workspaces: desktop-app-2024-08-29_14.22.47.mp4Existing non-admin workspace: desktop-app-2024-08-29_14.26.55.mp4 |
This comment was marked as off-topic.
This comment was marked as off-topic.
Ah looks like this is happening on staging too. @VickyStash Do you think this can be handled here or is it better off in a followup? |
I'm also seeing this error |
@VickyStash Oh yes, good catch! I'll report it there. |
desktop-chrome-2024-08-29_10.38.40.mp4 |
@jjcoffee nice catch! No report with the ID like this, and I've looked through all of the reports and there is no |
This comment was marked as resolved.
This comment was marked as resolved.
User B should be the admin of the primary (active) workspace. Only in this case the new workspace won't be created. |
Ahh thanks for the clarification! I hadn't made any changes in oldDot so that explains why this happened (I sort of assumed that the new workspace would automatically become the primary one). |
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.
# Conflicts: # src/components/SettlementButton.tsx
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.
Re-approving so that @MariaHCD gets added as a reviewer (hopefully!).
# Conflicts: # src/libs/actions/IOU.ts
There is a new BE issue, announce chat isn't creating anymore by bug1.mp4@MariaHCD Could you help us with it? |
Looks like we don't create the announce chat unless there are at least 3 members in the policy:
I'm not super familiar with this project but do we know if the expected behavior is that the announce room must be created when an invoice is paid? |
I spoke with @madmax330 and looks this is a BE bug - created the internal issue here: https://github.com/Expensify/Expensify/issues/427525 But I don't think we need to block this PR on that? Is this feature under a beta? |
If the user pay the invoice as business, but he is not the admin of his active(primary) workspace, we create a new workspace where the user is an admin and make this workspace to be primary. I use
It looks like it's not just this PR problem, but overall the issue in the app, cause bug_example.mp4Steps:
|
Cool, looks like we're also handling that here: #34929 |
✋ 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 production by https://github.com/luacmartins in version: 9.0.33-4 🚀
|
@VickyStash so the conclusion for this was that we should stop creating the announce room optimistically. |
I think it will be removed here: https://github.com/Expensify/App/pull/48660/files |
Yes, it should be so |
Details
Add Pay as Business option for invoices sent to any individual
Fixed Issues
$ #41974
PROPOSAL: N/A
Tests
Offline tests
Same as in the Tests section.
QA Steps
Same as in the Tests section.
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.mp4
Android: mWeb Chrome
android_web.mp4
iOS: Native
ios1.mp4
iOS: mWeb Safari
ios_web1.mp4
MacOS: Chrome / Safari
web1.mp4
MacOS: Desktop
desktop1.mp4