Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.57k stars 2.91k forks source link

fix: new member shows fallback avatar in report invite page #52844

Closed gijoe0295 closed 1 day ago

gijoe0295 commented 1 day ago

Explanation of Change

While searching for members that haven't been interacted with, their personal details show fallback avatar because it is not fetched from server.

Fixed Issues

$ https://github.com/Expensify/App/issues/52639 PROPOSAL: https://github.com/Expensify/App/issues/52639#issuecomment-2479643403

Tests

Precondition: Must be online.

  1. Go to a group chat
  2. Click on header > Members > Invite new member
  3. Enter an email that hasn't been chatted with
  4. Verify his contact not show fallback avatar (it can show fallback avatar briefly while it's fetching data)

Offline tests

NA

QA Steps

Precondition: Must be online.

  1. Go to a group chat
  2. Click on header > Members > Invite new member
  3. Enter an email that hasn't been chatted with
  4. Verify his contact not show fallback avatar

PR Author Checklist

Screenshots/Videos

Android: Native https://github.com/user-attachments/assets/9393ee8f-9e92-4e6f-b8c7-6a735d528086
Android: mWeb Chrome https://github.com/user-attachments/assets/8f7fdaf2-8b0e-4a7f-b067-fed0a4c010f3
iOS: Native https://github.com/user-attachments/assets/0d844965-ab16-4737-a27b-a232abed4ba8
iOS: mWeb Safari https://github.com/user-attachments/assets/1fffb057-f491-4718-94fe-f9b1ef41a4f2
MacOS: Chrome / Safari https://github.com/user-attachments/assets/c8d1a8b3-7763-4296-bf80-90b09e5f10f6
MacOS: Desktop https://github.com/user-attachments/assets/20ed2872-8e99-4aca-abf3-1d50e6390ace
melvin-bot[bot] commented 1 day ago

@brunovjk Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

gijoe0295 commented 1 day ago

I didn't understand the prettier warning. es.ts is intact. I ran prettier locally but there's no problem.

Screenshot 2024-11-21 at 02 59 36

brunovjk commented 1 day ago

Reviewer Checklist

Screenshots/Videos

Android: Native https://github.com/user-attachments/assets/208ec2d3-1d76-4dcb-808d-c7ad13bc49a3
Android: mWeb Chrome https://github.com/user-attachments/assets/f9852edb-e662-4f7e-ae81-3bb837f92125
iOS: Native https://github.com/user-attachments/assets/bfe95478-0838-4446-b10b-0ecac56ad305
iOS: mWeb Safari https://github.com/user-attachments/assets/91ddd144-209f-4110-abb8-f297d6570f38
MacOS: Chrome / Safari https://github.com/user-attachments/assets/7aea2f1b-c740-44bc-b722-4755c22844d4
MacOS: Desktop https://github.com/user-attachments/assets/d09083f2-5b57-4fb0-88c1-5f8cd18fa21a
github-actions[bot] commented 1 day ago

πŸš€ Deployed to staging by https://github.com/deetergp in version: 9.0.65-1 πŸš€

platform result
πŸ€– android πŸ€– success βœ…
πŸ–₯ desktop πŸ–₯ success βœ…
🍎 iOS 🍎 success βœ…
πŸ•Έ web πŸ•Έ success βœ…
πŸ€–πŸ”„ android HybridApp πŸ€–πŸ”„ success βœ…
πŸŽπŸ”„ iOS HybridApp πŸŽπŸ”„ success βœ