From 89a92c6351a4cea85e9b914a9d147975c019dcc0 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 31 Jul 2023 18:04:14 +0100 Subject: [PATCH] Bump pagination sizes due to hidden events (#11342) Such as threaded events in the main timeline causing no events to be added to the timeline --- src/components/structures/TimelinePanel.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/structures/TimelinePanel.tsx b/src/components/structures/TimelinePanel.tsx index 14c4b952b7..e70f5ad8d2 100644 --- a/src/components/structures/TimelinePanel.tsx +++ b/src/components/structures/TimelinePanel.tsx @@ -58,8 +58,10 @@ import { getKeyBindingsManager } from "../../KeyBindingsManager"; import { KeyBindingAction } from "../../accessibility/KeyboardShortcuts"; import { haveRendererForEvent } from "../../events/EventTileFactory"; -const PAGINATE_SIZE = 20; -const INITIAL_SIZE = 20; +// These pagination sizes are higher than they may possibly need be +// once https://github.com/matrix-org/matrix-spec-proposals/pull/3874 lands +const PAGINATE_SIZE = 50; +const INITIAL_SIZE = 30; const READ_RECEIPT_INTERVAL_MS = 500; const READ_MARKER_DEBOUNCE_MS = 100;