Reading behind the composer marks unseen posts read #192
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#192
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?
User: "When in the "new post" screen, you can click a channel to "see" an unread post, marking it as read. You can do this over and over without closing the "new post" screen and keep marking posts you never saw as read"
Cause: the reading column shows one pane by priority (search > profile > channel directory > inbox > composer > channel status > post). Reading actions (a channel in the list, "Läs nästa"/space, a post link) read the next post and mark it read, but don't close the pane in front of it, so the post is never seen. Same with the inbox, the directory, search and a profile open.
Fix: anything that shows a post or channel first closes what's in front of it. A draft being written is kept (it's saved on the device as it's typed) and a line "Ditt utkast är sparat — Fortsätt skriva / Släng" stays above the reader until it's resumed, sent or thrown away.
Fixed in #193 (merged). Reading actions now close the composer, inbox, directory, search or profile before showing the post they read; an open draft is kept with a "Ditt utkast är sparat — Fortsätt skriva / Släng" line. Verified with e2e/tests/unseen.spec.ts (draft with text: post visible, draft resumable and discardable; empty composer just closes; inbox closes) on desktop, Android and iPhone, plus the drafts, inbox and compose specs; screenshots draft-aside.png checked.