Threads 1a: a channel as a list of threads #282

Closed
opened 2026-10-22 14:41:24 +00:00 by littlefox · 1 comment
Owner

Part 1a of #242 (split on 2026-10-22, D-063). The approved design and mockups are on #242.

The channel as a list of threads:

  • one card per thread: subject, author, the start of the root's text, and a reply bar (avatars, "N svar · senast HH:MM Name", "N nya");
  • replies get no cards of their own;
  • ordered by latest activity, newest at the bottom; a reply moves its thread down;
  • "Ny tråd" marks a new thread until it's seen, with "Inga svar ännu · Svara" as its reply bar;
  • "Starta en ny tråd i …" at the bottom.

Built on Kom::thread_info and thread_root (#243) and the windowed list (#236). Until 1e, it sits behind a temporary setting, with the classic view as the default.

Tests:

  • seed one-off posts, a short thread and a new thread;
  • e2e for the list order, reply bars and "Ny tråd";
  • screenshots on desktop and phone.
Part 1a of #242 (split on 2026-10-22, D-063). The approved design and mockups are on #242. **The channel as a list of threads:** - one card per thread: subject, author, the start of the root's text, and a reply bar (avatars, "N svar · senast HH:MM Name", "N nya"); - replies get no cards of their own; - ordered by latest activity, newest at the bottom; a reply moves its thread down; - "Ny tråd" marks a new thread until it's seen, with "Inga svar ännu · Svara" as its reply bar; - "Starta en ny tråd i …" at the bottom. Built on `Kom::thread_info` and `thread_root` (#243) and the windowed list (#236). Until 1e, it sits behind a temporary setting, with the classic view as the default. Tests: - seed one-off posts, a short thread and a new thread; - e2e for the list order, reply bars and "Ny tråd"; - screenshots on desktop and phone.
littlefox added this to the 0.7: Threads milestone 2026-10-22 14:41:24 +00:00
Author
Owner

Merged in #297; main run #485 green. Verified: e2e thread-list.spec in desktop/android/iphone profiles (order by latest activity, reply bars, '1 ny' tag, 'Ny tråd', Svara/new thread, live reply moving a thread down, opening at first unread), full e2e suite 341 passed, devserver integration test channel_threads (paging, after, thread_unread), lint with CI's three clippy commands. Screenshots looked at on desktop and phone.

Merged in #297; main run #485 green. Verified: e2e thread-list.spec in desktop/android/iphone profiles (order by latest activity, reply bars, '1 ny' tag, 'Ny tråd', Svara/new thread, live reply moving a thread down, opening at first unread), full e2e suite 341 passed, devserver integration test channel_threads (paging, after, thread_unread), lint with CI's three clippy commands. Screenshots looked at on desktop and phone.
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#282
No description provided.