From 7f66116cd546cc9981a14562b9cab04e719d9066 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Sun, 30 Aug 2026 22:57:45 +0200 Subject: [PATCH] fix: the tagger ends on a screen, not on a button that stops working Clicking "dalej" on the last photo did nothing, because move() clamped at the end. Everything had in fact been saved -- each toggle writes tags.json on the spot -- but the only way to find that out was to stop the tagger and read its summary, so the last photo answered "did that work?" with silence. The end of the album is now a screen: it says Gotowe, prints how many photos each command has, and offers a way back into the photos. The counts are distinct files rather than a sum per reading. A photo showing two of the three people an "either of them" entry covers is one photo that command can return, and summing claimed it twice. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_017w1HZ3cZ7neL3rFdQ6VMBA --- tool/tagger.html | 26 +++++++++++++++++++++++++- tool/tagger.py | 17 +++++++++++++---- 2 files changed, 38 insertions(+), 5 deletions(-) diff --git a/tool/tagger.html b/tool/tagger.html index 42b7f02..5b4d36b 100644 --- a/tool/tagger.html +++ b/tool/tagger.html @@ -57,6 +57,13 @@ ktokolwiek = ala | marek ← losowo jedno z nich

+ +