-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-10] Avatar style is broken in anonymous footer #24085
Comments
Triggered auto assignment to @slafortune ( |
Bug0 Triage Checklist (Main S/O)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @robertjchen ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Avatar style is broken in anonymous footer What is the root cause of that problem?Avatar container size is 40x40. App/src/components/AnonymousReportFooter.js Lines 31 to 35 in 024d210
But here Avatar size is CONST.AVATAR_SIZE.MEDIUM which is 52x52.
What changes do you think we should make in order to solve the problem?Avatar size should be <AvatarWithDisplayName
report={props.report}
size={CONST.AVATAR_SIZE.NORMAL}
isAnonymous
/> What alternative solutions did you explore? (Optional)N/A |
It is a regression of #23621. The changes from Avatar to MultipleAvatars in this commit has caused the issue. The MultipleAvatar component doesn't conserve the containerStyles properties. |
I think this is caused by the wrong size of avatar is passed in AvatarWithDisplayName inside the AnonymousReportFooter component |
ProposalPlease re-state the problem that we are trying to solve in this issue.Avatar style is broken in the anonymous footer What is the root cause of that problem?This PR #22467 introduces the bug. App/src/components/MultipleAvatars.js Lines 126 to 147 in 2f750ad
In this containerStyles uses App/src/components/MultipleAvatars.js Line 92 in 2f750ad
which uses App/src/components/MultipleAvatars.js Lines 74 to 89 in 2f750ad
which makes the Avatar container size 40x40. But before this PR, containerStyles used on What changes do you think we should make in order to solve the problem?We can either revert the offending PR. Or Add case for App/src/components/MultipleAvatars.js Lines 74 to 89 in 2f750ad
Or Use App/src/components/MultipleAvatars.js Lines 126 to 147 in 2f750ad
What alternative solutions did you explore? (Optional)N/A |
Yes, this might be related to our PR #22467 as mentioned here #22467 (comment) |
Analyzing. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.49-3 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-10. 🎊 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:
|
@rushatgabhane Can you take over for the BZ Checklist? |
|
created a manual request - https://staging.new.expensify.com/r/5857324489341335 |
@slafortune Mind providing a payment summary so I can get the NewDot payment approved? |
External issue reporter - @situchan - OFFER $250 PD |
@Beamanator, @slafortune Huh... This is 4 days overdue. Who can take care of this? |
Bump @JmillsExpensify |
@Beamanator, @slafortune Huh... This is 4 days overdue. Who can take care of this? |
@rushatgabhane @JmillsExpensify - was this paid via NewDot and can now be closed? |
bump @JmillsExpensify |
@Beamanator, @slafortune Eep! 4 days overdue now. Issues have feelings too... |
Just wanted to put this easy to see if not paid yet, @rushatgabhane let use no if you've not been paid. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Room avatar looks same as in room header
Actual Result:
Room avatar style is broken
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.49-1
Reproducible in staging?: y
Reproducible in production?: n
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
Expensify/Expensify Issue URL:
Issue reported by: @situchan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691014645613089
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: