-
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
DYN-6427 & DYN-6828 Graph Properties UI Fixes #15200
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-6427
UI Smoke TestsTest: success. 2 passed, 0 failed. |
Utility.DispatcherUtil.DoEventsLoop(() => | ||
{ | ||
images = WpfUtilities.ChildrenOfType<Image>(view.NodesInfoDataGrid); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an attempt to stabilize the test. I merged it here because seems to be able to reproduce it quite consistently
Co-authored-by: Trygve Wastvedt <[email protected]> Co-authored-by: pinzart90 <[email protected]>
Purpose
This PR fixes two data loss bugs with Graph Properties View Extension interaction.
First is the scenario when you have graph properties defined in a graph but open a custom node. When you return to the graph and save the graph properties are lost. This GraphMetaDataView extension is updated here to handle this case when the Workspace is cleared or changed.
Second is related to naming auto-naming the custom properties. You adding a deleting you can get into a scenario where the logic suggest the same property name. This PR adjust the logic to insure unique auto properties names
Declarations
Check these if you believe they are true
*.resx
filesRelease Notes
Custom properties in the Graph Properties Extension had an issue where opening a custom node would clear custom properties present in the open graph file. Now custom properties are not impacted by opening a custom node in session.
Custom properties in the Graph Properties Extension had an issue where the automatic naming when adding a new property would produce identical property names in some situations. Now custom properties will always produce a unique name when adding a new custom property.
Reviewers
@twastvedt @BogdanZavu
FYIs
@jnealb