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

Add error for failure invited member v2 #41479

Open nkdengineer opened 2 weeks ago

nkdengineer commented 2 weeks ago

Details

Add error for failure invited member

Fixed Issues

$ https://github.com/Expensify/App/issues/39495 https://github.com/Expensify/App/issues/41133 PROPOSAL: https://github.com/Expensify/App/issues/39495#issuecomment-2045422039

Tests

Precondition: Create a room in a workspace

  1. Go to the room
  2. Click on header > Members > Invite
  3. Enter an VOIP number i.e. +18183305299 and invite the user
  4. Verify that after a few second, the error appears.
  5. Go back to report detail page and open member page again
  6. Verify that the error member still appears
  7. Click on close icon
  8. Verify that the fail member is cleared
    • [x] Verify that no errors appear in the JS console

Offline tests

None

QA Steps

Precondition: Create a room in a workspace

  1. Go to the room
  2. Click on header > Members > Invite
  3. Enter an VOIP number i.e. +18183305299 and invite the user
  4. Verify that after a few second, the error appears.
  5. Go back to report detail page and open member page again
  6. Verify that the error member still appears
  7. Click on close icon
  8. Verify that the fail member 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/9e61dec3-1ec4-4b31-9dd6-971e60f3ee64
Android: mWeb Chrome https://github.com/Expensify/App/assets/161821005/62c62abe-b48a-41f0-bac3-0ed60e738607
iOS: Native https://github.com/Expensify/App/assets/161821005/866b525e-a3bb-4163-88b3-696d5a446e1c
iOS: mWeb Safari https://github.com/Expensify/App/assets/161821005/dbaeb2db-04be-4745-810f-a890fc4fbaa7
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/161821005/3ed4c497-25b0-4f40-a0bc-4782fe3e55e7 https://github.com/Expensify/App/assets/161821005/214503a2-1994-4ca5-95f6-020526c5af15
MacOS: Desktop https://github.com/Expensify/App/assets/161821005/26290acf-2536-40ee-b9fa-38dbd565ccbe
melvin-bot[bot] commented 2 weeks ago

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

nkdengineer commented 1 week ago

@akinwale Friendly bump.

akinwale commented 5 days ago

Reviewer Checklist

Screenshots/Videos

Android: Native https://github.com/Expensify/App/assets/4160319/c2f3e273-eae1-4a68-8eab-e669162e526d
Android: mWeb Chrome https://github.com/Expensify/App/assets/4160319/5a1429c3-65c5-4cb0-bbf7-5e5506f8453a
iOS: Native https://github.com/Expensify/App/assets/4160319/7739274c-d98c-4eca-b070-086cf8556a77
iOS: mWeb Safari https://github.com/Expensify/App/assets/4160319/bc739040-6029-4072-a6e5-cdfd7643454a
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/4160319/5d544197-723b-4284-8175-5787fd1c1365
MacOS: Desktop https://github.com/Expensify/App/assets/4160319/58120040-f801-40ee-8fd0-0e972d338bb7
puneetlath commented 4 days ago

Nice job. You have conflicts now though. Please merge main.

nkdengineer commented 2 days ago

@puneetlath I merged main.

puneetlath commented 2 days ago

Typescript check is failing.

nkdengineer commented 2 days ago

@puneetlath This fails on main, merged latest main to fix this.