-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Payment Due 09/16] [$250] Dupe detection - Merchant field shows (none) instead of blank when (none) is selected #46998
Comments
Triggered auto assignment to @dylanexpensify ( |
We think that this bug might be related to #wave-collect - Release 1 |
@dylanexpensify 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 2023-10-11T18:10:00Z. ProposalPlease re-state the problem that we are trying to solve in this issue.Dupe detection - Merchant field shows (none) instead of blank when (none) is selected What is the root cause of that problem?In App/src/pages/TransactionDuplicate/ReviewMerchant.tsx Lines 25 to 26 in 6a6c242
What changes do you think we should make in order to solve the problem?Update the condition to: const options = useMemo(
() =>
compareResult.change.merchant?.map((merchant) =>
!merchant || merchant === CONST.TRANSACTION.PARTIAL_TRANSACTION_MERCHANT
? {text: translate('violations.none'), value: ''}
: {
text: merchant,
value: merchant,
},
),
[compareResult.change.merchant, translate],
); What alternative solutions did you explore? (Optional)Update the
To: title={(updatedTransaction?.modifiedMerchant === CONST.TRANSACTION.PARTIAL_TRANSACTION_MERCHANT ? '' : updatedTransaction?.modifiedMerchant) ?? merchantTitle} This is the same way we show empty merchant for a transaction when merchant is
|
I believe we need to have something in for merchant, otherwise an error is thrown, so this isn't a bug |
@dylanexpensify, merchant is only required in workspace chats, direct request to any user can be made without merchant so this is a valid bug. In the video below you can see that the merchant field is empty after creating the request, '(none)' is not shown. @parasharrajat, I believe you have worked on this feature, can you please confirm this? 🙏🏻 Monosnap.screencast.2024-08-13.14-40-38.mp4 |
Ah, good catch @Krishna2323 |
Looks like a valid bug to me as well. |
Job added to Upwork: https://www.upwork.com/jobs/~0194455fbb3684c1f1 |
Forgot to hit external. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
@eVoloshchak, @dylanexpensify Eep! 4 days overdue now. Issues have feelings too... |
@eVoloshchak, friendly bump for review. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@Krishna2323's proposal LGTM, both solutions are equivalent, I think we should proceed with the main one (update condition in ReviewMerchant.tsx) 🎀👀🎀 C+ reviewed! |
Triggered auto assignment to @Beamanator, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@Beamanator @eVoloshchak @dylanexpensify 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! |
📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@eVoloshchak PR ready for review ^ |
@eVoloshchak, friendly bump for the review :) |
pending deploy and regression |
This issue has not been updated in over 15 days. @Beamanator, @eVoloshchak, @dylanexpensify, @Krishna2323 eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@Beamanator @eVoloshchak, there hasn't been any update from Melvin about the staging/production deployment, but I believe it's already deployed and has passed the regression period. I'm not completely sure though, could you please check? 🙏🏻 |
Ooh yep i see your code in prod -
|
cc @dylanexpensify - looks like payment is due here - there was an automation problem 😓 |
Payment summary: Contributor: @Krishna2323 $250 via Upwork Please apply/request! |
@Beamanator, @eVoloshchak, @dylanexpensify, @Krishna2323 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Done |
$250 approved for @eVoloshchak |
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: v9.0.17-1
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): applausetester+kh050806@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Merchant field should be empty since none is selected.
Actual Result:
Merchant field shows (none) when (none) is selected, while Description field is empty when None is selected.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6564736_1723051455589.20240808_011943.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @eVoloshchakThe text was updated successfully, but these errors were encountered: