-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Update receipt not smart scanned copy and render link in error #60830
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
base: main
Are you sure you want to change the base?
Conversation
@MarioExpensify 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] |
Assigning @hoangzinh as C+ since he reviewed the original PR. |
The code looks good to me. Btw, @neil-marcellini, don't forget to complete the checklist, please
And those checkboxes |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2025-04-25.at.15.32.48.web.movMacOS: DesktopScreen.Recording.2025-04-25.at.15.40.13.desktop.mov |
@neil-marcellini in small-screen device, the error is overflow. Will you fix it in this PR? Screen.Recording.2025-04-25.at.15.57.57.mov |
The translations are the same as the other PR so I have followed the process. Ok I'll check those boxes too. |
No, because it happens on main. |
Ok @hoangzinh I responded to your questions so it's ready for you to continue your review. |
Fyi, in main, the error message is shorter. |
I guess that's a good point. I'll look into fixing it. |
Explanation of Change
In relation to this PR to scan attached receipts in the background, extract the code changes that render links in error messages. It will be generally useful to be able to do such a thing, for example this PR [App] [HOLD pull 58099] Add cta to update to usd modal is waiting until that is implemented. The background scan PR is blocked until more backend changes are made, so let's get this part out now.
To create this PR with only these changes I branched off the original PR and then restored all files to main that didn't have anything to do with rendering the links. That's why there's so many commits here.
Related Issues
#53535
PROPOSAL: N/A
Tests
2025-04-24_07-24-46.mp4
Offline tests
N/A
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
See above, only tested on web since it should be platform independent.
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop