Commit Graph
10380 Commits
Author SHA1 Message Date
John Colvin eabc4bee4c fix: Save combo report before closing settings dialog
Bugs (fixed):
   * Combo report configuration doesn't save on OK click (does save on Apply
   click though)
2022-05-02 12:29:01 -04:00
John Colvin 0ed9142cf0 test: Add HierarchicalDictionaryTest 2022-05-02 12:29:01 -04:00
John Colvin 1639683b43 fix: Set _value_count to 0 when HierarchicalDictionary is Cleared 2022-05-02 12:29:01 -04:00
John Colvin 05afb08c5d fix: Ensure HierarchicalDictionary nodes in sync w/ parent data 2022-05-02 12:29:01 -04:00
John Colvin c674e44c60 refactor: Enable nullable in EnumerableExtensions 2022-05-02 12:29:00 -04:00
John Colvin e104c78471 fix (preemptive): Fix typo in Sum ext
This fix is preemptive only bc this fn isn't referenced atm
2022-05-02 12:29:00 -04:00
John Colvin 3d8ec63bd7 ui: Condense text/controls in top of Slide win 2022-05-02 12:29:00 -04:00
John Colvin 99670c9d28 ui: Move last update time down to status bar in Slide win 2022-05-02 12:29:00 -04:00
John Colvin 56126e19a7 refactor: Clean up SlideReportView.xaml.cs 2022-05-02 12:29:00 -04:00
John Colvin 05e8363504 ui: Change 'Use Candidate Vol' icon to look sort of like vol-curve 2022-05-02 12:29:00 -04:00
John Colvin 884741062b ui: Add expand/collapse toggle menu item to Combo win 2022-05-02 12:29:00 -04:00
John Colvin 63c77966fa ui: Add menu-orientation menu-item to Slide win 2022-05-02 12:29:00 -04:00
John Colvin 31745d9f0d ui: Add menu-orientation menu-item to Combo win 2022-05-02 12:29:00 -04:00
John Colvin 78897ed608 refactor: Clean up SparkMenu
* use visual states instead of triggers for mouse-state-transition animation
* use new lang feats
* run formatter
2022-05-02 12:29:00 -04:00
John Colvin 5712bcdc57 Add PressedAnimationDuration prop to MouseStateDefinition
This provides a way to ensure that 'Pressed' animations, which takes a
non-zero amt of time, always run to completion (before animation for the
next state begins)
2022-05-02 12:28:59 -04:00
John Colvin 8e0a027584 style: Add documentation to ProjectToVector ext 2022-05-02 12:28:59 -04:00
John Colvin 12f88b5303 test: Add unit test for ProjectToVector ext 2022-05-02 12:28:59 -04:00
John Colvin b119cad8a9 ui: Remove 'Focus' animation from SparkMenuButton
Not sure why this was here in the first place..it's identical to the
MouseOver animation
2022-05-02 12:28:59 -04:00
John Colvin f30210e4e1 refactor: Move SparkMenu style/xaml to own file 2022-05-02 12:28:59 -04:00
John Colvin a8d6a104c3 refactor: Clean up OptionDriverPriceMap 2022-05-02 12:28:59 -04:00
John Colvin 13df0c8638 Spruce up AnalyticsShellModuleView 2022-05-02 12:28:59 -04:00
John Colvin fb70aa6514 fix (ui): Set combo report settings dialog title to string literal
Previously, it was bound to the report-name.  However, the binding was broken.
Furthermore it doesn't seem appropriate to bind the title to the name since the
user can edit the name in the settings dialog
2022-05-02 12:28:59 -04:00
John Colvin 37fd1d424e refactor: Rename (SlideReportSettings)View -> Dialog
This is more consistent with our name conventions, and dialog is more
precise description of the type
2022-05-02 12:28:59 -04:00
John Colvin bdbbcb05dc ui: Animate AnalyticsShellModule window-section expand/collapse 2022-05-02 12:28:59 -04:00
John Colvin 9cd5d0890f ui: Add large-flat button style 2022-05-02 12:28:59 -04:00
John Colvin 7b1fa849ef fix (preemptive): Curry 'Member' to DataContextChanged callback
Bugs (fixed):
   * [preemptive] potential InvalidCastException in
   RadioButtonGroupManager.DataContextChanged callback
