HomePhabricator
Diffusion Comm b18a354ea61d

[web] Display the number of pinned messages in a banner across chat

Description

[web] Display the number of pinned messages in a banner across chat

Summary:
Each thread that has pinned messages should display a banner across the top indicating the count.

Linear: https://linear.app/comm/issue/ENG-3448/display-the-number-of-pinned-messages-in-a-banner-across-chat

Depends on D7309

Test Plan:
Check threads that have 1) 0 pinned messages, 2) 1 pinned messages, 3) >1 pinned messages

Screenshot 2023-04-04 at 10.31.28 PM.png (1×3 px, 351 KB)

Screenshot 2023-04-04 at 10.31.19 PM.png (1×3 px, 325 KB)

Screenshot 2023-04-04 at 10.31.13 PM.png (1×3 px, 371 KB)

Reviewers: atul, ginsu, tomek

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D7310

Details

Provenance
RohanK6 <rohan.khanderia@gmail.com>Authored on Apr 5 2023, 5:53 AM
rohanCommitted on Apr 25 2023, 5:59 PM
Reviewer
tomek
Differential Revision
D7310: [web] Display the number of pinned messages in a banner across chat
Parents
rCOMMb1858ff3fc16: [web] Pop up a pin/unpin modal when the tooltip icon is clicked
Branches
Unknown
Tags
Unknown