Conversation
* Introduce CefSharp to embed a web browser to interact with League Republic. * Add UI elements to load players from League Republic page for each team. * Add UI elements to set player name matching order. Players frequently have a different in-game name from their registration name. * Add UI elements to populate the team stats web form for each team.
* Add stats.GetPropertyValueByEnum method to map enum values to stats class properties for quick lookup in dictinoary. * Remove null requirement for player object to be updated. * Refactor data send call to use the dictionary described above for value. with string code only being used once.
* Clear ComboBoxes in a more intelligent manner. * Load Logs Button clears all ComboBoxes. * Load Team Buttons clear the individual team ComboBoxes.
Feature auto form fill
* Rename private/static variables to underscore-camel naming convention. * Merge log file loading calls to a single method called from each button click method. * Extract form reset code to helper method ResetFormData. * Extract team and period text setter method. * Extract OverTime Win check method. * Extract SetLoadedFileDisplays method. * Extract PopulateDataGrid method. * Refactor overtime check to hide OvertimeWin status when changing log files.
…win-on-log-load Fix period and overtime status on follow-on log load
* Prevent stats population to League Republic when a player name has been utilized more than once. * Distill methods. * Reduce code duplication.
* Refactor code to set and reset color background for player selection duplicates. * Distill stat send button lockout code.
* Fix web page displaying incorrectly (black frame around page) when viewed from high DPI monitor, such as 4k displays, by adding HighDPI support to Chromium.
…om/jsTron/ReboundLogParser into feature-check-duplicate-selections
Feature check duplicate selections
* Set anchors on controls to maintain proper placement and proportion during resizing. * Set minimum size to display all controls on SHD display and larger. * Change warnings to red color text for visibility.
Enable Form and Controls Sizability
* Fix combo boxes enabled where no data row exists. * Fix send buttons enabled when any player boxes are empty per team. * Fix load players button enabled when no log is loaded.
Add more UI protections
* Fix team-based load players buttons not enabling when log is drag-dropped onto the data grid.
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.
Testing: