|
2026-09-24
| ||
| 00:53 | • Ticket [0cb092bdd2] web: landing detail — record, diff against target, discussion status still Closed with 1 other change artifact: ebaae5848c user: zeitgeist | |
|
2026-08-23
| ||
| 21:50 | • Closed ticket [0cb092bdd2]. artifact: e3ce8fbbb5 user: ai-local | |
| 12:23 | • New ticket [0cb092bdd2]. artifact: 30a5005527 user: dmestas | |
web: landing detail — record, diff against target, discussion
Closed0cb092bdd278b90916e46c671720c8b17cf771f6Created 99.5 days agoUpdated 67.9 days ago
Description2026-08-23 12:23:15
The review surface for one landing: the record, the diff of the branch against its target computed at view time (zit#127 keeps the record pointing at a moving branch, so the diff must not be cached against a frozen range), the forum thread inline and commentable, and the state transitions. Morphs over SSE like the rest of the write plane so a comment or a state change updates every open viewer.
2026-08-23 21:50:51
Shipped at /r/{repo}/landing/{id}: the record, the branch's check-ins, the diff, the discussion, and the controls.
- Diff computed at view time, branch against target. The record points at a MOVING branch, so a range frozen at open would describe a proposal that no longer exists. Needed two additions: checkin.diff gained an explicit
frombase (it only ever diffed against a parent, which a landing is not), and branch names resolve to tips at render. - Bounded, with a link to the full diff. This record's own change is 20 files and rendered 900KB, which stalled a browser; a decision surface shipping a megabyte helps nobody.
- Check-ins listed beside the diff (zit#133's display half, from our own index): a proposal is changes with REASONS attached, and a diff keeps the changes and throws the reasons away.
- Transitions render as events, not comments. zit stores them as replies because a reply is an artifact fossil understands; showing one as
zit-landing-state: acceptedwould be the encoding leaking through the interface built to hide it. The API classifies, because it holds the raw body. - Markdown preview through the shared composer, the same Write/Preview the wiki and forum use.
- Mergeability from zit#131's probe, memoised on the two tips: 1.9s cold, 50ms warm.