Skip to content

Auto-stop action tracker timer after configurable duration#104

Merged
tytremblay merged 3 commits intomainfrom
action-tracker-auto-stop
Mar 5, 2026
Merged

Auto-stop action tracker timer after configurable duration#104
tytremblay merged 3 commits intomainfrom
action-tracker-auto-stop

Conversation

@luanzeba
Copy link
Collaborator

@luanzeba luanzeba commented Mar 5, 2026

We noticed scouts sometimes forget to stop the action tracker timer, so it keeps running well past the end of the match phase. This adds an optional autoStopSeconds field to action-tracker inputs that automatically stops the timer after the configured duration.

When the timer hits the limit:

  • It stops and locks to the exact cutoff time
  • Any buttons being held get finalized at that timestamp
  • All action buttons and the Start button get disabled
  • The timer text dims and shows "(time's up)" so it's clear what happened

Set it to 25 for auto and 150 for teleop (a little leeway beyond the actual phase durations). It's fully optional, so existing configs without it work exactly the same.

Screenshots below 👇

image image

luanzeba added 3 commits March 5, 2026 15:24
New optional 'autoStopSeconds' field on action-tracker inputs.
When set, the timer automatically stops after the configured
duration, finalizes any active holds, disables action buttons,
and prevents restarting. Shows a '(time's up)' indicator.

Prevents the timer from running past the match phase duration
when scouts forget to stop it.
Adds autoStopSeconds to both action trackers in the 2026 config
with some leeway beyond the actual phase durations.
Bumps store version to invalidate cached config.
@github-actions
Copy link

github-actions bot commented Mar 5, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://FRC2713.github.io/QRScout/pr-preview/pr-104/

Built to branch gh-pages at 2026-03-05 20:39 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@tytremblay tytremblay merged commit 71602e4 into main Mar 5, 2026
1 check passed
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.

2 participants