Page MenuHomePhabricator

[web] Introduce "Create new chat" button
ClosedPublic

Authored by jacek on Jul 7 2022, 5:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 12:19 AM
Unknown Object (File)
Thu, Nov 21, 7:49 PM
Unknown Object (File)
Tue, Nov 12, 1:12 AM
Unknown Object (File)
Fri, Nov 8, 9:22 PM
Unknown Object (File)
Tue, Nov 5, 5:01 AM
Unknown Object (File)
Sat, Nov 2, 7:01 PM
Unknown Object (File)
Sat, Nov 2, 7:01 PM
Unknown Object (File)
Sat, Nov 2, 7:01 PM

Details

Summary

Primary button allowing to create new chats on the bottom of chat list.
Disabled if already in chat creation mode.

Screenshot_Google Chrome_2022-07-21_144948.png (397×821 px, 37 KB)

Test Plan

Click the button, new chat creation process (with empty user list) should be started.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks good!

web/chat/chat-thread-list.react.js
59 ↗(On Diff #14395)

This (and the title of this diff) should probably be renamed, as per D4539.

This revision is now accepted and ready to land.Jul 14 2022, 9:55 AM
web/chat/chat-thread-list.react.js
59 ↗(On Diff #14395)

Great catch!!

tomek added inline comments.
web/chat/chat-thread-list.react.js
33 ↗(On Diff #14395)

It's better to keep as much logic in useSelector as possible

rename thread to chat & address Tomek's comment

jacek retitled this revision from [web] Introduce "Create new thread" button to [web] Introduce "Create new chat" button.Jul 21 2022, 5:49 AM
jacek edited the summary of this revision. (Show Details)
jacek edited the test plan for this revision. (Show Details)
jacek edited the summary of this revision. (Show Details)