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
F3489363: D8224.id27919.diff
Wed, Dec 18, 12:20 PM
F3488484: D8224.diff
Wed, Dec 18, 10:09 AM
Unknown Object (File)
Sat, Dec 7, 12:25 AM
Unknown Object (File)
Mon, Dec 2, 2:34 PM
Unknown Object (File)
Mon, Nov 25, 2:47 PM
Unknown Object (File)
Sat, Nov 23, 1:04 PM
Unknown Object (File)
Sat, Nov 23, 7:02 AM
Unknown Object (File)
Nov 1 2024, 4:15 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
Branch
kuba/block-creating
Lint
No Lint Coverage
Unit
No Test Coverage