-
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-10-09] [$500] Border appears for the User avatar on the Money request page header. #26361
Comments
Triggered auto assignment to @joekaufmanexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
This looks like an intended behavior |
ProposalPlease re-state the problem that we are trying to solve in this issue.Border appears for the second user avatar on the money request page header What is the root cause of that problem?We have AvatarWithDisplayName component in HeaderWithBackButton of MoneyReportHeader We're setting the second avatar style here in the App/src/components/AvatarWithDisplayName.js Line 115 in c20c387
This is the root cause What changes do you think we should make in order to solve the problem?We need to change
This works fine Note: We can add additional props for setting second avatar style in the What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.The real issue is, that the avatar border style does not match the header background color. What is the root cause of that problem?The money report header uses AvatarWithDisplayName to show the avatar which will render App/src/components/AvatarWithDisplayName.js Lines 112 to 116 in c20c387
However, the header has a transparent background which then shows the background of the report screen which is The avatar border color is introduced in #22467 and the reason the avatar border color is set to What changes do you think we should make in order to solve the problem?We have 2 options.
I prefer the 2nd option as we did this in App/src/pages/home/HeaderView.js Lines 177 to 182 in c20c387
|
I agree there is a border, but not sure that this is actually a bug. Further, you can only really notice the border when significantly zoomed in, like this: When you're at normal zoom, it just distinguishes between the two avatars, which makes me think this may be intended. I'm inclined to do nothing here, but curious what @shawnborton thinks? |
@joekaufmanexpensify the border is indeed intended, but it should match the background color like it does on the LHN |
Yeah, that border should match the background color. @grgia I think this was part of the avatar changes you made, are you able to follow up and fix this one quickly? |
Cool cool, sounds good. |
Not overdue |
Chatted with Georgia, and we're going to make this one external! |
Job added to Upwork: https://www.upwork.com/jobs/~013384dd572fef261e |
Current assignee @joekaufmanexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ArekChr ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.After creating a money request, if we open it, in the header, there is a border on the top avater (seconderyAvetar). And the border is of highlighted(Different color than the background). Where the expectation is, the border color should match the background color. What is the root cause of that problem?Here, the secondAvaterStyle is set to What changes do you think we should make in order to solve the problem?We can just set the secondAvaterStyle to The end result will look like this What alternative solutions did you explore? (Optional)We can also remove the secondary avatar style as MultipleAvatar already has a default style with a color of componentBG which has the same value as appBG.
As we already did this is HeaderView.js. App/src/pages/home/HeaderView.js Lines 177 to 182 in c20c387
|
📣 @PiyalAhmed! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@ArekChr mind taking a look at the proposal here? |
Assigning @bernhardoj |
📣 @Ahmed-Abdella 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
PR is ready cc: @ArekChr |
I think this one is pending internal review from @grgia |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.75-12 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-10-09. 🎊 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:
|
@ArekChr mind taking care of the checklist this week? |
|
BZ checklist is complete, all set to issue payment. The PR was not merged within 3 business days. However, @ArekChr approved the PR within 3 business days (on 2023-09-18), and then the internal engineer assigned merged it a bit later on 2023-09-25. Because the delay was on us internally, this still qualifies for a speed bonus. This means we need to pay:
|
@bernhardoj $750 sent and contract ended! |
@Ahmed-Abdella $50 sent and contract ended! |
Upwork job closed. |
Bug is fixed, BZ checklist complete, and all payment issued. Closing as this is all set. Thanks everyone! |
Hi, @joekaufmanexpensify @ArekChr I just noticed that this issue is reproducible in the new UI for the LHN. the border appears for the IOU row in the LHN, check stage to see this, Just click on any IOU row in the LHN to activate the background color and the border will appear. And I believe It is highly noticeable. |
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:
The avatar shouldn't have any border.
Actual Result:
The user avatar has a border.
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.59-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
Screencast.from.22-08-23.04_37_03.webm
Expensify/Expensify Issue URL:
Issue reported by: @Ahmed-Abdella
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692669808539929
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: