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
2.99k stars 2.5k forks source link

Display error when deleting receipt failure #41553

Closed nkdengineer closed 1 week ago

nkdengineer commented 2 weeks ago

Details

Display error when deleting receipt failure

Fixed Issues

$ https://github.com/Expensify/App/issues/40552 PROPOSAL: https://github.com/Expensify/App/issues/40552#issuecomment-2071998200

Tests

  1. Go to a DM chat and create a manual request
  2. Go to detail IOU page> Add receipt
  3. Go to 3-dots menu and select Delete
  4. Verify that if the receipt isn't deleted, the error appears
  5. Click on close icon and verify that the error is cleared
    • [x] Verify that no errors appear in the JS console

Offline tests

None

QA Steps

  1. Go to a DM chat and create a manual request
  2. Go to detail IOU page> Add receipt
  3. Go to 3-dots menu and select Delete
  4. Verify that if the receipt isn't deleted, the error appears
  5. Click on close icon and verify that the error is cleared
    • [x] Verify that no errors appear in the JS console

PR Author Checklist

Screenshots/Videos

Android: Native https://github.com/Expensify/App/assets/161821005/7383ef48-c15f-4f42-8e6a-99a563cd50fb
Android: mWeb Chrome https://github.com/Expensify/App/assets/161821005/8c4177d8-5077-4036-a5f8-c59cf6f3c1b3
iOS: Native https://github.com/Expensify/App/assets/161821005/6b32807c-159e-490a-b70b-b2bbee62062b
iOS: mWeb Safari https://github.com/Expensify/App/assets/161821005/a7773449-64ce-4dc0-b19d-5e0eb2937f87
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/161821005/144b2a6d-a2ea-40a9-84a0-2fe89f959b89
MacOS: Desktop https://github.com/Expensify/App/assets/161821005/7bc7762c-5927-4d5c-9c0a-e6b1c264979a
melvin-bot[bot] commented 2 weeks ago

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

allroundexperts commented 1 week ago

Reviewer Checklist

Screenshots/Videos

Android: Native Android build failing
Android: mWeb Chrome Screenshot 2024-05-10 at 12 53 39 AM
iOS: Native Screenshot 2024-05-10 at 12 47 51 AM
iOS: mWeb Safari Screenshot 2024-05-10 at 1 01 10 AM
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/30054992/53333da9-0e3f-42e4-8a31-065516afa5e1
MacOS: Desktop Screenshot 2024-05-10 at 12 46 07 AM
allroundexperts commented 1 week ago

@nkdengineer The x is not correctly aligned with rest of the menu items. Please fix.

Screenshot 2024-05-06 at 2 44 41 AM
nkdengineer commented 1 week ago

@nkdengineer The x is not correctly aligned with rest of the menu items. Please fix.

@allroundexperts I updated.

nkdengineer commented 1 week ago

@allroundexperts Any update here.

OSBotify commented 1 week 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.

OSBotify commented 5 days ago

🚀 Deployed to staging by https://github.com/MariaHCD in version: 1.4.73-0 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅
OSBotify commented 3 days ago

🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.73-7 🚀

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