From c83e96b8a740a44f565068d06c4f12eef486b7e5 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 13 Jul 2024 12:26:16 +0200 Subject: [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 --- internal/api/model/status.go | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'internal/api/model/status.go') diff --git a/internal/api/model/status.go b/internal/api/model/status.go index 00be868f1..a9c668565 100644 --- a/internal/api/model/status.go +++ b/internal/api/model/status.go @@ -126,8 +126,17 @@ type WebStatus struct { // display this status in the web view. Indent int - // This status is the first status after - // the "main" thread, so it and everything + // This status is the last visible status + // in the main thread, so everything below + // can be considered "replies". + ThreadLastMain bool + + // This status is the one around which + // the thread context was constructed. + ThreadContextStatus bool + + // This status is the first visibile status + // after the "main" thread, so it and everything // below it can be considered "replies". ThreadFirstReply bool } -- cgit v1.2.3