It's been over 3 weeks, time for another update for those who are following along.
- Fixed dialogs: Quick Start, Add Players To Tournament, Table, Sort Tbales, Collapse Order, Compress Seating, Compress Single Table Seating, Locks, Tables Settings, Undo Buy-in Players, Unseat Player, Unseat Table, Toggle Show Player Images, Remove Player From Tournament, Remove Players From Tournament, Players Preferences, Suggest Rounds, Suggest Prizes, and Auto Prizes, Random Player.
- Got Stats to load and display. Still some work to be done, but this is a good start.
- Fixed context-menu rename/arrange columns on Stats Tab.
- Fixed 'configure columns' and 'set column names' context menu items on Rounds, Prizes, and Stats pages.
- Tackled main dialog code. Even though this works, it is a bit squirrely and has some issues. I knew at some point I would have to dive in and just work on it until it's fixed. Issues were things like:
- sometimes a dialog just didn't open
- sometimes the stylesheet isn't found and thus the font adjustment done to every dialog didn't happen, resulting in a dialog with a 6pt font
- since windows open asynchronously, the "opener" dialog is still active until the child dialog opens allowing the user to click on something. For example, a button that opens a dialog could be pressed over and over and many dialogs would open
- window.closed isn't accurate, and thus a window could be opened using a window that is closing as its parent, resulting in weird behavior
- hotkeys still work on disabled windows, so holding down the ESC key can cause the code to try to open/close the Settings window so fast it confuses the dialog code
- I spent the better part of a week working on the dialog code and now it all seems good. <fingers crossed>
- Fixed the volume slider control.
- Fixed at least a hundred other things here and there.
- Spent some more time figuring out why dialog sizing works on some dialogs, not on others. Turns out the dialog sizing code is working as expected, but I identified a number of common differences in Chrome. This will make fixing the remaining dialogs much easier. Fixed about a dozen other dialogs that had initial sizing problems.
For example, the Add Players to Tournament dialog looked like:
But now looks like:
Or the Screen Properties dialog, which opened like this:
But now looks like:
Lots more to do...