-
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
Create splitBill in the client #11597
Conversation
hmm I'm not sure what it may be, but I can still reproduce it. I see that the I just updated Web-Expensify and I'm using |
I debugged and investigated this more: #11597 (comment) . It seems like I have a problem in my env and testing accounts. The function in the API that is supposed to find the personal details is not finding them for any account. |
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.
Tested well for me
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.
LGTM, havent run into an issue when testing. @thesahindia Would you be able to retest agains staging? The PR will be off hold after tomorrows deploy
Same. Works well for me. Just a question. Shouldn't we remove the unselect feature when user splits the bill from the fab menu since the user selected those users in the previous step? Screen.Recording.2022-11-01.at.2.23.19.AM.mov |
I think this is fine, it's a way for the user to quickly edit the participants in the confirmation page if they want to. We could definitely change this if we wanted to, but I don't think that's in scope for this PR. |
Thanks for all the tests everyone! This was a tricky one! |
Removing the hold since Web-E PR is in staging and will likely make it to prod before this App PR makes it to prod. If that doesn't happen, we can CP the Web-E PR. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@luacmartins, sorry for the ping here but we don't have an issue for this. Can we open an issue for the C+ compensation? Also can we increase the compensation on this? (since it was a big PR and took time in testing) |
Just saw this thread. According to the new process: |
@thesahindia I started the process internally.
What compensation do you think is fair for this review? |
Thanks!
I believe $500 will be fair. |
https://github.com/Expensify/Expensify/issues/213664#issuecomment-1299324320 |
@thesahindia sent you the offer, thanks! |
@NicMendonca, accepted🚀 |
Nice! Thanks @NicMendonca! Are we good to close this issue? |
Yep, just paid! |
🚀 Deployed to staging by @luacmartins in version: 1.2.23-0 🚀
|
🚀 Deployed to production by @Julesssss in version: 1.2.23-9 🚀
|
This was merged a very long time ago, and at the time we didn't display the full Preview component for splits, so I don't think it's a true regression. I simply didn't add the 'add participants optimistically' when building the Bill Split preview. |
cc @mountiny @Gonals since you are familiar with the IOU changes
Details
Enables optimistic bill split functionality
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/213664
Tests
Pull changes from Auth and Web-E
Offline
+
, selectSplit bill
Split $X with <user1> and <user2>
(this should be greyed out)+ > Split bill
and send another split bill requestOnline
+ > Split bill
and go through the prompts selecting only ONE participant:Error
X
in the message should remove the chat.PR Author Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting 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)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
displayName
propertythis
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)QA Steps
Same as test steps.
Screenshots
Web
web.mov
Mobile Web - Chrome
chrome.mov
Mobile Web - Safari
safari.mov
Desktop
desktop.mov
iOS
ios.mov
Android
android.mov