Skip to content

feat(gui): report actual sections in copy-to feedback#87

Merged
dustenhubbard merged 1 commit into
mainfrom
fix/copy-to-feedback
Jul 21, 2026
Merged

feat(gui): report actual sections in copy-to feedback#87
dustenhubbard merged 1 commit into
mainfrom
fix/copy-to-feedback

Conversation

@dustenhubbard

Copy link
Copy Markdown
Owner

Meeting feedback (07-21): Copy-to-sections should report the sections it ACTUALLY wrote, not a count, as a user self-check.

Before: 'Copied trace(s) to 3 section(s).'
After: 'Copied trace(s) to sections 2, 3, 10, 17.' (contiguous runs collapse: '2-5, 10'; singular/plural handled; skipped/non-invertible sections still reported separately and never appear in the success list).

Message-building extracted to a pure, unit-tested helper. Suite: 1238 passed, 5 pre-existing xfails.

🤖 Generated with Claude Code

The "Copy to sections" result previously reported only a count ("copied
to N sections"). Report the actual section numbers that received the
trace(s) instead, so the message reflects what was truly done rather than
what was requested -- a self-check that surfaces any silently-skipped
targets.

Long contiguous runs collapse to ranges (e.g. "2-5, 10") and the message
uses singular/plural grammar ("section 5" vs "sections 2, 3"). Existing
non-invertible "skipped" reporting is preserved. Message building moves
into a pure format_copy_result helper so it can be unit-tested.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LiM1igjbwUJfVBgR7Y31Kp
@dustenhubbard
dustenhubbard enabled auto-merge (squash) July 21, 2026 23:41
@dustenhubbard
dustenhubbard merged commit b463cf6 into main Jul 21, 2026
1 check passed
@dustenhubbard
dustenhubbard deleted the fix/copy-to-feedback branch July 21, 2026 23:41
dustenhubbard added a commit that referenced this pull request Jul 23, 2026
The "Copy to sections" result previously reported only a count ("copied
to N sections"). Report the actual section numbers that received the
trace(s) instead, so the message reflects what was truly done rather than
what was requested -- a self-check that surfaces any silently-skipped
targets.

Long contiguous runs collapse to ranges (e.g. "2-5, 10") and the message
uses singular/plural grammar ("section 5" vs "sections 2, 3"). Existing
non-invertible "skipped" reporting is preserved. Message building moves
into a pure format_copy_result helper so it can be unit-tested.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant