Inbox: conversations older than the newest 200 letters, and older texts in a chat #265

Closed
opened 2026-10-22 04:04:13 +00:00 by littlefox · 2 comments
Owner

Left from #237 (performance, 0.6): the inbox builds its conversations from the newest 200 texts in the letterbox (LOOK_AT), and a chat shows its last 50 (CHAT_TEXTS). Older conversations can't be reached, and a chat has no way to scroll further back. Load more as the list or the chat is scrolled, with the windowed list of #236.

Left from #237 (performance, 0.6): the inbox builds its conversations from the newest 200 texts in the letterbox (`LOOK_AT`), and a chat shows its last 50 (`CHAT_TEXTS`). Older conversations can't be reached, and a chat has no way to scroll further back. Load more as the list or the chat is scrolled, with the windowed list of #236.
Author
Owner

Moved to 0.7 (D-063). Direct-message chats should share the thread chat from #283, which makes older letters and older texts in a chat close to free.

Moved to 0.7 (D-063). Direct-message chats should share the thread chat from #283, which makes older letters and older texts in a chat close to free.
Author
Owner

Verified, merged in #309; main green (run #548).

  • e2e/tests/inbox-older.spec.ts, desktop/android/iphone, also with 30 ms latency: Ivar (seed: 5 letters from Bertil, then 30 from Anna) with small test pages (window.__neokomInboxPages = [10, 10]) sees only Anna's conversation at first; "Visa äldre samtal" brings in older ones until Bertil's appears and the button goes away; in Anna's chat, "Visa äldre" goes from her 10 newest to 20, then 30, down to "Brev 1 från Anna.", with the place kept and no scroll jump.
  • The first CI run caught a race in the spec (a click on the button as it went away), fixed in the spec; the view itself was right.
  • Screenshot checked: inbox-older.png.
Verified, merged in #309; main green (run #548). - `e2e/tests/inbox-older.spec.ts`, desktop/android/iphone, also with 30 ms latency: Ivar (seed: 5 letters from Bertil, then 30 from Anna) with small test pages (`window.__neokomInboxPages = [10, 10]`) sees only Anna's conversation at first; "Visa äldre samtal" brings in older ones until Bertil's appears and the button goes away; in Anna's chat, "Visa äldre" goes from her 10 newest to 20, then 30, down to "Brev 1 från Anna.", with the place kept and no scroll jump. - The first CI run caught a race in the spec (a click on the button as it went away), fixed in the spec; the view itself was right. - Screenshot checked: `inbox-older.png`.
littlefox referenced this issue from a commit 2026-10-24 13:23:56 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
littlefox/neokom#265
No description provided.