Skip to content

feat(report): previous/next navigation in the screenshot lightbox - #241

Merged
shossain786 merged 1 commit into
masterfrom
feat/lightbox-prev-next
Nov 6, 2026
Merged

shossain786 merged 1 commit into
masterfrom
feat/lightbox-prev-next

Conversation

@shossain786

Copy link
Copy Markdown
Contributor

Closes #219.

  • Prev/next buttons plus Left/Right arrow keys, limited to the current test's screenshots (row thumbnail + step thumbnails)
  • Buttons disabled at the ends (no wrap); N / M position counter; controls hidden when a test has one screenshot
  • Escape-to-close unchanged; key handling only active while the lightbox is open
  • openLightbox now receives the clicked <img> (two call sites in HtmlReportGenerator updated)

Verification: mvn test 871 run, 0 failures. Drove the real lightbox markup/CSS/JS in Chrome (Playwright): counter, arrows, end-disable, Escape, single-screenshot test all behave. Not yet checked in a full generated report (dark theme / matrix run).

🤖 Generated with Claude Code

Closes #219. Arrow buttons and Left/Right keys move through the screenshots
of the same test (row thumbnail + step thumbnails), disabled at the ends,
with an N / M counter; hidden for single-screenshot tests. Escape unchanged.
openLightbox now takes the clicked <img> instead of its src.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@shossain786
shossain786 merged commit 4cdb289 into master Nov 6, 2026
2 checks passed
@shossain786
shossain786 deleted the feat/lightbox-prev-next branch November 6, 2026 02:50
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.

Report: previous/next navigation in the screenshot lightbox

1 participant