-
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
[PAY 7/9] [$250] Expense - Unable to click Mark as cash button in expense report #47580
Comments
Triggered auto assignment to @bfitzexpensify ( |
We think that this bug might be related to #wave-collect - Release 2 |
@bfitzexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Edited by proposal-police: This proposal was edited at 2024-08-16 20:01:24 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Unable to click Mark as cash button in expense report What is the root cause of that problem?We are early retuning in markAsCash if App/src/components/MoneyReportHeader.tsx Lines 183 to 186 in d4d5a25
and in this case there two transactions in the report and transactionThreadReportID is undefined MoneyReportHeader
What changes do you think we should make in order to solve the problem?We should not display the button when App/src/components/MoneyReportHeader.tsx Lines 320 to 322 in d4d5a25
App/src/components/MoneyReportHeader.tsx Lines 368 to 370 in d4d5a25
or
and replace all What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Nothing happens when clicking on Mark as cash button in the expense report. What is the root cause of that problem?We do nothing if App/src/components/MoneyReportHeader.tsx Lines 184 to 186 in 62722e8
and it only exists when the report is the combined report App/src/components/MoneyReportHeader.tsx Lines 67 to 69 in 62722e8
What changes do you think we should make in order to solve the problem?We should not show the mask as cash button if the report is not the combine report. As the way we should this button in
OPTIONAL: we can replace App/src/components/MoneyReportHeader.tsx Line 110 in 62722e8
With this, we also reduce the violation of all transactions that aren't necessary since we only want to display this in the combine report What alternative solutions did you explore? (Optional)NA |
@bfitzexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~011e2e93352cb1e755 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mkhutornyi ( |
I think @FitseTLT's solution is enough to fix this bug. |
@mkhutornyi I think we should only pass the |
@nkdengineer ok, so your proposed solution is more like optimization beyond the scope of this issue, isn't it? |
@mkhutornyi It's not beyond the scope of this issue, it's the simplest solution and optimization. It is also consistent with the way we show the mark as cash button in |
@nkdengineer's proposal looks good to me. |
Triggered auto assignment to @Julesssss, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @mkhutornyi 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@bfitzexpensify just noting this is a #wave-control feature, so moving it over to that project. (It also hit prod 3 days btw). |
Payments complete. Closing this out. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: v9.0.21-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp https://expensify.testrail.io/index.php?/tests/view/4865202
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Go to staging.new.expensify.com
Log in to [email protected]
Go to workspace chat.
Submit two same scan receipts that will match with card transaction.
Go to expense report after the scanning for both expenses is complete.
Click on Mark as cash button in expense report (not transaction thread).
Expected Result:
User should be able to click on Mark as cash button in the expense report.
Actual Result:
Nothing happens when clicking on Mark as cash button in the expense report.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6573957_1723828838949.20240817_011503.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mkhutornyiThe text was updated successfully, but these errors were encountered: