Add "Who can reply" controls [WIP] (#1954)
* Add threadgating * UI improvements * More ui work * Remove comment * Tweak colors * Add missing keys * Tweak sizing * Only show composer option on non-reply * Flex wrap fix * Move the threadgate control to the top of the composer
This commit is contained in:
parent
f5d014d4c7
commit
28fa5e4919
21 changed files with 883 additions and 148 deletions
|
@ -468,7 +468,7 @@ function* flattenThreadSkeleton(
|
|||
yield PARENT_SPINNER
|
||||
}
|
||||
yield node
|
||||
if (node.ctx.isHighlightedPost) {
|
||||
if (node.ctx.isHighlightedPost && !node.post.viewer?.replyDisabled) {
|
||||
yield REPLY_PROMPT
|
||||
}
|
||||
if (node.replies?.length) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue