~bigbes/sr-ht-dolt: 57832d6c

feat(web/beads): close reason in Comments tab; synthesize subtask-add history

- Close reason placement: show it as a block at the end of the Comments tab
  (which carries no closed event), while the History tab shows it inline as the
  closed event — so it appears in whichever tab you're on, without duplication
  within a tab. (Reverts the outright removal.)

- History now includes dependency/subtask additions. beads logs no audit event
  for a link, but the dependencies row records created_at/created_by, so
  buildDetail synthesizes "added subtask X" / "added dependency on X" timeline
  entries (Kind "dep", own accent). On an epic this surfaces when each child was
  linked. Guarded on created_at so older schemas without it emit nothing.

- pre.field-body style de-scoped from .bead-detail so the Comments-tab close
  reason wraps (overflow-wrap: anywhere) instead of overflowing.

Eugene Blikh <bigbes@gmail.com> — 2026-07-19 18:36:53 UTC

Commit 57832d6cd691e6b4c5b5f60e441fb166cba5936bview raw patch

Parent(s): 1b35456a

3 changed file(s)

FileStatus+
web/beads.go M +48
web/beads_test.go M +32 -20
web/templates/beads.html M +8 -1