Repository navigation
Use a distinct empty state illustration for Spend > Expenses - #99387
Conversation
Co-authored-by: Shawn Borton <shawnborton@users.noreply.github.com>
Co-authored-by: Shawn Borton <shawnborton@users.noreply.github.com>
|
🚧 shawnborton has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
Tests well. @MelvinBot please fill out the PR author checklist as best you can and mark this ready for review. |
|
🤖 Ran the testing steps on Android (standalone NewDot) — all three cases pass.
Spend > Expenses now shows a distinct illustration (rolled receipt + cash + gold coins) under "No expenses yet", while Spend > Reports keeps the original folder-with-papers-and-watch illustration under "No reports yet". No console errors observed. Spend > Expenses empty state with new receipt/cash/coins illustrationSpend > Reports empty state with original folder-with-papers-and-watch illustration |
|
🤖 Done — filled out the PR author checklist and marked this ready for review. What I checked off (only items I could genuinely verify for this static illustration change):
Left unchecked on purpose:
Please review the remaining human-owned items (Tests/QA and console-error confirmation) before merge. |
|
There's nothing to fix in code here — the only two failing checks both require a human, not a code change:
All other checks (tests, typecheck, ESLint, Compress SVG, Storybook, build, perf, etc.) are passing. No code push is needed. |
|
Status is unchanged from my previous comment — the only two failing checks still require a human, not a code push:
Everything else (tests, typecheck, ESLint, Compress SVG, Storybook, build, perf) is passing. No code change is needed here. |
| import BrokenMagnifyingGlass from '@assets/images/product-illustrations/broken-magnifying-glass.svg'; | ||
| import DjBoothReferenceHands from '@assets/images/product-illustrations/dj-booth-reference-hands.svg'; | ||
| import EarthWithControls from '@assets/images/product-illustrations/earth-with-controls.svg'; | ||
| import EmptyStateSearchExpenses from '@assets/images/product-illustrations/empty-state__expenses.svg'; |
There was a problem hiding this comment.
@MelvinBot Rename empty-state__expenses.svg to emptystate__searchexpenses.svg
There was a problem hiding this comment.
Done ✅ — renamed empty-state__expenses.svg → emptystate__searchexpenses.svg and updated the import in illustrations.chunk.ts (also repositioned the import to keep the group sorted by path). The SVG content is unchanged (100% pure rename, so the Compress SVG check stays green). lint and typecheck pass. Pushed to the branch.
|
I can only make code changes when directed by the PR author, an assignee, or an existing co-author. To have me implement this, the PR assignee or author should reply with a request tagging me. |
|
Still nothing to fix in code — all three failing checks require a human action, not a code change:
Every functional check (tests, typecheck, ESLint, Compress SVG, Storybook, build, perf) is passing, so there's no code push for me to make here. |
@shawnborton Could you please assign me to this PR? After that, I can request changes on this one. |
This comment was marked as outdated.
This comment was marked as outdated.
…r review Co-authored-by: Shawn Borton <shawnborton@users.noreply.github.com>
|
Still nothing to fix in code — the two failing checks both require a human reviewer, not a code change:
The rest of the test/build/lint suite is re-running now (pending) and was green on the prior run. No push is needed from me; this clears once a reviewer approves and fills out their checklist. |
|
Still nothing to fix in code — the two remaining failing checks are both human reviewer steps, not code:
The author checklist that was failing earlier is now passing. All automated checks (tests, typecheck, ESLint, Compress SVG, Storybook, build, perf, etc.) are green. No code push is needed — this just needs a reviewer to review, complete their checklist, and approve. |
Reviewer Checklist
Screenshots/Videos |
@shawnborton Please ask MelvinBot to add the QA steps above to its checklist. |
|
@MelvinBot review comment above, please add QA steps |
|
🤖 Added QA steps to the PR body, based on the empty-state illustration change:
|
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #99386 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Nice, great change!
|
The only failing check is It failed because 2 of the 38 items in the PR Author Checklist section are still unchecked (run log: "You completed 36 out of 38 checklist items"). These are human-verification items, so I can't tick them on your behalf. The two remaining boxes are:
Once you check those two boxes in the PR description (and add the Every other check on the PR is green. |
|
Checklist should be good now. |
|
🚧 Julesssss has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/Julesssss in version: 9.4.62-1 🚀
|
Help site review — no changes requiredI reviewed the changes in this PR against the help site files under Conclusion: No help site changes are required, so I did not open a draft PR. Why: This is a purely visual change — it adds a distinct empty-state illustration (
The help site does not describe or embed the specific empty-state illustration graphics for the Search/Spend views, so there is nothing to update. (The articles that mention "empty state" — @shawnborton, since this is a visual-only change with no user-facing behavior or copy impact, no help site PR was created. Please confirm you agree no docs update is needed — if you'd like an article change anyway, let me know and I'll open one. |
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.4.62-4 🚀
Bundle Size Analysis (Sentry): |







Explanation of Change
Spend > Expenses and Spend > Reports both used the same
FolderWithPapersAndWatchempty-state illustration, which made the two pages feel monotonous for new users. This adds a distinct illustration for the Spend > Expenses empty state.assets/images/product-illustrations/empty-state__expenses.svg(same0 0 184 112dimensions as the existing folder illustration), provided byshawnborton.EmptyStateSearchExpenses.expensesvariant fromuseSearchEmptyStateIllustration(reusing the existingemptyStateFolderStaticIllustrationsizing since dimensions match).EXPENSE"no expenses yet" empty state (emptyExpenseResults) inEmptySearchView, so Spend > Reports keeps the folder illustration and only Spend > Expenses changes.Fixed Issues
$ #99386
PROPOSAL: #99386 (comment)
Tests
// TODO: The human co-author must fill out the tests you ran before marking this PR as "ready for review".
// Please describe what tests you performed that validate your change worked.
Offline tests
N/A — static illustration change only.
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari