-
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
[Awaiting Payment 22nd June] [$250] [Pending/Scanning] Card transactions show Cash
in the expense preview instead of Card
#42832
Comments
Triggered auto assignment to @trjExpensify ( |
PropsalPlease re-state the problem that we are trying to solve in this issuecard transactions show Cash in the expense preview What is the root cause of that problem?This is a feature request. We don't have any logic to show What changes do you thing we should make in order to solve the problem?We should add another check in App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Lines 139 to 143 in f26c9f5
We can do something like this
We should also check for other places where we want to show card instead of cash If we only want to use What alternative solutions did you explore?We can also do it like this here
|
Cash
in the expense previewCash
in the expense preview instead of Card
Cash
in the expense preview instead of Card
Cash
in the expense preview instead of Card
Job added to Upwork: https://www.upwork.com/jobs/~01fc32ffbea0b1bdc5 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Card transactions show Cash in the expense preview instead of Card. What is the root cause of that problem?We are missing card text implementation at below places: App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Line 140 in 0e369b9
App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Line 371 in 0e369b9
App/src/components/ReportActionItem/MoneyRequestView.tsx Lines 211 to 218 in 0e369b9
What changes do you think we should make in order to solve the problem?Update this to below:
Check if we want to update this accessibility label to below:
If we want to update this, then we can use something like the below:
|
This looks like a new change. I believe we need to groom those issue first and add more details in OP. cc: @trjExpensify |
Oh hm, according to @kevinksullivan we'd implemented this one already with the original implementation, so this was a regression. Is that not the case? We show Expensify Card transactions in NewDot now, but the expense preview component reads
If we did this, it wouldn't be future proof for when we show third-party card transactions, so I think a isCardTransaction check is better than isExpensifyCardTransaction check personally. |
Ok. Thanks. @Nodebrute's proposal looks good to me. let's make sure we modify the related places as well. 🎀 👀 🎀 C+ reviewed |
Current assignee @grgia is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @Nodebrute 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR was deployed 5 days back on PROD. Not sure why the status was not updated here. |
@grgia The PR went into production on June 15th. The payment was due on June 22nd. Unfortunately, this issue missed the automatic payment date. Kindly issue the payment. |
Cash
in the expense preview instead of Card
Cash
in the expense preview instead of Card
Payment summary as follows:
Regression tests for the project will be added centrally. Closing! |
Payment requested as per #42832 (comment) |
$250 approved for @parasharrajat |
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.77-4
Reproducible in staging?: y
Reproducible in production?: y
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: @kevinksullivan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1717026809436129
Action Performed:
Expected Result:
The expense preview should say Card for card transactions.
Actual Result:
The card transactions show as Cash
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @parasharrajatThe text was updated successfully, but these errors were encountered: