Page MenuHomePhabricator

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

Authored by benschac on Apr 21 2022, 10:00 AM.
Tags
None
Referenced Files
F3393211: D3810.id11735.diff
Sat, Nov 30, 12:32 PM
Unknown Object (File)
Wed, Nov 27, 5:42 PM
Unknown Object (File)
Wed, Nov 27, 3:37 PM
Unknown Object (File)
Wed, Nov 20, 1:26 AM
Unknown Object (File)
Tue, Nov 19, 5:45 PM
Unknown Object (File)
Tue, Nov 19, 5:45 PM
Unknown Object (File)
Tue, Nov 19, 5:44 PM
Unknown Object (File)
Tue, Nov 19, 5:42 PM

Details

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.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

benschac edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Apr 26 2022, 9:51 AM