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 for payment 2024-04-09] HIGH: [Performance] [$500] Eliminate 3x re-render on switching to new chat #38909

Closed
quinthar opened this issue Mar 25, 2024 · 12 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@quinthar
Copy link
Contributor

quinthar commented Mar 25, 2024

Problem:

It really seems like every time I switch to a chat, it renders the page like 3 times (ie, it shows, and then blinks 2x more looking like it re-renders). On web it's not that big a deal, but I find my mobile app is extremely sluggish, and I think it's for the accumulation of reasons like this.

Solution:

?? not sure. Being discussed in Slack here, along with video.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01574932395779d237
  • Upwork Job ID: 1773397513149165568
  • Last Price Increase: 2024-03-28
@quinthar quinthar converted this from a draft issue Mar 25, 2024
@perunt
Copy link
Contributor

perunt commented Mar 25, 2024

I'll take a look at this

@perunt perunt mentioned this issue Mar 27, 2024
50 tasks
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 labels Mar 27, 2024
Copy link

melvin-bot bot commented Mar 27, 2024

Triggered auto assignment to @NikkiWines, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@NikkiWines NikkiWines added External Added to denote the issue can be worked on by a contributor Bug Something is broken. Auto assigns a BugZero manager. labels Mar 28, 2024
@melvin-bot melvin-bot bot changed the title HIGH: [Performance] Eliminate 3x re-render on switching to new chat [$500] HIGH: [Performance] Eliminate 3x re-render on switching to new chat Mar 28, 2024
Copy link

melvin-bot bot commented Mar 28, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01574932395779d237

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 28, 2024
Copy link

melvin-bot bot commented Mar 28, 2024

Current assignee @paultsimura is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Mar 28, 2024
Copy link

melvin-bot bot commented Mar 28, 2024

Triggered auto assignment to @Christinadobrzyn (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@NikkiWines NikkiWines removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 28, 2024
@quinthar quinthar changed the title [$500] HIGH: [Performance] Eliminate 3x re-render on switching to new chat HIGH: [Performance] [$500] Eliminate 3x re-render on switching to new chat Mar 29, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Apr 2, 2024
@melvin-bot melvin-bot bot changed the title HIGH: [Performance] [$500] Eliminate 3x re-render on switching to new chat [HOLD for payment 2024-04-09] HIGH: [Performance] [$500] Eliminate 3x re-render on switching to new chat Apr 2, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 2, 2024
Copy link

melvin-bot bot commented Apr 2, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Apr 2, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.58-8 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-04-09. 🎊

For reference, here are some details about the assignees on this issue:

  • @paultsimura requires payment (Needs manual offer from BZ)
  • @perunt does not require payment (Contractor)

Copy link

melvin-bot bot commented Apr 2, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@paultsimura] The PR that introduced the bug has been identified. Link to the PR:
  • [@paultsimura] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@paultsimura] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@paultsimura] Determine if we should create a regression test for this bug.
  • [@paultsimura] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@Christinadobrzyn] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@Christinadobrzyn
Copy link
Contributor

Payouts due:

Upwork job is here.

@paultsimura do we need a regression test for this?

@Christinadobrzyn Christinadobrzyn added Daily KSv2 and removed Weekly KSv2 labels Apr 8, 2024
@paultsimura
Copy link
Contributor

Thanks @Christinadobrzyn, I'll fill out the checklist today

@paultsimura
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR: HIGH: (Comment linking: Step 4) Main "glue" PR for Comment Linking #30269
  • The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/pull/30269/files#r1555664471
  • A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
  • Determine if we should create a regression test for this bug: No – this was a missed part of the large Comment Linking PR, which required some polishing
  • If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Daily KSv2 labels Apr 8, 2024
@Christinadobrzyn
Copy link
Contributor

Thanks @paultsimura! I paid you in Upwork based on this summary - #38909 (comment)

I think this is good to close. Feel free to let me know if I missed anything!

@github-project-automation github-project-automation bot moved this from HIGH to CRITICAL in [#whatsnext] #vip-vsb Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
No open projects
Status: CRITICAL
Development

No branches or pull requests

5 participants