Skip to content

Fix checkpoint navigation in static training reports - #3216

Merged
bghira merged 1 commit into
mainfrom
fix/3200-static-report-step-navigation
Sep 7, 2026
Merged

Fix checkpoint navigation in static training reports#3216
bghira merged 1 commit into
mainfrom
fix/3200-static-report-step-navigation

Conversation

@bghira

@bghira bghira commented Sep 7, 2026

Copy link
Copy Markdown
Owner

The static training_report.html lightbox only exposed image navigation, so validation outputs could not be compared across checkpoints while enlarged. Reuse the report's step timeline in the lightbox, preserve the same output by label and index when changing steps, and support Up/Down for checkpoints alongside Left/Right for samples. Only checkpoints containing that output are offered, matching the normal WebUI.

The gallery's checkpoint row now stays visible while scrolling. Step controls have larger touch targets, and long timelines keep the selected checkpoint horizontally visible without scrolling the page.

Validation: reproduced the original missing controls, inactive Up key, and scrolling timeline in three failing Selenium tests before implementation; a separate long-timeline regression also failed before its fix. All 15 tests now pass, including six real-Chrome browser tests with mobile viewport and touch emulation:

SIMPLETUNER_SELENIUM_TESTS=1 .venv/bin/python -m unittest -v tests.test_training_report_e2e tests.test_local_metrics

Coverage includes missing outputs, first/last sample boundaries, empty and single-step reports, fit/actual-size controls, gallery synchronization, and long checkpoint lists. Mobile behavior was verified with Chrome emulation, not physical Android hardware.

Fixes #3200.

@bghira
bghira merged commit b962021 into main Sep 7, 2026
2 checks passed
@bghira
bghira deleted the fix/3200-static-report-step-navigation branch September 7, 2026 01:42
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.

mobile use of training_report.html

1 participant