App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD #10894][Image]mWeb/Chrome - Profile - The default avatar changes after removing the avatar image

Open kbecciv opened this issue 2 years ago • 13 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. Go to URL https://staging.new.expensify.com/
  2. Login with any account
  3. Go to Settings->Profile
  4. Remove the avatar image

Expected Result:

The default avatar shouldn't change

Actual Result:

The default avatar changes

Workaround:

Uknown

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.2.18.2

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

https://user-images.githubusercontent.com/93399543/196804415-6c2c953d-6d1d-400b-b1cb-b1c53f5c5860.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

kbecciv avatar Oct 19 '22 21:10 kbecciv

Triggered auto assignment to @youssef-lr (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

melvin-bot[bot] avatar Oct 19 '22 21:10 melvin-bot[bot]

I was able to reproduce this. Investigating.

youssef-lr avatar Oct 24 '22 12:10 youssef-lr

@youssef-lr accidentally unassigned you while assigning me. Also put on hold pending @Beamanator 's work on

  • https://github.com/Expensify/App/issues/10894

If you have a solution in the works, drop in a comment to see if Beaman is 👍 to implement

mallenexpensify avatar Oct 28 '22 00:10 mallenexpensify

@mallenexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

melvin-bot[bot] avatar Oct 31 '22 07:10 melvin-bot[bot]

@mallenexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

melvin-bot[bot] avatar Oct 31 '22 08:10 melvin-bot[bot]

Oh hold

mallenexpensify avatar Oct 31 '22 16:10 mallenexpensify

Issue not reproducible during KI retests. (First week)

mvtglobally avatar Nov 03 '22 03:11 mvtglobally

ooooh, not reproducible!!? I like that . Either way... it's on hold

mallenexpensify avatar Nov 03 '22 15:11 mallenexpensify

@mallenexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

melvin-bot[bot] avatar Nov 07 '22 08:11 melvin-bot[bot]

On hold

mallenexpensify avatar Nov 07 '22 16:11 mallenexpensify

Hold on #10894

mallenexpensify avatar Nov 07 '22 22:11 mallenexpensify

@mallenexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

melvin-bot[bot] avatar Nov 11 '22 08:11 melvin-bot[bot]

@trjExpensify are you going to take over for @mallenexpensify on this one?

Beamanator avatar Nov 12 '22 00:11 Beamanator

~Nah. 😛~ Yep, sure thing!

I can't reproduce this on staging web v1.2.27-3 chrome, nor iOS mWeb. Can you? I'm inclined to close it at this point.

The issue title has mWeb/Chrome but all platforms listed in the Platform. Can you confirm where this is happening, @kbecciv? I don't have an Android to check if that's the only place we're experiencing this issue.

trjExpensify avatar Nov 15 '22 01:11 trjExpensify

@trjExpensify Checking with team, will update you shortly

kbecciv avatar Nov 15 '22 02:11 kbecciv

@trjExpensify Issue is reproduced on Android app and mWeb/safari:

Android app

https://user-images.githubusercontent.com/93399543/201954824-1226538d-b987-45fc-8f70-e0105621405f.mp4

mWeb/safari

https://user-images.githubusercontent.com/93399543/201955586-7e1cf426-9285-4630-be5d-f552b9717031.mp4

kbecciv avatar Nov 15 '22 15:11 kbecciv

Okay, great. Thanks for confirming. I've added these two recordings to the OP and updated it.

trjExpensify avatar Nov 15 '22 15:11 trjExpensify

@Beamanator to confirm, this is still an issue that should be on hold right?

trjExpensify avatar Nov 15 '22 15:11 trjExpensify

Huh good question, if I remember correctly, this "default avatar" business is going to be fixed by @roryabraham... Rory weren't you looking into implementing a default avatar SVG that's a file, not a URL? And I thinkkkk that was going to be in another issue?

Beamanator avatar Nov 15 '22 20:11 Beamanator

Friendly bump on the question above, @roryabraham?

trjExpensify avatar Nov 18 '22 19:11 trjExpensify

if I remember correctly, this "default avatar" business is going to be fixed by @roryabraham... Rory weren't you looking into implementing a default avatar SVG that's a file, not a URL?

It's not this issue is it? https://github.com/Expensify/App/issues/12658

trjExpensify avatar Nov 21 '22 14:11 trjExpensify

Okay, so mystery solved here then @Beamanator, it's https://github.com/Expensify/App/issues/9703 that @cristipaval is going to be working on?

trjExpensify avatar Nov 24 '22 16:11 trjExpensify

Yes indeedy! Thanks for updating - we can hold this on that one, hopefully it'll resolve itself 🙏

Beamanator avatar Nov 24 '22 16:11 Beamanator

@trjExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

melvin-bot[bot] avatar Nov 28 '22 08:11 melvin-bot[bot]

After revisiting this issue, it seems a bit superfluous to me:

  • we have an image caching issue for mobile
  • we have an image caching issue for web/desktop
  • we have an issue to bundle default avatars as SVG for a fall back when avatar images aren't loaded/cached

This issue has been created specific to the profile page on Android and mWeb/Safari, but I'm struggling to understand why during the implementation of the initiatives above this case won't be tested in the relevant PRs to ensure the solution works as intended.

trjExpensify avatar Nov 29 '22 14:11 trjExpensify

#9703 has been encapsulated into https://github.com/Expensify/App/issues/12259, so the hold in the title needs an update. Regardless, I still question the purpose of keeping this issue open @Beamanator.

trjExpensify avatar Dec 08 '22 21:12 trjExpensify

Good call @trjExpensify - I think this should just be added as a testing step in @grgia 's PR to implement hard-coded default avatars, yeah?

Beamanator avatar Dec 13 '22 12:12 Beamanator

Yeah, exactly.. we're basically jus QA'ing that the hard-coded default avatars are there after you remove a custom one, which should be accounted for in the testing steps of the PR that introduces them.

trjExpensify avatar Dec 13 '22 14:12 trjExpensify

So I think we can just close this one, do we need to add a comment to https://github.com/Expensify/App/issues/12259, explaining what we just discussed?

Beamanator avatar Dec 13 '22 15:12 Beamanator

Yep, donezo!

trjExpensify avatar Dec 15 '22 01:12 trjExpensify