Add multi-counter input for fuel tracking#102
Merged
tytremblay merged 4 commits intomainfrom Mar 5, 2026
Merged
Conversation
New input with +1/+5/+10 and -1/-5/-10 buttons for quick ballpark counting. Displays a running tally so scouts can confirm button presses took effect. Value is floored at 0. Uses active: instead of hover: for press feedback to avoid sticky highlight on touch devices.
Adds multi-counter fields at the top of both Autonomous and Teleop sections for tracking approximate fuel scored. Bumps store version to invalidate cached config.
Follows existing input type documentation pattern with config example, properties, usage guide, data format, FRC scouting examples, and best practices.
|
tytremblay
approved these changes
Mar 5, 2026
| import { MultiCounterInputData } from './BaseInputProps'; | ||
| import { ConfigurableInputProps } from './ConfigurableInput'; | ||
|
|
||
| const INCREMENTS = [1, 5, 10]; |
Collaborator
There was a problem hiding this comment.
[nit] we could probably make this configurable in a future MR. These increments make sense for this year, but next year there might be something that prefers to count by 3s
luanzeba
added a commit
that referenced
this pull request
Mar 6, 2026
Replaced by the multi-counter input in #102.
luanzeba
added a commit
that referenced
this pull request
Mar 6, 2026
Replaced by the multi-counter input in #102.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Came out of a discussion on how to more easily measure fuel scored during a match. Counting individual pieces is way too fast, so this adds a new
multi-counterinput type with +1/+5/+10 (and their negatives) for ballpark estimates.Added it to both auto and teleop in the config. The running tally makes it easy to confirm taps registered.
Tested it on Android tablet to make sure it works!
Demo below 👇
fuel-counter-demo.MP4