search: dedup detail renderers behind a shared detailWriter

main

Commit

alishakawaguchi3mo ago

The three per-type detail renderers (checkpoint/commit/session) each redefined identical label/field/wrapped-field/section helpers plus the Match-with-score and author-with-username blocks. Extract a detailWriter type that owns the shared layout so each renderer reads as a field list. No behavior change.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 5c1f6e660501

Checkpoints

Redesign Search TUI Table with Master-Detail Layout

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1