-
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 #10894 and #9402][Image] Settings - The grey avatar displayed for a brief moment when uploading a picture #10704
Comments
Triggered auto assignment to @Luke9389 ( |
Hey @jasperhuangg should I make this external? I see you worked on refactoring Avatar uploads here: https://github.com/Expensify/Web-Expensify/pull/34346 |
@Luke9389 Eep! 4 days overdue now. Issues have feelings too... |
bump @jasperhuangg |
Hey! I can't seem to reproduce this.. could it be because the internet connection was poor and it was taking a while to load the image from s3? @Luke9389 Probably not best to apply the external label right now since it might involve touching PHP as well. Screen.Recording.2022-09-06.at.12.40.28.PM.movRPReplay_Final1662464723.MP4 |
I think that vid you posted of your phone is a reproduction of the issue. The avatar turned grey for a brief moment there. |
I'll investigate whether this can be a front end only change. My hunch is that it will be, because the network will likely never be so fast that it's unnoticeable, and we already have the image on the device, so we should be able to display the image continuously. |
@Luke9389 that's actually expected to happen, that's the Avatar component switching briefly between the local file and the file in the URL. |
I see. So I think that's the "issue" being reported here. I wonder if there is a way to eliminate that grey period. Perhaps we only switch the avatar source upon loading the next view or something. We could have a contributor look into it, but idk, do you think this is worth keeping open? |
Not really, because that's how the behavior was when I was working on the PR, and the PR was reviewed and approved in that state. I don't think this is a bug as much as a flaw with our design. Maybe we can create a follow up issue to work on? But I think that's not as much of a priority now. |
OK, I think before closing this I'll bring it up in Slack to see if anyone has additional thoughts on what we should do with this issue. Thanks for chiming in @jasperhuangg! Edit: Posted about this here: https://expensify.slack.com/archives/C01GTK53T8Q/p1662470480794339 |
For sure! I think @Beamanator would be a good person to ask since he wrote the DD. Thanks for including me :) |
Putting a hold on this issue until there's a clear, testable resolution here: #9402 |
Yeah I must have overlooked the brief flash when testing, I think the main issue we've seen with this is when the previous avatar shows for a while before the new avatar updates (I think only reproduced on Android) - but maybe that's a different issue. I also think it makes sense to put this on hold (maybe reduce the priority too) until that other issue gets worked on, maybe the solution there will fix this issue 🤞 |
This is on HOLD so it shouldn't be marked Overdue. |
Same, Melv. |
No change, server migration project in progress still. |
Still on hold for the server migration project. |
Still on hold for the server migration project. |
No change. |
CORS is over the line, so image caching on web is back under construction. |
Image caching PR was deployed and reverted. Awaiting this now before re-implementing: #32703 |
Damn, we so unlucky Melv! The image caching PR got reverted again. |
No change. |
Alrighty.. circling back here. I can no longer reproduce it on upload of a profile picture. So I think we're good to close this out now! |
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:
Uploaded photo should be displayed without grey color
Actual Result:
The grey avatar displayed for a brief moment when uploading a picture
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.94.4
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug5711038_and_3008_profile_icon.mp4
Bug5711038_and_3008.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: