Skip to content

report: captions say which side is the change and which the reference - #158

Merged
tmashara merged 1 commit into
mainfrom
claude/issue-113
Nov 5, 2026
Merged

tmashara merged 1 commit into
mainfrom
claude/issue-113

Conversation

@tmashara

@tmashara tmashara commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Refs #113

report.html said left and right without saying which build was which, while --markdown says before and after. These labels now name the role:

  • Figure captions read left · change and right · reference.
  • The meta line in report.html and evidence.html reads the same.
  • The slider's aria-label reads Divider: your change on the left, the reference on the right.

There is no config key or flag. Left is the change and right the reference in every mode: the README, --help, docs/output.md and the GitHub Action all define the sides that way. --markdown stays consistent, since it already shows right as before and left as after.

Crop tooltips (region, left on top) are unchanged.

Testing

tests/unit/report.test.ts checks the captions, the slider label and both meta lines.

🤖 Generated with Claude Code

left and right didn't say which build was which, while --markdown says
before and after. Captions and both meta lines now read left · change
and right · reference, and the slider's label says the same. Left is the
change and right the reference in every mode, so nothing is configured.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tmashara
tmashara merged commit 45ebd22 into main Nov 5, 2026
3 checks passed
@tmashara tmashara mentioned this pull request Nov 5, 2026
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