-
Notifications
You must be signed in to change notification settings - Fork 636
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-5423 Fix CustomNode view layout after it is saved. #13585
Conversation
Excellent! Do you know when this regression begin to happen? |
@QilongTang After this #12687 fix by me, which was to store and retrieve the custom node file-path info after it is saved without the need to restart Dynamo. |
Gotcha, looks like this has been failing for a while. Would you add a unit test to guard it? |
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.
LGTM with one question
* Fix CustomNode views after it is saved. * Add test * Update WorkspaceSaving.cs
* Fix CustomNode view layout after it is saved. (#13585) * Fix CustomNode views after it is saved. * Add test * Update WorkspaceSaving.cs * Single quote to double quote in js call functions (#13586) * DYN-5286-MLNodeAutocomplete Adding Analytics (#13581) * DYN-5286-MLNodeAutocomplete-Analytics I added the code for TrackEvent in 4 places: - NodeAutoCompleteSearchControl.xaml.cs - when clicking the Low Confidence combobox for displaying the list of nodes. - NodeAutoCompleteSearchViewModel.cs - when the Node Autocomplete is raised using the Recommented nodes option or the Object Types option. - PreferencesView.xaml.cs when the Slider Confidence Level is updated. And finally I've added additional Actions in IAnalyticsClient.cs * DYN-5286-MLNodeAutocomplete-Analytics CodeReview1 Removed the Actions added in IAnalyticsClient.cs so we can re-use the existing ones (so the method calls were also updated). Added Analytics track events in the Preferences panel when the NodeAutocomplete is se to ML Recomentations or Object Type. The ExportSettings option and ImportSettings option were renamed to Export and Import (so the method calls were also updated). * Update * update * Update Co-authored-by: Aaron (Qilong) <[email protected]> * DYN-5426 Setting different font size when the height of the library is smaller (#13578) * Setting different font size when the height is smaller * calculate the font size based on the screen height Co-authored-by: reddyashish <[email protected]> Co-authored-by: filipeotero <[email protected]> Co-authored-by: Roberto T <[email protected]>
* Fix CustomNode views after it is saved. * Add test * Update WorkspaceSaving.cs
* Fix CustomNode views after it is saved. * Add test * Update WorkspaceSaving.cs Co-authored-by: reddyashish <[email protected]>
Purpose
Task: https://jira.autodesk.com/browse/DYN-5423.
This PR is to fix the custom node layout by serializing the "Views" property when a new file is saved. This is done in the WorkspaceViewModel which will handle both the HomeWorkspaceModel and CustomNodeWorkspaceModel.
The previous check for CustomNodeWorkspaceModel is moved inside WorkspaceViewModel, where we will update the file path info in the custom node manager after a new custom node file is saved (related to the PR).
Declarations
Check these if you believe they are true
*.resx
filesRelease Notes
Fix CustomNode view layout after it is saved.
Reviewers
@DynamoDS/dynamo