Commit Graph

3 Commits

Author SHA1 Message Date
teernisse
b456a879bb fix(timeline): use total_notes for discussion summary instead of post-filter count
The discussion summary format string used `note_count` (derived from
`notes.len()` after truncation/filtering) rather than `total_notes`
which captures the full count before any processing. This made the
"Discussion (N notes)" label undercount when notes were filtered.

Removes the now-unused `note_count` binding.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 13:18:16 -04:00
teernisse
6d85474052 refactor(cli): adopt flex-width rendering, remove data-layer truncation
Replace hardcoded truncation widths across CLI commands with
render::flex_width() calls that adapt to terminal size. Remove
server-side truncate_to_chars() in timeline collect/seed stages so
full text is preserved through the pipeline — truncation now happens
only at the presentation layer where terminal width is known.

Affected commands: explain, file-history, list (issues/mrs/notes),
me, timeline, who (active/expert/workload).
2026-03-13 11:03:04 -04:00
teernisse
bf977eca1a refactor(structure): reorganize codebase into domain-focused modules 2026-03-06 15:24:09 -05:00