Skip to content

Queue back-to-back shots instead of superseding (/skip, /fix <id>) - #44

Merged
AlexNly merged 1 commit into
mainfrom
shot-queue
Aug 27, 2026
Merged

Queue back-to-back shots instead of superseding (/skip, /fix <id>)#44
AlexNly merged 1 commit into
mainfrom
shot-queue

Conversation

@AlexNly

@AlexNly AlexNly commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Fixes the gap reported on Discord: pulling a second shot before answering the first questionnaire used to supersede the first one — it was saved with whatever was answered (or skipped outright) and there was no way to go back and rate it.

Now

  • A shot that finishes while a questionnaire is in progress is announced right away (with its chart) and queued; its questionnaire starts automatically the moment the current one is logged. Works for any number of shots, survives restarts (queue persisted in state.json).
  • /skip drops the questionnaire in progress and moves on to the next queued shot (partial answers are still saved).
  • /fix <id> (e.g. /fix 62) reopens any shot from the machine index — the explicit "go back and rate that one" door. It jumps the queue: the questionnaire in progress is parked with its answers intact and resumes afterwards. /fix without an id still redoes the last shot.

Tests cover queue order, skip, restart persistence and queue-jumping. Version bumped to 0.4.0.

@AlexNly
AlexNly merged commit 4823d45 into main Aug 27, 2026
3 checks passed
@AlexNly
AlexNly deleted the shot-queue branch August 27, 2026 18:07
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