Mark posts read when scrolled past #180

Closed
opened 2026-10-20 11:20:49 +00:00 by littlefox · 1 comment
Owner

User (D-052, point 5): "Like a normal chat, app I want the posts that I have scrolled past be marked as read. Now it is confusing to be returned to a post I just read by hitting space."

Plan: a post counts as read once it has been on screen (fully, or scrolled past) — the shown post and the reply cards under it alike. "Läs nästa" then never returns to something you've already seen. Marks go to the server, so other clients agree.

User (D-052, point 5): "Like a normal chat, app I want the posts that I have scrolled past be marked as read. Now it is confusing to be returned to a post I just read by hitting space." Plan: a post counts as read once it has been on screen (fully, or scrolled past) — the shown post and the reply cards under it alike. "Läs nästa" then never returns to something you've already seen. Marks go to the server, so other clients agree.
Author
Owner

Done in #198 (main run #335 green). An unread reply card counts as read once its end has been on screen for a second, or once it has been on screen and is scrolled past; it's marked read on the server, so space skips it. Not while the page is in the background or the reading column is hidden; cards never on screen stay unread; seen cards keep their full look until reading moves on. Verified with e2e/tests/seen.spec.ts (cards seen become read after a reload, the last reply never shown stays unread; a reply scrolled past after being shown is read) on desktop, Android and iPhone; full e2e 277 passed.

Done in #198 (main run #335 green). An unread reply card counts as read once its end has been on screen for a second, or once it has been on screen and is scrolled past; it's marked read on the server, so space skips it. Not while the page is in the background or the reading column is hidden; cards never on screen stay unread; seen cards keep their full look until reading moves on. Verified with e2e/tests/seen.spec.ts (cards seen become read after a reload, the last reply never shown stays unread; a reply scrolled past after being shown is read) on desktop, Android and iPhone; full e2e 277 passed.
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#180
No description provided.