-
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
[HOLD for payment 2023-11-13] [$500] IOU - Copy to clipboard paid IOU in IOU page, instead of paid text requested text shown #29878
Comments
Triggered auto assignment to @MitchExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Copy to clipboard paid IOU in IOU page, instead of paid text requested text shown What is the root cause of that problem?if Lines 3911 to 3915 in 229cb5d
What changes do you think we should make in order to solve the problem?For this case we should check if the request is paid or not we will return the display message accordingly
For the case the request is paid, we can create a new translation key to display more information about the request i.e. Lines 3911 to 3915 in 229cb5d
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue."Request" message is being shown instead of "paid" message when copying from the iou preview component. What is the root cause of that problem?The root cause of this issue is here: App/src/pages/home/report/ContextMenu/BaseReportActionContextMenu.js Lines 57 to 62 in 69ad7bd
Things work perfectly fine for What changes do you think we should make in order to solve the problem?I just identified the root cause and wanted to bring forth my discoveries for what its worth. Still didn't know why it is not getting the latest reportAction props. What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~01ee91e1d5782ad7bf |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
Will get to this one asap. |
It looks like we're just using the requested message here regardless of if the request is settled or not, so @dukenv0307's proposal looks like the way to go here. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @MonilBhavsar, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Looks good to me too. |
@Ollyws The PR is ready for review Please check this video for more information chrome_issue-resize.movI had to use the old logic so that I could copy the text |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.95-9 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-11-13. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Payment summary: $500 @Ollyws requires payment |
Invited you both to the Upwork, job @dukenv0307 @Ollyws - Lemme know when you accept to issue payment 🙇 |
@MitchExpensify accepted, thank you! |
BugZero Checklist:
I don't think we can really call this a regression from any PR as the we never had copy functionality for the IOU preview before #24630 was implemented, which unearthed this issue.
N/A
N/A
I don't think a regression test would be helpful for this one as it's not very impactful nor does it affect the flow in any significant way. |
Paid and contracts ended, thanks everyone! |
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.3.86-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
When user copy to clipboard paid IOU in IOU page, paid "Brand new paid $0.04 elsewhere" text must be shown
Actual Result:
When user copy to clipboard paid IOU in IOU page, instead of this paid "Brand new paid $0.04 elsewhere" text requested text "requested ₹3.00" is shown
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
Bug6241908_1697642942787.clip.mp4
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: