diving deeper into refactoring threads

This commit is contained in:
Henry Jameson 2026-06-30 06:00:41 +03:00
commit 415844e3da
6 changed files with 32 additions and 93 deletions

View file

@ -105,9 +105,10 @@
:profile-user-id="profileUserId"
:simple-tree="treeViewIsSimple"
:show-other-replies-as-button="showOtherRepliesButtonInsideStatus"
:dive="() => diveIntoStatus(status.id)"
can-dive
@goto="setHighlight"
@dive="() => diveIntoStatus(status.id)"
@suspendable-state-change="onStatusSuspendStateChange"
/>
<div
@ -160,12 +161,13 @@
:toggle-expanded="toggleExpanded"
:simple="treeViewIsSimple"
:toggle-thread-display="toggleThreadDisplay"
:thread-display-status="threadDisplayStatus"
:show-thread-recursively="showThreadRecursively"
:total-reply-count="totalReplyCount"
:total-reply-depth="totalReplyDepth"
:dive="canDive ? diveIntoStatus : undefined"
:can-dive="canDive"
@dive="diveIntoStatus"
@suspendable-state-change="onStatusSuspendStateChange"
/>
</div>