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

Fix cannot create task for new user via [] method #41171

Closed nkdengineer closed 1 week ago

nkdengineer commented 2 weeks ago

Details

Fix cannot create task for new user via [] method

Fixed Issues

$ https://github.com/Expensify/App/issues/40518 PROPOSAL: https://github.com/Expensify/App/issues/40518#issuecomment-2065884551

Tests

  1. Open any chat
  2. Type [] @<new user that doesn't appear in suggestions mention list>
  3. Send to the chat
  4. Verify that the task is created with new user
    • [x] Verify that no errors appear in the JS console

Offline tests

Same as above

QA Steps

  1. Open any chat
  2. Type [] @<new user that doesn't appear in suggestions mention list>
  3. Send to the chat
  4. Verify that the task is created with new user
    • [x] Verify that no errors appear in the JS console

PR Author Checklist

Screenshots/Videos

Android: Native https://github.com/Expensify/App/assets/161821005/14dc4d07-09c5-416e-a65b-b9e28cf224d4
Android: mWeb Chrome https://github.com/Expensify/App/assets/161821005/9acbe8e9-ac99-4edc-81d5-722b1597c844
iOS: Native https://github.com/Expensify/App/assets/161821005/66112b94-cb80-4d4d-832f-af92a93a9f74
iOS: mWeb Safari https://github.com/Expensify/App/assets/161821005/0af3d1ea-2aeb-4de0-95e8-0a6aacc79d4f
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/161821005/0c0a8097-9b4a-4014-8ee3-60680eddc182
MacOS: Desktop https://github.com/Expensify/App/assets/161821005/b7e8d795-0b5a-460b-bc09-6a380cf082ef
melvin-bot[bot] commented 2 weeks ago

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

s77rt commented 1 week ago

Reviewer Checklist

Screenshots/Videos

Android: Native https://github.com/Expensify/App/assets/16493223/b494ec52-05b8-48d9-ae2b-8c621a5f0ae8
Android: mWeb Chrome https://github.com/Expensify/App/assets/16493223/fde1fdcd-4e80-4203-b6c1-2070b2a31423
iOS: Native https://github.com/Expensify/App/assets/16493223/10879134-5f07-487d-9035-5125ffa5ccc3
iOS: mWeb Safari https://github.com/Expensify/App/assets/16493223/7874f887-32fe-4496-9b9e-e0fa0d08c1cf
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/16493223/3715c116-b87c-449c-91a6-d060b4eccab1
MacOS: Desktop https://github.com/Expensify/App/assets/16493223/98455db3-6daf-4de3-b0ac-a568300e59c5
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 1 week ago

🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.71-6 🚀

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