2022-05-02 12:28:59 -04:00
John Colvin a8b5cf81ee fix (ui): Set combo report settings dialog title to string literal
Previously, it was bound to the report-name.  However, the binding was
broken; furthermore it doesn't seem appropriate to bind to the name
since the user can edit the name in the settings dialog
2022-05-02 12:28:58 -04:00
John Colvin bc62d4b359 refactor: Rename (ComboReportSettings)View -> Dialog
This is more consistent with our naming conventions, and 'dialog' is a
more precise description of this type.
2022-05-02 12:28:58 -04:00
John Colvin 4413580212 feat: Support modifying combo report 'name' after it is created
The csharp vm infrastructure was already in place, so this was just a matter of
adding the 'name' field to the settings view
2022-05-02 12:28:58 -04:00
John Colvin 8b653ef133 feat: Add volume col to TimeAndSales 2022-05-02 12:28:58 -04:00
John Colvin b1f8ac7e22 refactor: Make Optional<T> a struct
It's a trivial, readonly type, so struct seems more appropriate than class

Bugs (fixed):
   * [preemptive] greeks_tuple param potential null-ref exception in TradeInfo
   'with' ext
2022-05-02 12:28:58 -04:00
John Colvin a11c23d718 refactor: Enable nullable in TimeAndSales(Filter)Settings 2022-05-02 12:28:58 -04:00
John Colvin 9feceb9fdb fix: Create new instance of ContextMenu on each open
Bugs (fixed):
   * the volsurface grid context menu items' col/super header names don't stay
   in sync with clicked cell (the names never change once the menu item becomes
   visible for the first time)
2022-05-02 12:28:58 -04:00
John Colvin bad6464fe9 refactor: Clean up VolSurfaceRowContextMenuVM
* use new lang feats
* run formatter
2022-05-02 12:28:58 -04:00
John Colvin a6007ca362 refactor: Sync symbols in vs row context menu when vis-exps changes
Also, rename SymbolFilter -> SymbolItemVM
2022-05-02 12:28:58 -04:00
John Colvin 05348b01ae refactor: Clean up VolSurfaceRowVM
* use new lang feats
* run formatter
2022-05-02 12:28:58 -04:00
John Colvin abfabe3e21 Remove unused file VolSurfaceRowControl.cs 2022-05-02 12:28:58 -04:00
John Colvin 83e0da446a refactor: Rename VolSurfaceRowContext -> VolSurfaceRowVM 2022-05-02 12:28:58 -04:00
John Colvin 85a48e71d1 refactor: Move vs row context menu vm to own file & unnest class 2022-05-02 12:28:57 -04:00
John Colvin 0671117660 refactor: Move sync_with ext to ListExtensions 2022-05-02 12:28:57 -04:00
John Colvin 654c5b3074 refactor: Rename 'command' members 'cmd' in VolSurfaceRowContext 2022-05-02 12:28:57 -04:00
John Colvin aee5e54c14 refactor: Clean up VolSurfaceVM
* use new lang feats
* rename 'command' members 'cmd'
* sort members
2022-05-02 12:28:57 -04:00
John Colvin e5df037992 refactor: Remove redundant LastOrDefault ext fn 2022-05-02 12:28:57 -04:00
John Colvin 06b9586eb6 refactor: Consolidate tick up/down fn pairs into singular tick fns
With 'is_up' params
2022-05-02 12:28:57 -04:00
John Colvin 79716dfdba refactor: Add NotNullWhen attrs to tick up/down out params 2022-05-02 12:28:57 -04:00
John Colvin 02b6b5d078 fix: Handle nan qty gracefully on ladder qty button click
Just set the value to that of the clicked button (since you can't add
anything to NaN)
2022-05-02 12:28:57 -04:00
John Colvin 403e8d2947 ui: Change TickUpDownNullable control to reset null -> 0 on tick click 2022-05-02 12:28:57 -04:00
John Colvin 25e9c37987 refactor: Change props to generic T in TickUpDownNullableNumeric
Accidentally left several members defined as type double (this
now-generic class was refactored from TickUpDownNullableDouble)
2022-05-02 12:28:57 -04:00
John Colvin 99b58cf2bf refactor: Clean up LadderVM
* use new lang feats
* sort members
* run formatter
2022-05-02 12:28:56 -04:00
John Colvin 78155cfbdf refactor: Clean up LadderOrderVM
* use new lang feats
* sort members
* run formatter
2022-05-02 12:28:56 -04:00