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

Allow flags of all non-Concierge whispers #41622

Closed dangrous closed 3 days ago

dangrous commented 2 weeks ago

Details

Need to fix on the backend as well, also need to make sure this doesn't allow flagging on anything it shouldn't

Fixed Issues

$ https://github.com/Expensify/Expensify/issues/389347 PROPOSAL: N/A

Tests

Same as QA - you'll need to check out https://github.com/Expensify/Auth/pull/10829 if it's not yet merged for local testing

Offline tests

QA Steps

  1. As user 1, invite user 2 to a new workspace and use custom invite text - "MODERATION_TEST"
  2. As user 2, ensure you can flag the invite whisper as intimidation (or any other level of flag).
  3. Ensure the appropriate whispers are sent (one to flagger, one to flaggee) and the message is hidden appropriately.

PR Author Checklist

Screenshots/Videos

Android: Native ![android](https://github.com/Expensify/App/assets/5487802/022185c7-1e70-4e69-8217-96dd72275536)
Android: mWeb Chrome ![android_chrome](https://github.com/Expensify/App/assets/5487802/a78a2142-c151-4ad1-bee2-37201e20191f)
iOS: Native My dev is not cooperating at all, this one will not load for me. It should work though given that the change is not platform or visual specific
iOS: mWeb Safari ![ios_safari](https://github.com/Expensify/App/assets/5487802/1809bd6f-8f7d-4a34-a2ab-a70bd25437d8)
MacOS: Chrome / Safari web
MacOS: Desktop desktop
melvin-bot[bot] commented 4 days ago

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

jasperhuangg commented 4 days ago

Think we need to HOLD this on the deploy of the Auth PR in order for QA to pass

dangrous commented 4 days ago

Ah yeah, fair - I'll put that in the title and follow

dangrous commented 4 days ago

oh you already did whoops haha

jasperhuangg commented 4 days ago

Reviewer Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari Screenshot 2024-05-14 at 11 52 43 AM
MacOS: Desktop
jasperhuangg commented 3 days ago

Auth PR is on prod, taking the hold off.

OSBotify commented 3 days 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.