-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Improve eReceipt visually in New Dot #55803
base: main
Are you sure you want to change the base?
Conversation
@shawnborton @ishpaul777 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] |
It seems like the spacing is quite off from our mockups. Here is what I see in your videos: Yet here is our Figma file: Can you update and then we can review again from there? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
@mkzie2 can you please provide steps to add a card transaction (maybe we need to mock it? if yes please provide code to execute to have the mocked transaction) Thank you! |
Aside from @shawnborton's comments, why does the receipt change colors between the preview and full receipt? I would assume it would stay the same between those views. |
No problem, this is because I hard-coded it to display the receipt. |
@shawnborton, I updated it to match the Figma. Please help to check again. ![]() |
@ishpaul777 Updated the test step. |
dont we want make distance e-receipt to follow similar design @Expensify/design @mkzie2 |
I think we should leave the map receipts alone for now. We can follow up later and change them a bit to match these new eReceipts, but I say we tackle eReceipts first so that we don't have too much scope creep in this particular issue. |
@shawnborton I updated the spacing based on the Figma. ![]() |
@shawnborton Can you send me the ![]() |
Try these: eReceipts.zip |
It's fixed now. |
@shawnborton I updated. |
Just a note to the designers that maybe we should also put the negative numbers in front of the currency symbol for consistency? cc @Expensify/design |
Explanation of Change
Improve eReceipt visually in New Dot
Fixed Issues
$ #55083
PROPOSAL: #55083 (comment)
Tests
_
with the transactionID that we're viewing)or add this
useEffect
toMoneyRequestView
Offline tests
Same
QA Steps
or add this
useEffect
toMoneyRequestView
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
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
Screen.Recording.2025-02-03.at.16.17.38.mov
Android: mWeb Chrome
Screen.Recording.2025-02-03.at.15.08.30.mov
iOS: Native
Screen.Recording.2025-02-03.at.16.23.20.mov
iOS: mWeb Safari
Screen.Recording.2025-02-03.at.15.10.11.mov
MacOS: Chrome / Safari
Screen.Recording.2025-02-03.at.15.04.40.mov
MacOS: Desktop
Screen.Recording.2025-02-03.at.16.26.39.mov