-
-
- {{ translateText("chat.loadOlder") }}
-
-
+
+
{{ translateText("chat.noMessages") }}
@@ -176,6 +346,7 @@ watch(
/>
+
diff --git a/app/pages/chat.vue b/app/pages/chat.vue
index 132be0c..3c16d88 100644
--- a/app/pages/chat.vue
+++ b/app/pages/chat.vue
@@ -5,6 +5,7 @@ import { useChatMedia } from "~/composables/useChatMedia";
import {
buildReactionSummaryByEventId,
mapTimelineEventsToMessages,
+ resolveTimelineWindowSelection,
} from "~/utils/chatTimeline";
type PresenceStatus = "online" | "away" | "busy" | "offline" | "unknown";
@@ -80,6 +81,8 @@ interface MemberItem {
const MOBILE_BREAKPOINT = 1024;
const HOME_SPACE_ID = "__home__";
+const INITIAL_TIMELINE_WINDOW_SIZE = 80;
+const SCROLL_WINDOW_EXPAND_STEP = 40;
const {
client,
@@ -99,10 +102,18 @@ const {
const selectedRoomId = ref