hasThreadgate
viewer state on posts
#1899
Closed
mary-ext
started this conversation in
Bluesky Lexicons
Replies: 2 comments 3 replies
-
(generally try to move this type of design question from "Issues" to "Discussions") @dholms any thoughts on this one? |
Beta Was this translation helpful? Give feedback.
2 replies
-
You should be able to find the threadgate record on the root post of the thread. It also has hydrated information about any lists referenced by the threadgate. The lexicon for this lives here: atproto/lexicons/app/bsky/feed/defs.json Line 34 in 7edad62 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
Right now, apps can't show any indication of there actually being a threadgate in place until it finishes retrieving the threadgate record (if it even exists)
The
canReply
bool isn't useful for this as ideally apps should also show the indication on users who are able to reply.Describe the solution you'd like
A
hasThreadgate
viewer state, ideally linking to the record URI of the threadgateDescribe alternatives you've considered
Always retrieve the threadgate after retrieving the post thread, the problem is that this would push existing content around (UX issue), one way to fix this would be to block page rendering entirely, but this can be problematic with unstable networks
Additional context
None.
Beta Was this translation helpful? Give feedback.
All reactions