-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for fouls and warnings (#338)
* track and display fouls and warnings This feature can be turned on and off in app settings. The changes to the main page include the addition of an "Add warning" and "Add foul" button, each of which take the user to a page were color, number, infraction, and equal puck for fouls or team warning. The infraction selection button is now also on the create penalty page. Also on the main page, there is now a button that displays the three most recent warnings issued to each team. If this button is pressed, it will bring the user to a summary page of all warnings and fouls that were recorded in the game. Further work is needed (by Tristan) to have this page take the user to foul or warning edit pages. * Add ability to edit warnings and fouls * Don't hide warning and foul buttons during timeout * Match list orders of fouls and warnings * Bump crate versions to 0.2.0 * Clippy fixes * Fix crash after warn/foul edit is canceled * Fix broken test --------- Co-authored-by: elsald <elsald@icloud.com>
- Loading branch information
1 parent
d5a37ba
commit 05ff535
Showing
44 changed files
with
6,213 additions
and
1,039 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.