# Infraction Tracker Changelog

## [1.0.2] - 2022-08-13
### Added
- Added a checkbox on the Drivers tab to show only active drivers.
- Added a checkbox on the Fleet Report to show only active drivers.
- Added a checkbox on the Driver Infraction Report to show only active drivers.
- Added the Truck Number to the Driver Infraction Report.

### Changed
- Drivers are now sorted by their last name alphabetically.
- The Drivers dropdown on the Daily Report tab now only shows active drivers.
- Updated column order on Fleet Report.
- When printing the Fleet Report, the drivers will now be listed in order of Completion Rate.

## [1.0.1] - 2022-07-02
### Added
- Added "N/A" to all driver tasks on the Daily Report.

### Fixed
- Daily Reports written for past dates are now correctly associated to that date, instead of today's date.

## [1.0] - 2022-06-25
### Added
- The Daily Report view now has buttons to move forward and backward one day. 
  Use Alt+Left and Alt+Right to move forward and backward one day with the keyboard.
- Added "AM" and "N/A" to the options for SHL tasks.
- Added an option to include a truck by default to new Daily Reports. If a truck is set to be a default truck, it will always appear when moving to a new day for the Daily Report.

### Changed
- The Driver Report will now show all days the driver has driven, not just the days with infractions.
- Updated color formatting on the Fleet Report: 90% and greater is green; 75% and greater is yellow; everything lower is orange.

### Fixed
- Logs where the SHL task is "WRONG" are now correctly counted as infractions.
- Fixed an issue where Daily Report items without a driver attached would save incorrectly.

## [0.3] - 2022-06-06
### Added
- You can now double-click a Driver or Truck in the list on their respective tabs to pop open the edit dialog.
- Added keyboard shortcuts to buttons, tabs, and menu items.
- Added About window and Release Notes window.

### Changed
- Duplicate trucks are now allowed on the Daily Report.
- Reduced font size and padding on cells in the Fleet Report and Driver Infraction Report.
- Improved keyboard navigation on Daily Report view. 
  With an item selected, use Enter to go to the next item, or Shift + Enter to go back to the previous item.

### Fixed
- After deleting a truck, it is now removed from the Truck list.
- After deleting a driver, they are now removed from the Driver list.
- Deleting a log item from the Daily Report is now permanent.
- Fixed an issue updating an item on the Daily Report after the associated truck or driver have been deleted.
- File > Exit now exits the application.

## [0.2] - 2022-06-03
### Added
- Added ability to delete a truck / log from a Daily Report.
- Added ability to delete a truck from the system.

### Changed
- Updated colors on Fleet Report PDF.
- Moved Add Truck and Add Driver buttons to the top of the screen.

### Fixed
- Fixed a bug that incorrectly identified different trucks as the same truck on the Daily Report.