-
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
Send optimistic transactionThreadReportID and createdReportActionIDForThread with API commands RequestMoney, CreateDistanceRequest, CompleteSplitBill, SendMoney #31411
Comments
@cdanwards can you comment here so I can assign you? |
Commenting for Assignment |
@cdanwards Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@cdanwards Eep! 4 days overdue now. Issues have feelings too... |
No update. |
@cdanwards Huh... This is 4 days overdue. Who can take care of this? |
Next in line for work |
Beginning work on this |
@cdanwards Eep! 4 days overdue now. Issues have feelings too... |
@cdanwards Eep! 4 days overdue now. Issues have feelings too... |
Getting ready for PR |
@cead22 @cdanwards can we assume these changes will fix the following issue? Screen.Recording.2023-12-06.at.17.24.40-compressed.mp4 |
Yes, we're in the process of updating the RequestMoney end point to accept and use the new parameters transactionThreadReportID and createdReportActionIDForThread |
@cead22 I've been having some issues with the tests for IOU while implementing this. I made an assumption that we'd also need to pass both function buildOnyxDataForMoneyRequest(
...
transactionThread,
transactionThreadReportAction,
) {
const optimisticData = [
...
{
onyxMethod: Onyx.METHOD.SET,
key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${transactionThread.reportID}`,
value: {
[transactionThreadReportAction.reportActionID]: transactionThreadReportAction,
},
},
... And then update the necessary success and failure data. So a few questions:
|
Started a thread on slack to discuss in real time https://expensify.slack.com/archives/C01GTK53T8Q/p1702070081420789 |
@cdanwards Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Was prioritizing some other issues but this is next to finish |
@cead22 @cdanwards and I had a question about this part:
We're creating multiple transaction threads for splits in a loop, but we only send one
edit; I think the same would apply for |
@lindboe, @cdanwards Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Working on finalizing and getting up a PR! |
Triggered auto assignment to @johncschuster ( |
@johncschuster please issue payment to C+ @situchan for PR review. Thanks! |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
@cead22 it looks like this issue was linked to a deploy blocker. Has that been resolved, or do I need to wait on issuing payment? |
This issue was mentioned here which made Melvin post above message. Not regression. |
Payment Summary: Contributor: @cdanwards - Contractor |
Paid! |
Triggered auto assignment to @cead22 , see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. |
📣 @BiswaJK! 📣
|
ReportUtils.buildTransactionThread
// TODO add logic to create transaction thread for each DM between split participants
buildOnyxDataForMoneyRequest
insidecompleteSplitBill
like we do ingetMoneyRequestInformation
optimisticCreatedAction.reportID
as the last param to thebuildOnyxDataForMoneyRequest
calltransactionThreadReportID: transactionThread.reportID
andcreatedReportActionIDForThread: optimisticCreatedAction.reportActionID
to the params object we pass toAPI.write(‘CompleteSplitBill’, {params})
The text was updated successfully, but these errors were encountered: