Skip to content

v0.3.0

Choose a tag to compare

@ralyodio ralyodio released this 03 Sep 21:17
· 5 commits to main since this release
57d33ad

Unread indicators, and a way to catch up

A forum row on the board index now lights up, with an "N new" count beside its name, when it or any subforum holds a topic you have not read. Categories roll their forums up, so the index answers whether there is anything new below without a click.

Signed-in members get a Mark all read bar above the categories (and on Latest), and each forum page gets Mark forum read, which covers its subforums. Both write one marker per forum rather than a row per topic, so the cost stays flat however big the board grows.

Posting a topic or a reply now marks it read for its author. Before, the topic you had just written showed as unread to you until you opened it again.

For API clients: POST /api/v1/read and POST /api/v1/forums/{slug}/read, and the forum listings carry an unread count per forum. See docs/API.md.

No migration is needed; the forum_reads table has been in the schema since 0.1.0 and is now used.

Full changes: #9, #10.