fix and refactor the way status focusing work

This commit is contained in:
Henry Jameson 2026-07-06 19:43:08 +03:00
commit ddc126f696
6 changed files with 32 additions and 55 deletions

View file

@ -8,9 +8,8 @@
:inline-expanded="collapsable && isExpanded"
:expandable="!isExpanded"
:show-pinned="pinnedStatusIdsObject && pinnedStatusIdsObject[status.id]"
:focused="isFocusedFunction(status.id)"
:in-conversation="isExpanded"
:highlight="highlight === status.id"
:focused="focused === status.id || focused === status.retweeted_status?.id"
:in-profile="inProfile"
:profile-user-id="profileUserId"
class="conversation-status conversation-status-treeview status-fadein panel-body"
@ -42,10 +41,8 @@
:pinned-status-ids-object="pinnedStatusIdsObject"
:profile-user-id="profileUserId"
:is-focused-function="isFocusedFunction"
:get-replies="getReplies"
:highlight="highlight"
:set-highlight="setHighlight"
:focused="focused"
:toggle-expanded="toggleExpanded"
:simple="simple"