-
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 2024-09-25] [$125] [Search v2.1] Open reports show __fake__ in To column #48582
Comments
Triggered auto assignment to @bfitzexpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~021831386678971022108 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Upwork job price has been updated to $125 |
Edited by proposal-police: This proposal was edited at 2024-09-04 17:51:18 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.[Search v2.1] Open reports show fake in To column What is the root cause of that problem?We just simply render the display name. App/src/components/SelectionList/Search/TransactionListItemRow.tsx Lines 391 to 396 in dc1407a
What changes do you think we should make in order to solve the problem?We should pass empty string when <UserInfoCell
participant={item.to}
displayName={item.formattedTo === CONST.REPORT.OWNER_EMAIL_FAKE ? '' : item.formattedTo}
/>
What alternative solutions did you explore? (Optional)Result |
📣 @ikevin127 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Edited by proposal-police: This proposal was edited at 2024-09-04 19:01:45 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Open reports show fake in To column What is the root cause of that problem?We don't filter FAKE before displaying What changes do you think we should make in order to solve the problem?Here we can check if Line 64 in dc1407a
Pseudocode
We can do the same for any other field if required. In case if we decided to remove only
Or we can do something like this (Pseudocode). We will not show
What alternative solutions did you explore? (Optional)If we also want to check for
|
@luacmartins Should we have one of the Contributors work on this based on proposals or will this be handled by a Contractor as most of the Search v2.1 issues ? |
@ikevin127 yes, we can open this to other contributors |
Edit: Expected result changed in #48582 (comment). |
Current assignee @luacmartins is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
Hmm we shouldn't render the avatar either. I think if item.managerID = 0 we should just avoid rendering the UserInfoCell data |
@ikevin127 Thank you for the review, Don't you think fixing it in the |
@luacmartins What do you think, should we strictly avoid rendering the UserInfoCell data where this component is located as mentioned in proposal 1 or do this from Either way, both proposals need to be updated to comply with:
and early return instead when |
@ikevin127 Can you tell me the steps to reproduce where managerID will be 0? |
Triggered auto assignment to @greg-schroeder ( |
♻️ Will review the updates in ~12h, starting with @Nodebrute since they were first to update according to the new expected result. |
@luacmartins Unfortunately I am not able to reproduce the Given this, to even begin to have proper proposals I think we first need to be able to reproduce the issue since without that I don't know the conditions in which the I think there's two ways to to get this issue fixed:
|
What do you think on the above @luacmartins? |
@ikevin127 I think the steps below might reproduce the issue:
|
@luacmartins Unfortunately I cannot reproduce, when I follow the steps you provided - the transaction I get in ND does have a |
@ikevin127 hmm it seems like the report in the OP had a pending card transaction, maybe that could be related. I'll try to reproduce this on my end and report back. |
Are we still accepting proposals from contributors? If not I can work on this if you assign me. |
All yours @Kicu! |
PR merged! Awaiting deploy to staging -> prod |
|
Updated |
@bfitzexpensify gonna leave this one back in your capable hands now that you're back - should be set to go for 9/25! |
Offer sent @ikevin127 |
@bfitzexpensify Accepted, thank you! |
Problem
Coming from here, open reports show
__Fake__
in theTo
column because they don't have a managerID.Solution
We should just display an empty column in that case.
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @bfitzexpensifyThe text was updated successfully, but these errors were encountered: