-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Report Creation UI] Expense - No expense report preview when open report is empty #59702
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 @lydiabarclay ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.When a user creates a new expense report in the Expensify app but hasn't added any transactions yet, the Money Request Report Preview component displays an empty state without any visual feedback or guidance. This creates a confusing user experience as users may not understand whether the component is working correctly or if they need to take additional actions. Currently, the rendering condition checks for What is the root cause of that problem?The root cause is in the What changes do you think we should make in order to solve the problem?
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional) |
@dannymcclain question: when we're adding a whole new design element here (as it seems to me, I could be wrong) - is it best practice to get design's opinion before pr? |
Job added to Upwork: https://www.upwork.com/jobs/~021909341283890063579 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @akinwale ( |
@lydiabarclay yeah always feel free to tag the design team: @Expensify/design and we'll check it out as soon as we can! |
@Expensify/design could y'all take a look at that new element proposal in the screenshots above? Ty! |
ProposalPlease re-state the problem that we are trying to solve in this issue.The open report with no expense does not have preview at all. It is displayed as an empty message. What is the root cause of that problem?We are not covering the case of no transaction in the App/src/pages/home/report/PureReportActionItem.tsx Lines 792 to 804 in 701a287
What changes do you think we should make in order to solve the problem?In case there is no expense then we will use `ReportPreview to render it by updating this condition
![]() 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. |
I thought we wanted the empty state to look like this? I'm sure @shawnborton knows the correct mock. |
Yeah, we're currently working on implementing the empty state, so we can probably close this one out. |
Internal Slack link here - we can follow along there I think for updates, as I don't think we have a PR up for it quite yet. |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Added it to the correct project and @sumo-slonik is working on that with dedicated c+ @sumo-slonik do you have an update about this one |
Draft PR is ready, I am now working on fixing minor bugs |
Thanks design team! I was thinking we probably already had this case covered but wasn't sure where it was at. |
Thank everyone, I'll close this one. |
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.23-6
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
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: Mac 15.3 / Chrome
App Component: Money Requests
Action Performed:
Precondition:
Log in to the Expensifail account; the account doesn't have a WS.
Expected Result:
The open report with no expense will have a preview.
Actual Result:
The open report with no expense does not have preview at all. It is displayed as an empty message.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6793622_1743870580534.20250406_002649.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @akinwaleThe text was updated successfully, but these errors were encountered: