Page MenuHomePhabricator

[web] Unify behaviour of chat composer with native
ClosedPublic

Authored by kuba on Jun 15 2023, 1:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 4:15 PM
Unknown Object (File)
Sat, Oct 26, 11:43 PM
Unknown Object (File)
Sat, Oct 26, 11:43 PM
Unknown Object (File)
Sat, Oct 26, 11:42 PM
Unknown Object (File)
Sat, Oct 26, 11:35 PM
Unknown Object (File)
Wed, Oct 23, 2:37 AM
Unknown Object (File)
Oct 3 2024, 1:26 AM
Unknown Object (File)
Sep 28 2024, 7:09 PM
Subscribers

Details

Summary

An updated version of https://phab.comm.dev/D5518 (in the new stack). Task: https://linear.app/comm/issue/ENG-4022/[web]-unify-behaviour-of-chat-composer-with-native

The web app should behave as the native app:

  • when selecting someone in the chat composer who isn't a friend, and when nobody else is selected, the web app should exit the search and create a 1-1 thread with this user
  • should display an alert if you try to add a non-friend when you have already selected some users
  • should display an alert on blocked users
Test Plan
  • select a friend, create chat
  • select a non-friend -> search should end and chat should be displayed without the search bar
  • select a friend, than a non-friend -> alert should be displayed
  • select a blocked user -> alert should be displayed

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable