-
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
[HOLD for payment 2024-02-07] [$500] Android - Center icon in EReceipt for Expensify transactions is blank #34907
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01df6f886be1e32b04 |
Triggered auto assignment to @johncschuster ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
We think that this bug might be related to #wave5. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Center icon in EReceipt for Expensify transactions is black in color on Android What is the root cause of that problem?This looks like a regression introduced by the expo-image PR. Earlier SVG images were directly imported into the component using react-native-svg. After above PR App/src/components/Icon/index.tsx Lines 92 to 100 in cc64de9
For web platform the App/src/components/ImageSVG/index.tsx Line 10 in cc64de9
On native platform since svg is treated just like any other image format by
The icon used in App/assets/images/eReceiptIcon.svg Line 1 in 0efabc2
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" ... /> This is the reason EReceipt icon looks blank. What changes do you think we should make in order to solve the problem?Remove Fill color for the receipt icon is already supplied via fill prop from EReceiptThumbnail component. So it works seemlessly on both web and native platforms. So App/src/components/EReceiptThumbnail.tsx Line 100 in cc64de9
What alternative solutions did you explore? (Optional)None |
@aswin-s Thanks for the proposal! I think your solution would not solve the issue though, if you look at the original PR that implemented EReceipts, the icon should have a colour. |
@jjcoffee expo-image was introduced after this PR. EReceiptThumbnail uses Icon component to display the image. Icon component now uses |
@aswin-s Thanks! I agree the fix works, normally we would require details as to why/how it works too (hence my confusion with thinking it would display without any colour). Are you able to update your proposal with that extra detail? |
@jjcoffee Updated my proposal with additional details. |
@aswin-s Sorry, I meant details on why the solution is a good one (how it works, where does the fill come from if we remove it from there). |
@jjcoffee Added more details on how ImageSVG works on both web and native platforms and why currentColor is not required anymore. Let me know if anything needs further clarification. |
Triggered auto assignment to @marcaaron, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @aswin-s 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.34-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-02-07. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Regression Test Proposal
Do we agree 👍 or 👎 |
Payment has been issued! I'll get the regression test steps updated shortly. |
@johncschuster, @aswin-s, @jjcoffee, @marcaaron Eep! 4 days overdue now. Issues have feelings too... |
This one looks like it can be closed now? |
Yep! I left it open so I would get the Regression Test steps done, but it is otherwise complete! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.29-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
The center icon is not blank
Actual Result:
The center icon is blank
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6350706_1705942135356.1000009543.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @johncschusterThe text was updated successfully, but these errors were encountered: