-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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-09-20][$250] [Workspace Feeds] Default avatar is displayed for cardholder that has custom avatar #48751
Comments
Triggered auto assignment to @OfstadC ( |
@OfstadC FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
ProposalPlease re-state the problem that we are trying to solve in this issue.Expensify Card - Default avatar is displayed for cardholder that has custom avatar What is the root cause of that problem?We are fetching defaultAvatar even if a custom avatar ( App/src/pages/workspace/expensifyCard/WorkspaceCardListRow.tsx Lines 40 to 41 in 67333b9
What changes do you think we should make in order to solve the problem?We should use source={getAvatar(cardholder?.avatar, cardholder?.accountID)} Note: we can also use What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Default avatar is displayed for cardholder that has custom avatar What is the root cause of that problem?App/src/pages/workspace/expensifyCard/WorkspaceCardListRow.tsx Lines 40 to 41 in 67333b9
We consistently use the default avatar in the WorkspaceCardListRow.tsx. It means we always create a new avatar based on the accountID What changes do you think we should make in order to solve the problem?We should use cardHolder.avatar and set FallbackAvatar as the default value, similar to how it's implemented on the detail page
Note: If cardHolder.avatar is null, we should display FallbackAvatar rather than generating a new avatar based on the accountID What alternative solutions did you explore? (Optional) |
Not overdue - assigned over weekend. Looking at this today... |
Job added to Upwork: https://www.upwork.com/jobs/~021833181699524011872 |
Current assignee @allgandalf is eligible for the External assigner, not assigning anyone new. |
Let's make it similar to WorkspaceExpensifyCardDetailsPage.tsx @cretadn22's proposal looks good to me 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @lakchote, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
It looks like this was deployed 5 days ago, so we'll issue payment on 2024-09-20. And we need to issue payment to @DylanDylann & @cretadn22. Please let me know if i'm missing anyone. @DylanDylann could you please propose any necessary regression tests? |
No need regression test. And we only need to pay @cretadn22 |
Thanks @DylanDylann ! |
@cretadn22 - I've sent you an offer here - https://www.upwork.com/nx/wm/offer/104042037 |
@OfstadC I accepted |
Payment Summary
|
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: 9.0.30-9
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The cardholder's custom avatar will appear on Expensify Card page.
Actual Result:
The cardholder's default avatar is shown on Expensify Card page instead.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6595256_1725622038589.20240906_192230.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @The text was updated successfully, but these errors were encountered: