mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore/frontend] Tweak threading a bit, inform about hidden replies (#3097)
* [chore/frontend] Tweak threading a bit, inform about hidden replies * whoops * round off bottom of replies col-header if no replies visible
This commit is contained in:
@ -29,15 +29,16 @@ type ThreadContext struct {
|
||||
}
|
||||
|
||||
type WebThreadContext struct {
|
||||
// Parents in the thread.
|
||||
Ancestors []*WebStatus `json:"ancestors"`
|
||||
// Status around which this
|
||||
// thread ctx was constructed.
|
||||
Status *WebStatus
|
||||
|
||||
// Children in the thread.
|
||||
Descendants []*WebStatus `json:"descendants"`
|
||||
|
||||
// The status around which the ancestors
|
||||
// + descendants context was constructed.
|
||||
Status *WebStatus `json:"-"`
|
||||
// Ordered slice of statuses
|
||||
// for rendering in template.
|
||||
//
|
||||
// Includes ancestors, target
|
||||
// status, and descendants.
|
||||
Statuses []*WebStatus
|
||||
|
||||
// Total length of
|
||||
// the main thread.
|
||||
|
Reference in New Issue
Block a user