-
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
[CP Staging] Fix receipt conversion #47139
[CP Staging] Fix receipt conversion #47139
Conversation
@MonilBhavsar 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] |
This is supposed to fix #47078, right? If so, can you link it in the OP? 🙏 |
Reviewer Checklist
(Edited by Marc) Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
iOS works for me now! Good to have that mainline flow working. @Beamanator it seems like we should fix the web issue as well, but it's also not working correctly on production so I think that's NAB. |
This also doesn't seem like it would apply to Android so I think we are good to go here. |
…ning-heif-cases [CP Staging] Fix receipt conversion (cherry picked from commit ec640d5) (CP triggered by marcaaron)
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Cherry-picked to staging by https://github.com/OSBotify in version: 9.0.18-10 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
Working well on staging iOS! |
Details
The validation was based on the file name and it was missing after the second conversion of the asset. The reason prod allowed uploading heif was because the picker was doing the conversion automatically, so all this time we've been uploading jpg instead of heif (which is correct). My previous fix was ensuring that the conversion is correct (because for the attachments it was sending the corrupted files - that's why I was checking magic bytes)
Fixed Issues
$ #47078
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
Android: mWeb Chrome
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-08-09.at.11.06.43.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop