You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-06-06] [HOLD for payment 2024-05-03] Use Fallback Avatar Pattern for Unknown Users #38743
We have a lot of issues surrounding avatar behavior. Some of this is due to how we originally designed the Default Avatar logic, which used a user's login to calculate. This meant that a default avatar could be correctly guessed for any user. However, due to email and privacy concerns, we changed this logic to use the accountID.
Now, any optimistic account ID that is later replaced results in a mismatch of avatars. This has caused a group of bugs all with the same RCA.
Solution
Using the color default avatars as a placeholder avatar causes confusion, so let's stop using them as defaults for users we don't know. From now on, let's always use the fall back avatar. We should be storing the default avatars the same way we store a user-uploaded avatar. So we should stop optimistically setting avatars for users that you don't have in ONYX.
Rules for Avatars
From now on, we want to treat avatars as the following:
Colorful default avatars are considered assigned avatars and should be treated the same as when a user has a custom uploaded avatar
Fallback avatars are used whenever a user’s accountID is unknown or when there’s a problem fetching the avatar (isOffline)
You’ll only see avatars for users you have in ONYX
📣 @hayes102! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:
Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
For context, I started working on this in this PR- I have the search bar working with this pattern, but there's some funkiness around money request search options or chatting a new user, so I am planning to take those changes out for now and have this PR only add the theme support and tackle those changes with this issue. That said, we will begin taking proposals by tomorrow if the issue is not taken by SWM.
changed the title [-][HOLD for payment 2024-05-03] Use Fallback Avatar Pattern for Unknown Users[/-][+][HOLD for payment 2024-06-06] [HOLD for payment 2024-05-03] Use Fallback Avatar Pattern for Unknown Users[/+]on May 30, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.77-11 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Activity
hayes102 commentedon Mar 21, 2024
Hello @grgia is this issue open for proposals ?
melvin-bot commentedon Mar 21, 2024
📣 @hayes102! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:
Format:
grgia commentedon Mar 21, 2024
@hayes102 I'm waiting to hear back from someone at one of our agencies about this.
#38674
For context, I started working on this in this PR- I have the search bar working with this pattern, but there's some funkiness around money request search options or chatting a new user, so I am planning to take those changes out for now and have this PR only add the theme support and tackle those changes with this issue. That said, we will begin taking proposals by tomorrow if the issue is not taken by SWM.
Kicu commentedon Mar 21, 2024
hey I work for SWM and would like to work on this one
grgia commentedon Mar 27, 2024
@Kicu I removed the fallback changes I made in the PR- 44dc9fc
see this commit for the search, as well as this thread:
#38674 (comment)
Kicu commentedon Mar 28, 2024
Thank you @grgia I will be working on this today
39 remaining items
[-][HOLD for payment 2024-05-03] Use Fallback Avatar Pattern for Unknown Users[/-][+][HOLD for payment 2024-06-06] [HOLD for payment 2024-05-03] Use Fallback Avatar Pattern for Unknown Users[/+]melvin-bot commentedon May 30, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon May 30, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.77-11 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-06-06. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jun 6, 2024
Payment Summary
Upwork Job
BugZero Checklist (@puneetlath)
puneetlath commentedon Jun 7, 2024
I just want to confirm that any regressions have been fixed and we are ready to pay here? And that @s77rt is the only person needing payment?
s77rt commentedon Jun 7, 2024
Yes all has been handled
puneetlath commentedon Jun 7, 2024
Ok offer here: https://www.upwork.com/nx/wm/offer/102641250
puneetlath commentedon Jun 7, 2024
Please ping me on this issue when you've accepted.
s77rt commentedon Jun 7, 2024
Accepted! Please make the payment $62.5 for the initial regression and for this regression #42750
puneetlath commentedon Jun 7, 2024
That was surprisingly hard, but I figured it out.
All paid, thanks y'all!