-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[CP Staging] Hover Preview - follow ups #69337
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
[CP Staging] Hover Preview - follow ups #69337
Conversation
|
🚧 @mountiny 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, Desktop, and Web. Happy testing! 🧪🧪
|
|
Tested on adhoc and couldn't reproduce 403 error anymore Screen.Recording.2025-08-28.at.10.38.47.mov |
|
Additionaly the failing test in this PR is random Screen.Recording.2025-08-28.at.10.44.25.mov |
|
@borys3kk ok thanks can you make this PR ready for a review so we can merge the fix? |
|
@allroundexperts Can you please test the PR for the 403 error? |
5a3163a to
2a74866
Compare
|
Asked @allroundexperts for review |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppUnable to build android Android: mWeb ChromeScreen.Recording.2025-08-30.at.1.29.15.AM.moviOS: HybridAppScreen.Recording.2025-08-30.at.1.22.46.AM.moviOS: mWeb SafariScreen.Recording.2025-08-30.at.12.47.18.AM.movMacOS: Chrome / SafariScreen.Recording.2025-08-30.at.12.41.02.AM.movMacOS: DesktopScreen.Recording.2025-08-30.at.12.44.53.AM.mov |
allroundexperts
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Single comment. Looks good otherwise.
trjExpensify
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
I'd just like to point out that when there's no thumbnail, it means there's no preview shown on hover |
Agree 👍 |
|
Also agree on no popover on an empty state. |
|
To clear things up Screen.Recording.2025-09-01.at.14.14.22.movYou can see it on the recording above Does it look different in your dev env @allroundexperts |
|
Interesting yeah, it'll be good to get repro steps from @allroundexperts, because the blank popover doesn't look great. |
mountiny
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my understanding this should fix more things than the empty preview issue that is being discussed and other than @allroundexperts we could not reproduce so I will move this PR ahead but @allroundexperts please share your reproduction steps if you can still reproduce the blank preview issue
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…-error Hover Preview - follow ups (cherry picked from commit 06cc002) (cherry-picked to staging by mountiny)
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.2.0-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.2.0-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.0-5 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.2.1-0 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.0-5 🚀
|
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.1-20 🚀
|


Explanation of Change
Added isAuthTokenRequired to distanceEReceipt to resolve 403 error
Added display name for receiptPreview
Added explanation for eReceiptWithSizeCalculation props and a new one to handle displaying in receiptPreview
Fixed Issues
$ #69240
$ #69279
PROPOSAL:
Tests
WEB / DESKTOP
Android, IOS:
The e-Receipt preview is misaligned test steps:
Prerequisite: Have an account with eReceipt or follow below steps:
To get an expense with eReceipt:
Steps
Offline tests
Same as tests
QA Steps
Same as tests
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.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
e-Receipt preview is not misaligned anymore

Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2025-08-29.at.11.03.53.mov
Screen.Recording.2025-08-28.at.10.38.47.mov
MacOS: Desktop