Inbox: conversations older than the newest 200 letters, and older texts in a chat #265
Labels
No labels
area/ci
area/desktop
area/packaging
area/protocol
area/reading
area/ui
area/web
area/writing
kind/bug
kind/feature
kind/infra
kind/request
needs/user
parked
perf
security
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
littlefox/neokom#265
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.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.
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.inbox-older.png.