-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$500] IOU - Message doesn't contain description when Copy to clipboard on money request #37338
Comments
Job added to Upwork: https://www.upwork.com/jobs/~011e3619582ba70c09 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
We think that this bug might be related to #vip-vsb |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @AndrewGable ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Paid Message doesn't contain description when Copy to clipboard on money request What is the root cause of that problem?when the request is settled we dont copy the description as we do in other cases here Lines 4746 to 4749 in f1562e7
Lines 4734 to 4744 in f1562e7
What changes do you think we should make in order to solve the problem?we need to add the Line 618 in 5c19e7f
to acheive that we need to modify the code above to: if (isRequestSettled) {
return Localize.translateLocal('iou.payerSettled', {
amount: formattedAmount,
comment: transactionDetails?.comment ?? '',
});
}
if (isApproved) {
return Localize.translateLocal('iou.approvedAmount', {
amount: formattedAmount,
comment: transactionDetails?.comment ?? '',
});
} then modify these translations to payerSettled: ({amount, comment}: PayerSettledParams) => `paid ${amount} for ${comment}`,
approvedAmount: ({amount, comment}: ApprovedAmountParams) => `approved ${amount} for ${comment}`, and of course we need to modify their ts types. we can also do the same here |
@dukenv0307 @DylanDylann @srikarparsi - Is this a regression from #36993? |
I will check today |
@AndrewGable I don't think this is regression from #36993 |
IMO, this is not a bug. Let's see this case: Screen.Recording.2024-02-28.at.12.30.41.movWe have 2 requests with different descriptions. Then admin pays both requests. If we want to display a description in the paid message, which description should be displayed |
I tested by revert #36993 and the result is the same. |
@AndrewGable, @rushatgabhane Huh... This is 4 days overdue. Who can take care of this? |
Triggered auto assignment to @isabelastisser ( |
@isabelastisser - Can you confirm this is not a bug as proposed by @DylanDylann? I agree with them |
I agree this is not a bug. Closing! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.44-0
Reproducible in staging?: y
Reproducible in production?: n
Issue found when executing PR: #36993
Issue reported by: Applause - Internal eam
Action Performed:
Expected Result:
Pasted message should contains the description
Actual Result:
Pasted message doesn't contain description when Copy to clipboard on money request preview
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6394459_1709058859174.Recording__2367.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: