[Home Page] Design Followup for Recently Added Slot#95056
Conversation
Position the receipt preview beside the hovered thumbnail instead of a fixed corner, standardize card header menus with WidgetHeaderMenu, and extract shared style values into variables.
|
@dannymcclain @ZhenjaHorbach One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 96b1b878ec
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@adamgrzybowski the receipt preview is looking really good (side note: how do I get that red car?!? I love ittttttt) For the more button, is there any way to make the space on the right side of the button the same as the top? TBH this is not that big of a deal, because I actually think it looks pretty good as is, but it would be extra good if they were equal :) cc @shawnborton too! |
|
Receipt placement looks good! Agree with Danny's comment about the icon button. |
…, fix button spacing - Cap the receipt preview's bottom to the viewport so a row scrolled partially off the bottom keeps the preview fully on-screen - Rename WidgetHeaderMenu/index.tsx to WidgetHeaderMenu.tsx (CONSISTENCY-9) and drop the unused WidgetHeaderMenuProps export (knip) - Add a negative right margin so the header menu icon's right spacing matches its top spacing
@dannymcclain something like this? Haha, you could buy it in Poland for $100 when I was a kid 😄 Now the price is only growing
|
|
Button placement looks great 👍 🥹 Look at how cute he is 🚗 |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp2026-07-02.11.28.40.movAndroid: mWeb Chrome2026-07-02.11.27.01.moviOS: HybridApp2026-07-02.11.28.40.moviOS: mWeb Safari2026-07-02.11.27.01.movMacOS: Chrome / Safari2026-07-02.11.25.38.mov |
|
But overall changes look good |
|
🚧 JmillsExpensify has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
# Conflicts: # src/components/TransactionItemRow/DataCells/ReceiptCell.tsx # src/components/TransactionItemRow/ReceiptPreview/index.tsx # src/pages/home/RecentlyAddedSection/index.tsx # src/pages/home/SpendOverTimeSection/SpendOverTimeSectionContent.tsx
JmillsExpensify
left a comment
There was a problem hiding this comment.
All looks good to me!
|
@adamgrzybowski |
|
Let's merge this PR to avoid conflicts @grgia |
Reuse ThreeDotsMenu (with shouldSelfPosition) so widget header menus get the shared More tooltip and resize-aware popover positioning. Add opt-in props to ThreeDotsMenu for the ghost-button look: iconWidth/iconHeight, iconHoverStyle, shouldChangeFillOnOpen, and testID.
Stabilize the usePopoverPosition mock reference so ThreeDotsMenu's layout effect doesn't loop infinitely once the popover opens.
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 grgia has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/grgia in version: 9.4.28-0 🚀
|
|
🤖 Help site review: no changes required. I reviewed the changes in this PR against the help site content under
None of these introduce, remove, or alter any documented product feature, setting, tab, or flow. There are no help articles describing the receipt hover-preview positioning or the home widget header menu, so no draft PR was created. If you believe a specific article should be updated, let me know which one and I'll take another look. |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.4.28-2 🚀
Bundle Size Analysis (Sentry): |
|
@shawnborton I will fix that |
|
Hmm, this is from the main. Are you still able to reproduce this problem? Also, are you sure that this comes from this PR? |
|
Hmm I am seeing it still on staging. Maybe it doesn't come from this PR? I can file a separate bug report and we can investigate from there. |
|
@shawnborton tag me in the new issue, maybe I will have some additional context. I am currently looking into related code |





Explanation of Change
WidgetHeaderMenu(Medium Ghost three-dots button + popover) so every widget header keeps a consistent height and behavior.variablesand added unit tests for the preview positioning logic.Fixed Issues
$ #94159
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)Avatar, 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
Screen.Recording.2026-07-01.at.16.02.20.mp4