Releases: katpet/scoreboard
v2023.6_pbt_v0.5
Merged changes from the official crg-scoreboard 2023.6 release.
https://github.com/rollerderby/scoreboard/releases/tag/v2023.6
Nothing has changed for the penalty box timer code, so leaving that at v0.5.
crg-scoreboard_v2023.5_pbt_v0.5
Merged changes from the official scoreboard 2023.5 release.
https://github.com/rollerderby/scoreboard/releases/tag/v2023.5
And added a couple bug fixes for the penalty box timer page:
crg-scoreboard_v2023.4_pbt_v0.4
Bug fixes:
- Incomplete BoxTrips, which come about if any box timers haven't ended, would break the stats export
- Skater numbers containing non-numeral characters, like a decimal point, wouldn't show up in the penalty box skater list
crg-scoreboard_v2023.4_pbt_v0.3
Bugfixes
- Addressing user feedback, changed behavior of clocks started between jams. Previously, they would start counting and it was the responsibility of the user to reset them before the next jam. Now, when clocks are started between jams they don't start counting yet. Instead the clock is indicated to be active by changing the color from gray to white and disabling the start button. They look the same way as when paused between jams. When the jam starts the clock will start counting down. This accomadates the scenario where a skater sits in the box between jams; the penalty timer can go ahead and hit start for them, and it'll get their clock ready to start at the next jam.
- When penalty box clocks are paused at the end of a jam, they now stay white and the start button is dimmed, to make it more clear that they're still active and will resume again at the next jam start.
- Fixed scenario where both jammers are put in box between jams. Their timers will set to zero, or if they have different numbers of penalties those will reduce as far as possible, so it's clear how much time they will have on the clock when the jam starts.
- Fixed bug where adding extra time to a clock before starting wasn't working; it would get reset back to default penalty time at start.
- Fixed some bugs in jammer logic. If jammers have multiple penalties we now cancel extra unserved penalties as much as possible.
pbt bug fixes v0.2
pbt bug fixes v0.2
These mostly address feedback from Leviathan. (Thanks so much for that!)
- Moved most pbt js code into a pbt component, so code under nso/pbt can be barebones.
- The sub page ids now start with "PenaltyBox".
- The team identifier part of labels for blockers and jammers now match the behavior of lineup tracking page.
- Foreground and background colors for blocker and jammer labels now come from "operator" color settings.
- Fixed penalty box clocks to behave correctly for undo start jam or undo timeout.
crg-scoreboard_v2023.3_pbt_v0.1
Penalty Box Timer
There is a new penalty box timer mobile interface for the CRG Scoreboard. Like the jam timer interface it integrates with the scoreboard server and allows for synchronization of timers at start and end of jams. It also integrates with the penalty lineup tracking interface and collects some data for the stats book.
Open a mobile web browser and point it at: http://scoreboard_server:8000/nso/pbt/
Main Screen
The main screen allows you to choose to view a team's blockers, both jammers, or all players from both teams. The team colors are automatically set from the scoreboard team settings.
Blockers
There are slots for three blockers on each of the team blocker pages. You may need to scroll a bit to see the third.
Select Skater
Blockers have an option menu button where the skater's number can be selected from the team's roster. It's not required to dial in a skater number, and it can happen before or after the timer has started. The number will be tracked only if it's dialed in at the time that a penalty completes and a jam is actually running. So, it should be safe to mess around with the app when jams aren't running without accidentally affecting penalty tallies.
Penalty Lineup Tracking "Box"
When a skater is selected for one of the penalty timers, that skater is automatically also fielded (if they weren't already) and put in the box in the penalty lineup tracking page. That means the penalty tracker doesn't need to tap the box to start the box trip; they can focus on entering the penalty code. When the penalty box timer finishes, the box trip automatically completes, so the penalty trackers no longer need to tap out of the box (make it stop being red).
Jammers
The jammer numbers are automatically updated from the scoreboard for the current jam. The numbers aren't editable here. The jammer clocks do jammer logic for you, so when a second jammer sits while one is already sitting, the clock will end for the first jammer while starting for the second. The various scenarios that can come up with double penalties or jammers returning to the box are handled. Double penalties are inferred when a full penalty time amount is added to the clock.
Timers
The penalty duration defaults to 30, but that is an editable setting in the scoreboard software. Timers count down from 30 and turn red at 10 seconds. Sorry, no vibration. The timers run on the server, so anyone viewing one of the pbt pages will see the same timers. Timers will all stop automatically when a jam stops, and they start up again when the next jam starts. When a timer hits 0 it resets to 30 and turns white again.
Edit Time
Time can be edited via the tiny pencil popup, in case there's a double penalty.
Both Teams
The entire penalty box can be viewed on one page.
Penalty Tally
When a skater's number is active in a seat, their current penalty tally is shown in parentheses after the seat's label, like "Purple Blocker (2)". That number doesn't include the penalty currently being served, and it only increments when they finish, so it's useful to see if a skater that has just come to the box is about to foul out. Note, this penalty tally is independent from the penalty tally that can be deduced from penalty tracking. This tally is based on how long players are sitting in the penalty box.
Stats Book
There is a Penalty Box page in the wftda stats book and now it's filled in when the stats book is exported!
Dev Note
If you're running the scoreboard, the crg-scoreboard_v2023.3_pbt_v0.1.zip here is fine, but if you're grabbing the source code, I forgot some files in the initial commit, so use this tag instead: https://github.com/katpet/scoreboard/releases/tag/v2023.3_pbt_v0.1.1