fixes, cleanup, now properly renders ancestors etc

This commit is contained in:
Henry Jameson 2026-09-09 15:37:29 +03:00
commit ed7a1e70e8
4 changed files with 36 additions and 28 deletions

View file

@ -81,7 +81,7 @@ export function useTreeConversationTopology(conversation, replies, current) {
})
const threadDisplay = computed(() => {
return new Map(
[...threadDisplayOverride.value.entries()].map(([k, v]) => [
[...threadDisplayDefault.value.entries()].map(([k, v]) => [
k,
threadDisplayOverride.value.get(k) ?? threadDisplayDefault.value.get(k),
]),

View file

@ -1,5 +1,5 @@
import { storeToRefs } from 'pinia'
import { computed, onMounted, ref, watch } from 'vue'
import { computed, ref, watch } from 'vue'
import { useMergedConfigStore } from 'src/stores/merged_config.js'
import { useStatusesStore } from 'src/stores/statuses.js'
@ -82,7 +82,7 @@ export function useVirtualScrolling(conversation, body) {
watch(windowHeight, updateBoundaries)
watch(scrollY, updateBoundaries)
watch(totalHeight, updateBoundaries)
onMounted(updateBoundaries)
watch(body, updateBoundaries)
const heightChart = computed(() => {
// Map every height and suspendable state