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)
Mon, May 6, 1:05 AM
Unknown Object (File)
Apr 5 2024, 8:42 AM
Unknown Object (File)
Apr 1 2024, 2:14 PM
Unknown Object (File)
Mar 30 2024, 9:50 AM
Unknown Object (File)
Mar 28 2024, 10:22 PM
Unknown Object (File)
Mar 28 2024, 10:17 PM
Unknown Object (File)
Mar 28 2024, 10:17 PM
Unknown Object (File)
Mar 28 2024, 10:17 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)