-
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 2023-08-08] [$1000] Android - User icons overlapping in the group header and outline is not showing perfectly. #22952
Comments
Triggered auto assignment to @michaelhaxhiu ( |
Bug0 Triage Checklist (Main S/O)
|
Proposalfrom: @jayeshmangwani Please re-state the problem that we are trying to solve in this issue.User icons overlapping in the group header and outline is not showing perfectly. What is the root cause of that problem?On Android, when we apply opacity to a parent, all of its children will inherit the opacity; context is here in the issue What changes do you think we should make in order to solve the problem?We need to pass needsOffscreenAlphaCompositing prop to the OfflineWithFeedback parent Of the Group page Header and Chat header Components here so that Android can align with other platforms and child does not inherit the opacity At these two places, we need to add the 1. For Report screen header App/src/pages/home/ReportScreen.js Lines 330 to 333 in 0b00e1c
2. For Chat Header where 8 users Avatar is visible App/src/pages/home/report/ReportActionItemCreated.js Lines 58 to 62 in 0b00e1c
This Same Issue happens at a few places on the Android 2. LHN OptionsList We also need to add the App/src/components/OptionRow.js Lines 148 to 151 in 0b00e1c
App/src/components/LHNOptionsList/OptionRowLHN.js Lines 134 to 137 in 0b00e1c
Note: We will test all the overlapping icons offline on Android in part of this issue so that those can be fixed in this single issue |
ProposalPlease re-state the problem that we are trying to solve in this issue.User icons overlapping in the group header and outline is not showing perfectly. What is the root cause of that problem?On Android, when we apply opacity to a parent, all of its children will inherit the opacity; context is here in the issue What changes do you think we should make in order to solve the problem?We need to pass needsOffscreenAlphaCompositing prop to the OfflineWithFeedback parent Of the Group page Header and Chat header Components here so that Android can align with other platforms and child does not inherit the opacity At these two places, we need to add the 1. For Report screen header App/src/pages/home/ReportScreen.js Lines 330 to 333 in 0b00e1c
2. For Chat Header where 8 users Avatar is visible App/src/pages/home/report/ReportActionItemCreated.js Lines 58 to 62 in 0b00e1c
This Same Issue happens at a few places on the Android 2. LHN OptionsList We also need to add the App/src/components/OptionRow.js Lines 148 to 151 in 0b00e1c
App/src/components/LHNOptionsList/OptionRowLHN.js Lines 134 to 137 in 0b00e1c
Note: We will test all the overlapping icons offline on Android in part of this issue so that those can be fixed in this single issue |
@michaelhaxhiu Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~0194b561dccf84201f |
Current assignee @michaelhaxhiu is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
reproduced! |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - User icons overlapping in the group header and outline is not showing perfectly. What is the root cause of that problem?On Android, when we apply opacity to a parent, all of its children will inherit the opacity In the first PR where needsOffscreenAlphaCompositing was introduced. In that issue their focus was only to fix IOU previews opacity so they passed the prop to set needsOffscreenAlphaCompositing but this issue is bigger than just IOU preview. These are 3 checks they were using to set needsOffscreenAlphaCompositing
What changes do you think we should make in order to solve the problem?There's no need to pass props to set needsOffscreenAlphaCompositing App/src/components/OfflineWithFeedback.js Line 113 in ee2d4fd
With the first check, we ensure that it is only applied on Android, as this issue exists only on Android. With the second check, we verify if the component needsOpacity. If it is true, we can set needsOffscreenAlphaCompositing.
By making this change this issue will be fixed across app. What alternative solutions did you explore? (Optional) |
Started a Slack thread: https://expensify.slack.com/archives/C01GTK53T8Q/p1689793295080599 |
Not overdue. Based on the latest discussion on the slack thread, the use of |
Not overdue, Melvin. No activity on that Slack thread yet but we will probably go with a solution this week |
From the Slack discussion we want to move with the "Only apply the fix when needed" approach. In that case we can move with @jayeshmangwani's proposal. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @yuwenmemon, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @jayeshmangwani 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @jayeshmangwani 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
🎯 ⚡️ Woah @s77rt / @jayeshmangwani, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.48-5 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 2023-08-08. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
|
Triggered auto assignment to @kadiealexander ( |
Note: I'm preparing to go OOO for ~2 weeks and need a BZ buddy to watch over this in the meantime. 🙏 Next steps: Wait for 8/8 to arrive. After that's done, we'll process payments as follows (assuming no regressions 🤞):
I'll take this over when I return if it's not complete. Thanks in advance @kadiealexander |
Everyone is paid! 🎉 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Chat header icons should be like the ios where we can not see the avatar of another user from semi-transparent background.
Actual Result:
Chat header icons should be like the ios where icons do not overlap another icon.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.41-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
Notes/Photos/Videos: Any additional supporting documentation
Screen_Recording_20230715_154037_Expensify.Chat.mp4
Expensify/Expensify Issue URL:
Issue reported by: @jayeshmangwani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689364266408539
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: