-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-06-05] [$250] Expense Reports - Arrow is shown next to submitter on the empty report when receiver is empty #62551
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
Comments
Triggered auto assignment to @zanyrenney ( |
Triggered auto assignment to @Gonals ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
🚨 Edited by proposal-police: This proposal was edited at 2025-05-22 06:32:27 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Expense Reports - Arrow is shown next to submitter on the empty report when receiver is empty What is the root cause of that problem?We are rendering the arrow icon even when What changes do you think we should make in order to solve the problem?We can check whether {shouldDisplayArrowIcon && shouldShowToRecipient && !!participantTo.accountID && !!isCorrectSearchUserName(participantToDisplayName) && (
<Icon
src={Expensicons.ArrowRightLong}
width={variables.iconSizeXXSmall}
height={variables.iconSizeXXSmall}
fill={theme.icon}
/>
)} What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)Or we can check every case here. We can check the const showArrowComponent = (reportItem.type === CONST.REPORT.TYPE.IOU && thereIsFromAndTo) || (reportItem.type === CONST.REPORT.TYPE.EXPENSE && !!reportItem?.from);
const shouldShowToRecipient = useMemo(
() => thereIsFromAndTo && reportItem?.from?.accountID !== reportItem?.to?.accountID,
[thereIsFromAndTo, reportItem?.from?.accountID, reportItem?.to?.accountID],
); |
This proposal screenshot. |
Job added to Upwork: https://www.upwork.com/jobs/~021925529871486693749 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 ( |
I don't think we need to block on this |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is an arrow icon next to the submitter on the empty report when receiver is empty. What is the root cause of that problem?The arrow icon is shown if
App/src/components/SelectionList/Search/ReportListItemHeader.tsx Lines 184 to 187 in 31336b4
What changes do you think we should make in order to solve the problem?We should update the condition to show the
App/src/components/SelectionList/Search/ReportListItemHeader.tsx Lines 184 to 187 in 31336b4
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)NA Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Nice, @ishpaul777 |
@zanyrenney The offending PR is #62288 which was just deployed to staging ~14h ago, meaning the author @linhvovan29546 will open a follow-up PR since one was already expected, the PR is expected to fix this issue as well once merged. I'll take over as C+ here since the regression is on us 👍 |
📣 @ikevin127 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@linhvovan29546 can you comment please |
Hi, sorry everyone I’ll follow up on this issue |
📣 @linhvovan29546 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
I can’t reproduce this on main or staging now. It looks like we’re hiding the empty report. @ikevin127 Are you able to reproduce it? |
Yes, I can consistently reproduce following OP steps with a private domain email (used https://temp-mail.org) on narrow layout devices / resizing web, since only on narrow we show the ![]() ♻ Reviewing the PR... |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.53-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-06-05. 🎊 For reference, here are some details about the assignees on this issue:
|
@ikevin127 @zanyrenney @ikevin127 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
@zanyrenney This issue can be closed as completed since it was a regression coming from this issue's PR, payment will be handled there. |
Uh oh!
There was an error while loading. Please reload this page.
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: 9.1.49-4
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: iPhone 15 Pro Max / iOS 18.4
App Component: Search
Action Performed:
Precondition:
Expected Result:
There will be no arrow icon next to the submitter on the empty report when receiver is empty.
Actual Result:
There is an arrow icon next to the submitter on the empty report when receiver is empty.
Workaround:
Unknown
Platforms:
Screenshots/Videos
1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @zanyrenneyThe text was updated successfully, but these errors were encountered: