HomePhabricator
Diffusion Comm 0d0f869b628a

[web] [feat] [ENG-991] add show promote thread logic to web

Tags
None
Referenced Files
F43080: Image 2022-04-21 at 1.04.21 PM.jpg
May 4 2022, 4:41 AM
F43081: Image 2022-04-21 at 1.06.06 PM.jpg
May 4 2022, 4:41 AM
Subscribers
None

Description

[web] [feat] [ENG-991] add show promote thread logic to web

Summary:
add logic to promote chats that are promotable

no promote

Image 2022-04-21 at 1.04.21 PM.jpg (1×2 px, 261 KB)

promote

Image 2022-04-21 at 1.06.06 PM.jpg (1×2 px, 70 KB)

Test Plan: click on a sidebar that meets promotable criteria, promote option should be shown to you as an end user. Go to a non-promotable sidebar, it shouldn't have the promote option. logic was moved into the lib/hooks/promote-thread hook in a previous commit D3807. No new logic was introduced.

Reviewers: atul, palys-swm, def-au1t, yayabosh

Reviewed By: palys-swm

Subscribers: ashoat, Adrian, karol-bisztyga

Differential Revision: https://phabricator.ashoat.com/D3810

Details

Provenance
benschacAuthored on Apr 29 2022, 7:26 AM
Reviewer
tomek
Differential Revision
D3810: [web] [feat] [ENG-991] add show promote thread logic to web
Parents
rCOMM3263b7e9a3f0: [web] [feat] [ENG-991] add modal prompt
Branches
Unknown
Tags
Unknown