-
Notifications
You must be signed in to change notification settings - Fork 3.2k
fix - Review duplicates - Receipt thumbnail on the confirmation page does not have right margin #60427
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
fix - Review duplicates - Receipt thumbnail on the confirmation page does not have right margin #60427
Conversation
@DylanDylann Please 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] |
@ahmedGaber93 It is coming from #60032 Please review it ASAP Thx |
Let us know when this has videos for Design to review. |
Android Native is failing build but uploaded other snapshots @shawnborton |
Cool, seems fine to me. We'll need to revisit this flow anyways when the new expense preview stuff is live. |
I can start reviewing after 2 hours. If it is required before, you can reassign. Thanks! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeiOS: NativeMacOS: Chrome / Safari20250417234209688.mp4 |
Failed to run native device, it looks a problem in main branch because it reported on slack by other here |
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.
LGTM! Failed to run native device, but the other platforms are good enough to test this.
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…-thumbnail-style-bug fix - Review duplicates - Receipt thumbnail on the confirmation page does not have right margin (cherry picked from commit e416e9e) (CP triggered by roryabraham)
🚀 Cherry-picked to staging by https://github.com/roryabraham in version: 9.1.29-6 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
@FitseTLT on mobile the right margin is little off. Is this intended? ScreenRecording_04-18-2025.04-15-26_1.MP4 |
That definitely looks like a bug to me. It should go full width on mobile devices. |
Well, it should go full width on mobile AND if it's in the RHP. |
I noticed this behavior when testing, but I found this is the current behavior on receipt preview on "Review duplicates", so I approved it for empty receipt also and passed it. But I agree it looks weird, and should fit the screen on both cases. But can we make it not a blocker because this is the current behavior on receipt preview on "Review duplicates" and the original PR #60032 job is not touched the styles and just allow display the empty receipt when there is no receipt? |
@shawnborton I left as it is because it is the behavior in production. 2025-04-18.21-18-33.mp4 |
🚀 Deployed to production by https://github.com/marcaaron in version: 9.1.29-10 🚀
|
We don't need the w100 style when rendering the isThumbnail ReceiptEmptyState in MoneyRequestView
Details
Fixed Issues
$ #60422
PROPOSAL:
Tests
Offline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
2025-04-17.17-14-35.mp4
iOS: Native
2025-04-17.17-12-43.mp4
iOS: mWeb Safari
2025-04-17.16-48-42.mp4
MacOS: Chrome / Safari
MacOS: Desktop