-
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
Enabling Receipt drag and drop inside the confirmation step #53849
base: main
Are you sure you want to change the base?
Enabling Receipt drag and drop inside the confirmation step #53849
Conversation
This is looking pretty good. One thing I noticed is it seems like the receipt thumbnail height changes when it's an empty state vs when it actually has an image in there. Can we fix that so it remains at the same height in both cases? cc @Expensify/design for viz |
Agree with Shawn. |
Good catch @shawnborton i updated the styles in this commit now the height doesnt change for both pdfs and images: Screen.Recording.2024-12-12.at.02.29.14.mov |
@shawnborton @dubielzyk-expensify do you think we should be using our light button text color here instead of the dark? Here's what the "import spreadsheet" version looks like: And actually—can we make sure the green overlay is the same between these two? I can't tell if they're different, but let's make sure we're matching the CSV import one since we just built that recently. Yeah? |
I can get down with that, let's make sure everything is aligned. I think the "Let it go" UI shown above is the same thing found in the Scan receipt on desktop flow, so let's update that too. But yeah, I like using lighter text as well as the green you pointed out for import spreadsheet. |
Hahah well then! Nevermind!! |
@abzokhattab We have merge conflicts if you could take a look, thanks! |
…-inside-confirm-step
@Ollyws Done |
@abzokhattab Could you take a look at those ESLint and TS check errors too? Thanks. |
…-inside-confirm-step
i see that the majority of the eslint violations were not generated by the changes of this pr. should we still fix them? |
They're from the new ESLint rule https://expensify.slack.com/archives/C01GTK53T8Q/p1734427537784129 I think it's suggested that we fix these in our PRs, unles it's a huge file with alot of changes. |
Explanation of Change
Fixed Issues
$ #53089
PROPOSAL: #53089 (comment)
Tests
Offline tests
Same as tests
QA Steps
Same as tests
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
Not applicable
Android: mWeb Chrome
Not applicable
iOS: Native
Not applicable
iOS: mWeb Safari
Not applicable
MacOS: Chrome / Safari
Screen.Recording.2024-12-10.at.14.37.47.mov
Screen.Recording.2024-12-10.at.14.38.14.mov
MacOS: Desktop
Screen.Recording.2024-12-10.at.14.34.53.mov
Screen.Recording.2024-12-10.at.14.36.36.mov