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

[CP Staging] fix: Search - Website crashes after exploring expenses in search for some time. #52888

Closed Krishna2323 closed 22 hours ago

Krishna2323 commented 23 hours ago

Explanation of Change

Fixed Issues

$ https://github.com/Expensify/App/issues/52864 PROPOSAL: https://github.com/Expensify/App/issues/52868

Tests

TEST 1

  1. Log in with an account with several expenses on it.
  2. Tap on search on the bottom of the page.
  3. Open any expense.
  4. Tap on the arrow on the top left corner.
  5. Open a different expense.
  6. Tap on the arrow on the top left corner.
  7. Repeat steps 4 - 5 a few more times.
  8. Verify that the user can continue exploring all the expenses without the website crashing.

TEST 2

  1. Open any group chat or create one if necessary.
  2. Tap on the group header.
  3. Tap on "Leave"
  4. Verify the user succesfully left and the group disappeared from LHN.

Offline tests

TEST 1

  1. Log in with an account with several expenses on it.
  2. Tap on search on the bottom of the page.
  3. Open any expense.
  4. Tap on the arrow on the top left corner.
  5. Open a different expense.
  6. Tap on the arrow on the top left corner.
  7. Repeat steps 4 - 5 a few more times.
  8. Verify that the user can continue exploring all the expenses without the website crashing.

TEST 2

  1. Open any group chat or create one if necessary.
  2. Tap on the group header.
  3. Tap on "Leave"
  4. Verify the user succesfully left and the group disappeared from LHN.

QA Steps

TEST 1

  1. Log in with an account with several expenses on it.
  2. Tap on search on the bottom of the page.
  3. Open any expense.
  4. Tap on the arrow on the top left corner.
  5. Open a different expense.
  6. Tap on the arrow on the top left corner.
  7. Repeat steps 4 - 5 a few more times.
  8. Verify that the user can continue exploring all the expenses without the website crashing.

TEST 2

  1. Open any group chat or create one if necessary.
  2. Tap on the group header.
  3. Tap on "Leave"
  4. Verify the user succesfully left and the group disappeared from LHN.

// TODO: These must be filled out, or the issue title must include "[No QA]."

PR Author Checklist

Screenshots/Videos

Android: Native https://github.com/user-attachments/assets/b3cceb0b-87e5-4f8f-b12d-46236db30b23
Android: mWeb Chrome https://github.com/user-attachments/assets/1bbbdbe9-d3a6-4547-9de4-d02736f53633
iOS: Native https://github.com/user-attachments/assets/400dba79-6ffd-4968-b365-7acc1ec33f16
iOS: mWeb Safari https://github.com/user-attachments/assets/87cc2d39-4abe-4bc7-aeba-2231c708ecbb
MacOS: Chrome / Safari https://github.com/user-attachments/assets/48858d14-b884-4736-b15b-2f5fa82d01da
MacOS: Desktop https://github.com/user-attachments/assets/d191b745-76b8-46cb-bc95-11db36d53bfa
melvin-bot[bot] commented 23 hours ago

@thesahindia 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]

rayane-djouah commented 22 hours ago

Reviewer Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome https://github.com/user-attachments/assets/3b0eb416-6bc2-49ce-bf08-0e4ef17fda27
iOS: Native https://github.com/user-attachments/assets/4eb8fe55-3f82-4241-8530-3385b715470d
iOS: mWeb Safari https://github.com/user-attachments/assets/83d66a08-dc1c-4a6e-8d53-2a9f509b6902
MacOS: Chrome / Safari https://github.com/user-attachments/assets/c2e823ec-b789-4091-9955-69e9034f63c2
MacOS: Desktop https://github.com/user-attachments/assets/80c0e15a-fad3-4ebf-91e6-403e718d27bd
OSBotify commented 22 hours ago

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

github-actions[bot] commented 21 hours ago

🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.0.65-2 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅
🤖🔄 android HybridApp 🤖🔄 success ✅
🍎🔄 iOS HybridApp 🍎🔄 success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.