Repository source: docs/plans/recent_readable_rows/recent_readable_rows_one_shot.md
Recent: rows lead with what was said
Cycle v3/recent_readable_rows · One-shot · Plans
Debug mode: enabled
Effort study: railspike-effort / v3/recent_readable_rows; host ledger recent_readable_rows.md. Standing P2 enrollment. Extended estimates: disabled.
Cycle estimate: 0.20
Status: implemented, PR open; next permitted action: maintainer merge, deploy and a look at Recent on a phone.
Original request
Feedback items PF-20261129-B05 ("Recent: replies look like copies of one post", from https://zenmemes.com/threads/thread-20261128212033-00b024b6) and PF-20261104-F69 ("Scannable Recent summaries", from https://zenmemes.com/posts/thread-20261103185300-870542f7).
On 2026-12-02 Ilya asked to pick the task up and for a mockup before the one-shot. The mockup (the live Recent page's 50 posts rearranged with the Gloss CSS, at 375px and 1100px) showed: the post's own text leading each row, a small "X replied in Thread · date" line above it, consecutive replies in one thread grouped under the first, and new threads keeping their title with two lines of body that skip what the title already shows.
Authorization
Ilya, 2026-12-02: "this looks great, there needs to be a little more separation between the items, you can go ahead and one-shot please. you can push straight to pr on gulkily/v3". This authorizes a one-shot of the mockup's row layout with more space between rows, pushing the branch and opening the PR. Not authorized: merging, deploying, changes to which posts Recent lists or their order, or to Recent's URLs and paging.
Outcome and work type
Application change to the Recent row (templates/partials/recent_entry.php), which /recent/ and the Unread page share.
A reply row leads with the reply's own text (up to three lines) under a context line "<author> replied in <thread title> · <date>". The thread title links to the thread; the text links to the reply in it.
A run of replies in the same thread, one after another in the list, shows the thread title once: later rows say "<author> replied · <date>" and sit indented under the first.
A new thread row shows "<author> started a thread · <date>", then its title, then up to two lines of body. When the title was taken from the body, the body line starts where the title stopped instead of repeating it (the second cause named in B05).
Rows get more space between them (Ilya's note on the mockup).
Approach and risks
The mockup chose the approach; no alternatives were compared. Risks:
Themes restyle rows. 22 themes style
.thread-rowparts; Ochre hides excerpts and numbers rows, several override the row separator with:root[data-theme]selectors. Mitigation: keep the row's existing classes (thread-row__title,thread-row__excerpt,thread-row__meta) where they mean the same thing, add new classes only for the reply text and the context line, and screenshot Recent in every theme at phone width.Tests count rows by the exact class string
class="thread-row recent-entry". Mitigation: mark reply/continuation state with data attributes, not classes, so the count stays valid.Unread shares the partial. Its sections list posts oldest first; grouping still only joins neighbours from the same thread, so it applies there unchanged. Check Unread renders.
Reuse decisions
templates/partials/recent_entry.php: changed in place;templates/pages/recent.phpandtemplates/pages/inbox.phpkeep including it.RecentPageController::present(): extended with the reply text, the "continues the thread above" mark and the title-free body line; Unread'sInboxPageControllerand its fixture already call it.Template helpers
$authorWithoutChipand$rowMeta($item, 'created_at', false)(date plus Pending chip) build the context line; no new author or date markup.ThreadTitle::displayTitle()stays the source of titles and excerpts.Row grid, thumbnail and separator rules in
public/assets/site.css(.thread-row,.thread-row--thumb); new rules extend them beside the existing.thread-row__excerptblock. No new component.
Completion conditions
/recent/ (and Unread) render the new rows on phone and desktop in every theme without overlap or lost text; the smoke set and RecentPostTest pass, with assertions for the context line, grouping and the repeated-opening fix; tests/browser/recent.mjs passes. Both item files updated (Workflow: blocked until deployed and seen on production). PR open.
Concepts touched: none.
Verification and recovery plan
./v3 test --smoke RecentPostTest plus the Unread page tests that render rows; node tests/browser/recent.mjs and the Unread browser test if the environment runs them; headless screenshots of /recent/ on a local instance in each theme at 375px and once at desktop width. The full suite is not run (maintainer runs it). Production is not verified. Recovery: the change is a template and CSS change; reverting the PR restores the old rows.
Starting revision and branch: bd8d3d4, feat/recent-readable-rows. Planning commit: 2fb732b. Completion commit: 5112ea98.
Study history
2026-12-02 UTC, intake and entry: 0.20. Claude, single exposed rater: the estimate was made after reading the Recent template, controller and theme rules and building the mockup, so it is not a blind intake. R1 not reverified this session.
2026-12-02 UTC, closeout: retrospective 0.25. The row change itself matched the estimate; two browser tests that already failed on
bd8d3d4were fixed in the work. Same rater. Maintainer comfortable-fit judgment pending.
Execution history
2026-12-02: claim check:
./v3 feedback claim --site=https://zenmemes.comreports the site keeps no backlog claims; no branch or PR names either item.2026-12-02: both items are
untriaged. Checked: real requests (reported by the maintainer and a triage reply), not already done on main, and F69 is the "more text in the summary" half of the same row change. Built together as one cycle.2026-12-02: first browser screenshots showed new-thread titles landing in the row's second grid column: the board's title is a row's first child, so it never needed a column, but here it follows the context line. Fixed with an explicit column (a correction inside this cycle).
2026-12-02:
RecentPostTestcaught that a reply whose thread is unavailable lost the words "Unavailable thread"; the context line now says "replied in Unavailable thread" without a link (correction).2026-12-02: pre-existing failures on
bd8d3d4, fixed per the rule that tests failing on the base commit are fixed in the work:tests/browser/recent.mjs(two Recent links in the header since phone tabs became earned slots, and Zalgo and Vaporgeist listed as permitted but off behind their flags) andtests/browser/inbox_catch_up.mjs(Node's fetch crashed withassert(!this.paused)while the startup poll loaded the whole Unread page). Recent now gives the test browser a Recent tab, reaches Recent through More on the no-JavaScript phone check, and turns both flagged themes on; Unread polls/api/versioninstead. Test changes only.
Outcome
Recent and Unread rows lead with what was said. A reply shows "<author> replied in <thread> · <date>" (Pending chip kept) and up to three lines of its own text; the thread title links to the thread, the text to the reply in it. A reply right after another post of the same thread says "<author> replied · <date>" and hangs under the row above, indented with a rule and no separator (
data-continues). A new thread shows "<author> started a thread · <date>", its title and up to two lines of body; when the title came from the body, the body line starts with "…" where the title stopped, or is left out when the title holds it all.Rows on Recent and Unread get 0.8rem above and below (board rows keep 0.6rem). Themes that set their own row padding (Ochre) keep it; Ochre still hides new-thread excerpts and thumbnails but shows reply text.
RecentPageController::present()addsthread_href,continues_threadand the title-free body line;recent_entry.phpmarks rows withdata-kindanddata-continuesso theclass="thread-row recent-entry"string tests count is unchanged.
Verification
Passed:
./v3 test --smoke RecentPostTest InboxPageTest(515/515).RecentPostTestadds checks for the context line, a five-reply run naming its thread once (fourdata-continuesrows), "started a thread", reply text as the row link, and a new test for the untitled-thread body line.Passed:
node tests/browser/recent.mjs(23 themes at 390 and 1280px, icons, no-JavaScript paging, anchored reply, Back/reload, offline reconnect) after fixing it.node tests/browser/inbox_catch_up.mjspassed 4 of 5 runs after its fix; one run still ended in Node's fetch crash, so it may be intermittent in this environment.Screenshots: zenmemes.com's public content imported into a scratch local instance (
./v3 import-instance),/recent/in all 23 themes at 390px and 1280px, none with horizontal overflow; reviewed every phone shot and Gloss, Ochre and Word 97 at desktop, plus Gloss, Ochre and Word 97 with list thumbnails on. Approvals were not imported, so every author shows Pending there.Not run: the full suite. Not verified: production, and Unread in a browser beyond
inbox_catch_up.mjs../v3 feedback checkreports one problem, in PF-20261202-F01 (its source line format); it is there onbd8d3d4too and is outside this cycle.
Final review
Diff: RecentPageController.php, recent_entry.php, site.css, RecentPostTest.php, the two browser tests, both feedback items, this record, the index, the ledger and the debug log. No query, ordering, URL or paging change. Reused the row grid, thumbnail column, author and date helpers; the only new classes are recent-entry__context, recent-entry__text and recent-entry__thread. Open point for the maintainer: continuation rows also apply on Unread, whose sections list oldest first.
Commit/merge/publication status: planning commit 2fb732b, completion commit 5112ea98, branch feat/recent-readable-rows pushed, PR #530 open. Not merged or deployed.
Claude Opus 5.5, 2026-12-02