-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[23Q1T1] Fade-out Node Glyphs (#12664)
* [23Q1T1] Fade-out Node Glyphs Fade-out behavior to GlyphStackPanel hosting the icon/frozen glyphs. * frozen_glyph_implementation - added new png icons to be used in Node State visualization - implemented the frozen glyph as part of the glyph stack panel - the frozen glyph will be triggered upon freezing the node * Node Color Overlay - Node Color Overlay border zoom fade in and out styles added to allow overlay to be displayed using the same ZoomToBooleanConverter value (0.4) as the other UI elements - Added a nodeColorOverlayZoomOut border to kick in after the zoomed out value is achieved - The previous only border renamed from nodeColorOverlay to nodeColorOverlayZoomIn - This allows one border to display Frozen/PreviewOff states when Zoom > 0.4 and another border to display Frozen/PreviewOff/Warning/Error/Info when Zoom < 0.4 - Added a HandleColorOverlayChange method to handle both WarningBarColor and NodeOverlayColor triggers - Added GetBorderColor() method to assign both the correct color overlay to the zoomed out border and the correct glyph to be display in preparation for the glyphs implementation - Further added a lot of infrastructure to handle the glyph display * Glyphs Overlay Implementation - Added Glyphs to Zoomed-Out State - Added 3 New Converters - Opacity of the frozen Border now bound to the zoomed state to correctly account for the initial starting frame (the Style animation then handles the behavior over time) - The Grid hosting the 3 Glyphs is a bit wonky, makes sure the Warning/Error/Info states are always the first Icon, even if there are 1, 2 or 3 visible icons * Frozen Glyph Update - more prominent color for frozen glyph #8EDCFF * Frozen > Preview Off - Priority Changed - changed priority for frozen and preview off border. Now will correctly prioritize Frozen over Preview-Off when zoomed out * Test Fix - images in NodeView named for ease of use - WatchImageCoreContainsImage test amended to accommodate code changes to NodeView * Test Zoom Node Color States Added - added a VM test to check Node View Model state border colors for NoWarning, Hidden, Frozen, Warning, Error states - added the ZoomNodeColorStates.dyn test file containing all possible states to test against - TODO - add test case for Info once it's released * Zoom Glyph Grid Collapse - the Gird containing all zoom state icons will now collapse if zoom level is over 0.4 (zoomed-in). - this should incur less performance increase (before glyphs were simply given 0 opacity). - added a similar visibility collapse control to the color border signifying the different states (hidden, frozen, info, warning, error) - the border will now collapse if zoom level is over 0.4 * Test Zoom Node Model Glyph Properties Added - added a new View Model test to check if the Image Sources for the state glyphs are set correctly * Test Zoom Change Visibility - added a test to assert that the elements shown in the zoomed-out (less than 0.4) node state are collapsed, and visible in the zoomed-in (more than 0.4) state
- Loading branch information
Showing
14 changed files
with
978 additions
and
22 deletions.
There are no files selected for viewing
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.
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
Oops, something went wrong.