Open m-natarajan opened 1 month ago
Triggered auto assignment to @abekkala (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989
Job added to Upwork: https://www.upwork.com/jobs/~019a0260959ff3670f
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh (External
)
@abekkala Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Approver sees "mark as cash" instead of "approve" button when a receipt and card transaction matched
This happened due to the wrong react-compiler
optimization happened here.
Since the function depends on the transactionViolations_
collection, and whenever the collection Money Report Header never re-renders due to react-compiler
optimization.
Fix this function by taking a dependency of the transactionViolations_
collection by modifying the function to take this as an argument.
This might be BE issue as approver might be getting this violation for some reason.
Is there any way to reproduce this issue with "card transaction"? I couldn't reproduce this issue with a normal receipt
https://github.com/user-attachments/assets/665c90ab-a502-45d4-b80f-34233ee883af
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@hoangzinh it'll only happen with card transactions unfortunately. So if you don't have the ability to import one you'll need to fake it somehow.
Actual Result: When opened the report as the approver, I see the "mark as cash" button
Hi @puneetlath just want to confirm, does it still show the "Mark as cash" button when approver re-open/refresh the transaction report?
@hoangzinh @abekkala this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
@hoangzinh, @abekkala Whoops! This issue is 2 days overdue. Let's get this updated quick!
Hi @puneetlath just want to confirm, does it still show the "Mark as cash" button when approver re-open/refresh the transaction report?
No, only on the initial load. If I leave and go back it shows "approve".
Quick updates: I'm still trying to reproduce this issue on my local.
Hi @puneetlath are you able to share the onyxData of OpenReport
API in the 1st time you load the report, also when you leave and go back (or at least transactionViolations_
and transactions_
collection)? I'm trying to find a way to add personal cards but I can't fake it. Found a feature request here but we need to wait.
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@hoangzinh, @abekkala Eep! 4 days overdue now. Issues have feelings too...
Not overdue. Asking help in Slack https://expensify.slack.com/archives/C02NK2DQWUX/p1724811067380789
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
Nope, just waiting a way to reproduce this bug in above Slack thread
@hoangzinh @abekkala this issue is now 4 weeks old, please consider:
Thanks!
Not overdue, same as above
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@hoangzinh have you been able to reproduce this? Or is this still being discussed on the tracking GH that Matt has created
Not yet @abekkala. Let me ask Matt again about that internal GH issue.
@hoangzinh, @abekkala Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Not overdue, same as above
Mark as cash was a feature built in #wave-control, moving it over to that project.
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
Hi, @abekkala should we mark this issue hold on https://github.com/Expensify/Expensify/issues/423994? I think we need to wait for Matt to find out how to test card transaction issues in NewDot.
@hoangzinh, @abekkala Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Same as above
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: Reproducible in staging?: Needs Reproduction Reproducible in production?: Needs Reproduction 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: @puneetlath Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1722867613044099
Action Performed:
Expected Result:
Report displayed with
Approve
buttonActual Result:
When opened the report as the approver, I see the "mark as cash" button
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @hoangzinh