Skip to content
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 #12603][Image][Performance] Avatar images in a report are re-fetched when we hover on the message #11393

Closed
5 tasks done
youssef-lr opened this issue Sep 28, 2022 · 41 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Monthly KSv2

Comments

@youssef-lr
Copy link
Contributor

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


What performance issue do we need to solve?

We need to figure out why the component re-renders even though nothing changes in the state. This could possibly be due to a parent component re-rendering which makes the child component Avatar re-render as well.

Screen.Recording.2022-09-28.at.03.17.54.mov

What is the impact of this on end-users?

TBD.

List any benchmarks that show the severity of the issue

TBD.

Proposed solution (if any)

TBD.

List any benchmarks after implementing the changes to show impacts of the proposed solution (if any)

TBD.

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web
@melvin-bot
Copy link

melvin-bot bot commented Oct 4, 2022

Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot melvin-bot bot added the Overdue label Oct 4, 2022
@trjExpensify
Copy link
Contributor

👋 @youssef-lr - is this one held on a plan for Image-related feature request and improvements or does it need a volunteer to work on it? CC: @roryabraham

@melvin-bot melvin-bot bot removed the Overdue label Oct 4, 2022
@Beamanator
Copy link
Contributor

Good question, I'd be willing to help look into this if it's not on hold

@roryabraham
Copy link
Contributor

I think this should be on hold for #10894, but that one's up-for-grabs @Beamanator 😉

@trjExpensify trjExpensify changed the title [Performance] Avatar images in a report are re-fetched when we hover on the message [Hold - Image #10894] [Performance] Avatar images in a report are re-fetched when we hover on the message Oct 5, 2022
@trjExpensify
Copy link
Contributor

Go on, @Beamanator. You know you want to.. 😏

Alrighty, I've popped a hold in the title here for now.

@Beamanator
Copy link
Contributor

Interestinggggg I assigned myself to the tracking issue, let's see how this goes :D

@trjExpensify
Copy link
Contributor

You da man! 🏊‍♂️

@melvin-bot
Copy link

melvin-bot bot commented Oct 10, 2022

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

@melvin-bot melvin-bot bot added the Overdue label Oct 10, 2022
@Beamanator Beamanator self-assigned this Oct 10, 2022
@Beamanator Beamanator added Weekly KSv2 and removed Daily KSv2 labels Oct 10, 2022
@melvin-bot melvin-bot bot removed the Overdue label Oct 10, 2022
@Beamanator
Copy link
Contributor

Assigning myself & making weekly for now - still on hold for the main tracking issue

@melvin-bot melvin-bot bot added the Overdue label Oct 19, 2022
@Beamanator
Copy link
Contributor

Still on hold, making progress on image improvements, see tracking issue

@melvin-bot melvin-bot bot removed the Overdue label Oct 19, 2022
@JmillsExpensify JmillsExpensify changed the title [Hold - Image #10894] [Performance] Avatar images in a report are re-fetched when we hover on the message [Hold #10894] [Performance] Avatar images in a report are re-fetched when we hover on the message Oct 19, 2022
@JmillsExpensify JmillsExpensify changed the title [Hold #10894] [Performance] Avatar images in a report are re-fetched when we hover on the message [HOLD #10894] [Performance] Avatar images in a report are re-fetched when we hover on the message Oct 19, 2022
@puneetlath puneetlath added the Bug Something is broken. Auto assigns a BugZero manager. label Oct 19, 2022
@mallenexpensify mallenexpensify self-assigned this Oct 22, 2022
@mallenexpensify mallenexpensify changed the title [HOLD #10894] [Performance] Avatar images in a report are re-fetched when we hover on the message [HOLD #10894][Image][Performance] Avatar images in a report are re-fetched when we hover on the message Oct 26, 2022
@melvin-bot melvin-bot bot added the Overdue label Oct 28, 2022
@Beamanator
Copy link
Contributor

Still on hold, will get to this soon hopefully

@Beamanator
Copy link
Contributor

Still holding, downgrading to monthly

@melvin-bot melvin-bot bot added the Overdue label Jun 12, 2023
@trjExpensify
Copy link
Contributor

No change, server migration comes first then image cashing Melv.

@melvin-bot melvin-bot bot removed the Overdue label Jun 12, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 13, 2023
@trjExpensify
Copy link
Contributor

No change yet!

@melvin-bot melvin-bot bot removed the Overdue label Jul 17, 2023
@melvin-bot melvin-bot bot added the Overdue label Aug 21, 2023
@Beamanator
Copy link
Contributor

same

@melvin-bot melvin-bot bot removed the Overdue label Aug 21, 2023
@melvin-bot melvin-bot bot added the Overdue label Sep 21, 2023
@trjExpensify
Copy link
Contributor

No change, server migration comes first then image cashing Melv.

@melvin-bot melvin-bot bot removed the Overdue label Sep 21, 2023
@melvin-bot melvin-bot bot added the Overdue label Oct 23, 2023
@Beamanator
Copy link
Contributor

still held

@melvin-bot melvin-bot bot removed the Overdue label Oct 23, 2023
@melvin-bot melvin-bot bot added the Overdue label Nov 23, 2023
@trjExpensify
Copy link
Contributor

Still working on web image caching!

@melvin-bot melvin-bot bot removed the Overdue label Nov 23, 2023
@melvin-bot melvin-bot bot added the Overdue label Dec 25, 2023
@Beamanator
Copy link
Contributor

same ^

@melvin-bot melvin-bot bot removed the Overdue label Dec 28, 2023
@melvin-bot melvin-bot bot added the Overdue label Jan 29, 2024
@trjExpensify
Copy link
Contributor

In light of #32703 being fixed, the #34505 is in review.

@melvin-bot melvin-bot bot removed the Overdue label Jan 29, 2024
@melvin-bot melvin-bot bot added the Overdue label Mar 1, 2024
@trjExpensify
Copy link
Contributor

New PRs are in the works and a bit of a wider plan. :)

@melvin-bot melvin-bot bot removed the Overdue label Mar 4, 2024
@trjExpensify
Copy link
Contributor

@youssef-lr @thomas-coldwell @Beamanator with all the performance improvements as of late, I think we took care of this one. I just tried to reproduce on a chat I have with a bunch of attachments/preview components and hovering over them doesn't re-fetch anything in the Network tab.

Going to close this out, but if anyone disagrees, feel free to reopen!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Monthly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants