-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GraphNodeManager Update #13069
Merged
reddyashish
merged 37 commits into
DynamoDS:master
from
dnenov:dnenov-update-graphnodemanager
Aug 16, 2022
Merged
GraphNodeManager Update #13069
reddyashish
merged 37 commits into
DynamoDS:master
from
dnenov:dnenov-update-graphnodemanager
Aug 16, 2022
Conversation
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
- added a recursion to the IsNodeEmptyList method to factor in nested empty lists
- fixed inconsistency in capitalization of Filter titles
- 'Export to Excel' changed to 'Export'
- used a different style of Dynamo Tooltip supporting a positioning for the arrow to adjust for these 2 edge cases
- added a dedicated property inside the NodeModel to raise PropertyChanged when updating the DismissedAlerts - as the external view extension has no access to the NodeViewModel, the code previously acquired the DismissedAlerts count from the .Count value of the DismissedAlert ObservableCollection. However, this wasn't triggering an update and was not being detected inside the external code of the view extension
…ov-update-graphnodemanager
- added Icons to the Filter elements in the UI
- reshuffled order of filters - changed 'Information' to 'Info' title
- added a default file name based on the name of the current graph - fixed a bug when using the CSV file extension dropdown
- only export nodes that haven't been filtered in the UI
- added an identifier to the renamed nodes - IMPORTANT - exposed a method from NodeModelExtensions to allow to check if a node has been renamed!
src/GraphNodeManagerViewExtension/ViewModels/FilterViewModel.cs
Outdated
Show resolved
Hide resolved
src/GraphNodeManagerViewExtension/ViewModels/GridNodeViewModel.cs
Outdated
Show resolved
Hide resolved
src/GraphNodeManagerViewExtension/ViewModels/GridNodeViewModel.cs
Outdated
Show resolved
Hide resolved
- using nameof(<PropertyName>) instead of string value
- reverted a change making GetOriginalName public - included 'GraphNodeManagerViewExtension' to see internals from DynamoCore using InternalsVisibleTo - comment fix
- added comments to public properties
- added the additional parameter that was recently introduced to the comment
- changed the way we get an array from the ItemsSource
- minor change
- added a localization resource for 'Search' watermark text - 'Search' watermark will now disappears on mouse entering the textbox
- removed cell margin to create 'continuous' vertical lines - aligned icons and headings
- added an alternative tooltip that shows when nodes are being filtered
- now would always select (zoom in around) a Node, so if the user navigates away in the Canvas, they can zoom back around the Node through GNM
- set negative left/right margin to create 'borderless' look - updated hidden icon (resolution) - multiple visual tweaks to the datagrid lement
- updated font families to default to ArtifaktElementBold for main text and ArtifaktElementRegular for detail information text - updated detailed information text to the default Text color
- changed alternating row hover colors to be different to the selected row color - replaced hard-coded color values with resource colors
- now styles dismissed warnings message in Italic (missing Artefakt Italic resource, placehoder Ariel at the moment)
- changed the methods to detect if a node contains Empty List or Null to any instead of all (will now show the respective symbol if any occurrences are found in the node outputs)
- added unit test checking if the number of Nodes containing Null or Empty List matches what is shown on the UI - added a new dynamo graph to test against
- removed icon when a warning is dismissed
reddyashish
reviewed
Aug 4, 2022
src/GraphNodeManagerViewExtension/Controls/ControlColorsAndBrushes.xaml
Outdated
Show resolved
Hide resolved
reddyashish
reviewed
Aug 4, 2022
src/GraphNodeManagerViewExtension/Converters/BooleanToVisibilityConverter.cs
Outdated
Show resolved
Hide resolved
- removed underscore to field name for dismissedAlertsCount in NodeModel
- Filter Items now use images as resources converting them to ImageSource from bitmap
- replaced converters with Dynamo converters - removed old and unused converters
- replaced most of the color resources with the identical counterparts already present in the main dynamo resource dictionaries
- renamed the namespace containing all extension specific converters to a more generic name
…ov-update-graphnodemanager
- reverted changes made to the DynamoModern dictionary - the changes were breaking 2 tests
Thanks Deyan for fixing the tests. Running the CI job again to make sure of no regressions. |
Self-serve CI passed: https://master-15.jenkins.autodesk.com/view/DYN/job/DYN-DevCI_Self_Service/1080/ |
reddyashish
approved these changes
Aug 15, 2022
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.
Purpose
This is a compound PR targetting multiple bug fixes and updates for the GraphNodeManagerViewExtension. The list below shows the list of running comments and issues that are being solved with the PR.
JSON exported file error on openingcould not recreate the issueDeclarations
Check these if you believe they are true
*.resx
filesRelease Notes
A series of bug fixes or updates to the View Extension.
Reviewers
@reddyashish
@mjkkirschner
FYIs
@Amoursol