Update martin stacey master from dynamoDS master#23
Merged
martinstacey merged 130 commits intomartinstacey:masterfrom Jun 3, 2021
Merged
Update martin stacey master from dynamoDS master#23martinstacey merged 130 commits intomartinstacey:masterfrom
martinstacey merged 130 commits intomartinstacey:masterfrom
Conversation
* update libg nugets * change copy local to false for all projects except DynamoCore * update LibG reference for DynamoCoreWpf
Cherry-pick to: `TestBranch` * CoreNodes Object and CoreNodes String * Punctuation corrections * Nodes String.startsWith and String.endsWith corrections
* Adding a view element to let users expand the watch node. * Change the location of the thumb element. * Removing the BoolToVisibilityConverter refernece that is not being used * Hide the expansion thumb element in the preview content of the node * Uncommiting previous commit and showing the thumb element only for the watch node. This was a better option to avoid issues with preview control. * Set the min height and min width dynamically for the watch node. * Remove unnecessary changes * Use const to set the size of the node. * Obsoleting the properties that are not being used anymore. * Update Watch.cs
…11230) * add mechanism to delay graph execution Co-authored-by: pinzart <[email protected]>
Cherry-pick to 'TestBranch' * CoreNodes-Math-140-141_152-164 Math.Xor, Math.Tanh, Math.Tan, Math.Sum, Math.Sign(int), Math.Sign(number), Math.Round(number,digits), Math.Round(number), Math.Floor, Math.Factorial, Math.Ceiling, Math.Average, Math.Abs, Math.Map * CoreNodes.Math 658-661 Nodes changed 658-661 * Math nodes adress internal pr observations * Eliminate punctuation if not needed * Revert "Eliminate punctuation if not needed" This reverts commit 0f6c83b. * Punctuation corrections * Math.Floor input description updated Added the word ‘down’ to differentiate with Math Ceiling
Cherry-pick to : 'TestBranch' * CoreNodes-List-Annotation Update * Puctuation corrections
Cherry-pick to 'TestBranch' * Removal of unused code * Revert "Removal of unused code" This reverts commit c78dfe9. * Added Obsolete Tag * Message change * Tests1 * Tests changes * WorkspaceModel Tests * Fix merge issue * GitHub Action For Issue Content * Refactor * Update checkIssueInfo.yaml * Add github action * Template/Issue parser and comparator improvements * Update infromation analyzer * Delete checkIssueInfo.yaml * Cherry pick workflow * comment format * change variable name * Update cherry-picking.yaml * Update cherry_pick_check.ps1
* Removal of unused code * Revert "Removal of unused code" This reverts commit c78dfe9. * Added Obsolete Tag * Message change * Tests1 * Tests changes * WorkspaceModel Tests * Fix merge issue * GitHub Action For Issue Content * Refactor * Update checkIssueInfo.yaml * Add github action * Template/Issue parser and comparator improvements * Update infromation analyzer * Delete checkIssueInfo.yaml * changes
Cherry-pick to 'TestBranch' * Excel annotation update * Expand on ExportToExcel overWrite description * Location Nodes File reference corrected to show descriptions * Location descriptions updated * Suggestions for excel descriptions * Location name output changed * Location output updates * Update on Excel's workbook vs worksheet vs spreadsheet Differentiate between excel’s workbook, worksheet and spreadsheet.
Adds function SetupPythonSync to setup python synchronously
* Use task run to wrap the installation body * Update to use sync version of API * Additional place to fix
* Color nodes description update * Watch Node updated Watch Node Description, Input description and output description updated
* CoreNodes DateTime descriptions updated * More DateTime descriptions updated * DateTime.IsDayLightSavingsTime input description updated * TimeSpan.ByDateDifference input descriptions updated
…uiltIn.Dictionary (#11424) * Map Lacing Descriptions Updated * Dictionary descriptions update * Dictionary.ValueAtKey Update input description * ReplaceByCondition and List.Filter descriptions changed
…perators, and BuiltInOperators.BuiltIn (#11389) * BuiltIn and Operators changed * BuiltIn input names changes * List.Rank change input description * Color range update * Equals with tolerance updated * Equals inputs updated * Operators descriptions updated * Or operator change description * Or output description changed * Change output descriptions for greater and greater or equal * Color range description update * Equals and Add Node Descriptions Updated Descriptions changed to include all comparable types that are available for inputs * Equals with Tolerance input description updated * Operators descriptions updated * BuiltIn descriptions updated
* FileSystem update node annotation * Update FileSystem descriptions * GetDirectoryContents description fixed Description was producing errors, was remade * Combine Path input description updated * Add inputs description to MoveFile node * Update CombinePath input description
* Removal of unused code * Revert "Removal of unused code" This reverts commit c78dfe9. * Added Obsolete Tag * Message change * Tests1 * Tests changes * WorkspaceModel Tests * Fix merge issue * GitHub Action For Issue Content * Refactor * Update checkIssueInfo.yaml * Add github action * Template/Issue parser and comparator improvements * Update infromation analyzer * Delete checkIssueInfo.yaml * Update cherry-picking.yaml * Update cherry-picking.yaml
Cherry-pick to 'TestBranch'
* update pythonnet Co-authored-by: pinzart <[email protected]>
Co-authored-by: pinzart <[email protected]>
cherry-pick to `TestBranch`
* Revert "First version with migration from packages.config to package reference (#11186)" This reverts commit c7a5e49. * Revert "Revert "First version with migration from packages.config to package reference (#11186)"" This reverts commit 5906c99. * Issues Type Predicter GitHub Action I added a new workflow (issue_type_predicte.yaml) that is using the ML.NET model for predicting the issue type (source repo), so If a new issue is created in the Dynamo repo this workflow will run and will predict if is a Wishlist issue or not. If is a Wishlist issue it will be labeled as "Wishlist" and then another workflow will move the issue to the DynamoWishlist repo. If the issue is incomplete or is not valid the label "NotMLEvaluated" will be added to the issue. Also I added two scripts more, one will return the issue body in a json string and the other one will clan the issue body removing sections not used like "Dynamo Version" or "Stack Trace"
Changes the publish package dialog to use checkboxes rather than a context menu to select which dlls are node libraries. Also adds an instructive text on top to further guide users.
* Revert "First version with migration from packages.config to package reference (#11186)" This reverts commit c7a5e49. * Revert "Revert "First version with migration from packages.config to package reference (#11186)"" This reverts commit 5906c99. * Issues Type Predicter GitHub Action I added a new workflow (issue_type_predicte.yaml) that is using the ML.NET model for predicting the issue type (source repo), so If a new issue is created in the Dynamo repo this workflow will run and will predict if is a Wishlist issue or not. If is a Wishlist issue it will be labeled as "Wishlist" and then another workflow will move the issue to the DynamoWishlist repo. If the issue is incomplete or is not valid the label "NotMLEvaluated" will be added to the issue. Also I added two scripts more, one will return the issue body in a json string and the other one will clan the issue body removing sections not used like "Dynamo Version" or "Stack Trace" * Fix for the GitHub token When testing the issue predicter workflow the issues labeled as Wishlist were not moved to the DynamoWishlist repo due that the "Move Issue by labels" workflow failed. There was a problem with the PAT used to label the issue, I was using the wrong one (no triggers actions).
…ns null (#11479) * wip use prod code when name returns null * add new mock setup add friend assembly for moq add test fix broken tests add fallback for interface * remove as stmt Co-authored-by: michael kirschner <[email protected]>
* Return data instead of void for export node * return bool instead of data
* Update Helix Toolkit dependency from 2.11 to 2.15 * Update hlsl files to match Helix hsl files in v2.15 * Add compiled shaders * update shader readme Co-authored-by: Craig Long <[email protected]>
* Removal of unused code * Revert "Removal of unused code" This reverts commit c78dfe9. * Added Obsolete Tag * Message change * Tests1 * Tests changes * WorkspaceModel Tests * Fix merge issue * GitHub Action For Issue Content * Refactor * Update checkIssueInfo.yaml * Add github action * Template/Issue parser and comparator improvements * Update infromation analyzer * Delete checkIssueInfo.yaml * ux changes * Disable preferences in debug mode * fix * visibility change * UX fixes * Update DynamoView.xaml * Change save button into a label that will show when changes where saved
* Removal of unused code * Revert "Removal of unused code" This reverts commit c78dfe9. * Added Obsolete Tag * Message change * Tests1 * Tests changes * WorkspaceModel Tests * Fix merge issue * GitHub Action For Issue Content * Refactor * Update checkIssueInfo.yaml * Add github action * Template/Issue parser and comparator improvements * Update infromation analyzer * Delete checkIssueInfo.yaml * ux changes * Disable preferences in debug mode * fix * visibility change * UX fixes * Update DynamoView.xaml * Update PreferencesViewModel.cs
* Linter manager (#11606) * Initial commit * Move event subscription to extension base class + add property changed filter to rules * comment updates * Update LinterExtensionBase.cs * Update InputNodesNotAllowedRule.cs * Add Deactivate method to linterExtensionBase + LinterManager tests * comment updates * Dispose LinterManager * comment updates * Serialize linter manager to dyn file * clear ruleEvaluationResults on workspace change * Remove test extension * Handle GraphRuleEvaluationResults nodeIds changes * Update SerializationConverters.cs * Fix failing serialization test * comment updates * revert changes to test file * Linter ViewExtension (#11634) * Initial commit * Move event subscription to extension base class + add property changed filter to rules * comment updates * Update LinterExtensionBase.cs * Update InputNodesNotAllowedRule.cs * Add Deactivate method to linterExtensionBase + LinterManager tests * comment updates * Initial commit * Add issues count to WorkspaceSaving * add scrollviewer * Dispose LinterManager * Make concrete issues internal * summaries on IRuleIssue * comment updates * Update severity code icon * Serialize linter manager to dyn file * clear ruleEvaluationResults on workspace change * Remove test extension * Show names instead of GUIDs * add help doc * clean up * Handle GraphRuleEvaluationResults nodeIds changes * Update LintingViewExtension.csproj * Update LintingViewExtension.csproj * Update SerializationConverters.cs * Fix failing serialization test * comment updates * revert changes to test file * fix available linters binding * add rules back in test ext * comment updates * remove output path * Update LinterManagerTests.cs * comment updates * hide LinterViewExtension and LinterExtensionBase * Update LinterViewModel.cs * remove unused test files * Fix pr comments (#11677) * Linter manager (#11606) * Initial commit * Move event subscription to extension base class + add property changed filter to rules * comment updates * Update LinterExtensionBase.cs * Update InputNodesNotAllowedRule.cs * Add Deactivate method to linterExtensionBase + LinterManager tests * comment updates * Dispose LinterManager * comment updates * Serialize linter manager to dyn file * clear ruleEvaluationResults on workspace change * Remove test extension * Handle GraphRuleEvaluationResults nodeIds changes * Update SerializationConverters.cs * Fix failing serialization test * comment updates * revert changes to test file * Linter ViewExtension (#11634) * Initial commit * Move event subscription to extension base class + add property changed filter to rules * comment updates * Update LinterExtensionBase.cs * Update InputNodesNotAllowedRule.cs * Add Deactivate method to linterExtensionBase + LinterManager tests * comment updates * Initial commit * Add issues count to WorkspaceSaving * add scrollviewer * Dispose LinterManager * Make concrete issues internal * summaries on IRuleIssue * comment updates * Update severity code icon * Serialize linter manager to dyn file * clear ruleEvaluationResults on workspace change * Remove test extension * Show names instead of GUIDs * add help doc * clean up * Handle GraphRuleEvaluationResults nodeIds changes * Update LintingViewExtension.csproj * Update LintingViewExtension.csproj * Update SerializationConverters.cs * Fix failing serialization test * comment updates * revert changes to test file * fix available linters binding * add rules back in test ext * comment updates * remove output path * Update LinterManagerTests.cs * comment updates * hide LinterViewExtension and LinterExtensionBase * Update LinterViewModel.cs * if statements * remove Prism * clean up Co-authored-by: BogdanZavu <[email protected]>
* update libg nugets * fix * set copy local to false * update libg with plane intersection fixes
* Tests1 * Tests changes * WorkspaceModel Tests * Fix merge issue * Add github action * GitHub Action For Issue Content * Refactor * Template/Issue parser and comparator improvements * Update infromation analyzer * Delete checkIssueInfo.yaml * Disable preferences in debug mode * fix * Update PreferencesViewModel.cs * Update PreferencesView.xaml * revert commit
* DYN-3566 Added documentation * Add gifs
* Analytics Change for Preferences View * Code Clean up
…panel (#11702) * DYN-3566 Added documentation * Add gifs * Add doc trigger in pref panel and a new gif * updated gif
* DYN-3606-Preferences-Expanders Functionality I added the functionality in the Features tab of having just one Expander expander at one time (this functionality already exits in the Visual Settings expander). Also I added the functionality of recording the current state of the Expander in a way that every time that the Preference window is closed and re-opened then the Expanders will remember the previous state. Due that this functionality was implemented by session then when the Dynamo app is closed the previous Expander settings will be lost. * DYN-3606-Preferences-Expanders Code Review Based in the comments done in the code review I removed the json entry created in the resources for loading the initial ExpanderSettings and now the list was initialized in the constructor. * DYN-3606-Preferences-Expanders Code Review 2 Based in the code review comments instead of creating the PreferencesViewModel in PreferencesView.xaml.cs now will be created in DynamoViewModel.cs so the settings for expanders can be loaded/stored by session. Also the Expanders List was moved inside the PreferencesViewModel. * DYN-3606-Preferences-Expanders Code Review 3 Based on the code review comments: I changed the PreferencesViewModel property from public to Internal. I reorganized usings in the PreferencesViewModel.cs file. In the PreferencesView.xaml.cs due that I found a way to find all the Expanders in the PreferencesView, I refactored some code in a way and now there is no need to describe each expander name for binding the IsExpanded property. * DYN-3606-Preferences-Expanders Code Review 3 I re-implemented the functionality of recording/loading the current expansion state of each expander in a List<ExpanderSettings>, now instead of recording each one only records the one expanded (only one Expander can be expanded per each tab), so the info for one is loaded when the Preferences window is opened and just one info is saved when the Expander expansion state is updated (thiis approach was suggested by Astul). For implementing this functionality I added a Converter that will be binded in each Expander as Michael suggested. * Fixed conflicts after merge with updated master branch After fetching the latest changes in the master branch and merging the changes in my feature branch I got several conflicts, this fixes several errors. * DYN-3606-Preferences-Expanders Code Review 4 The FindLogicalChildren method is not used then deleted and updating a typo in a comment * DYN-3606-Preferences-Expanders Code Review 4 Removing no needed comment. * DYN-3606-Preferences-Expanders Code Review 4 Fixed comment * DYN-3606-Preferences-Expanders Code Review 4 Instead of using a list for binding the TabSettings Items in the PreferencesView.xaml , used a Dictionary so in the xaml file I can use something like PreferencesTabs[Features] for the bindings, also added the General tab as an item of the new dictionary. Co-authored-by: Aaron (Qilong) <[email protected]>
* add package states under dbg mode
…11701) * Users should be able to type into the Auto completion search window. Prevent the window from hiding when the user clicks on the workspace. * Update WorkspaceView.xaml.cs * Fix node autocompletion search issues
* Tests1 * Tests changes * WorkspaceModel Tests * Fix merge issue * Add github action * GitHub Action For Issue Content * Refactor * Template/Issue parser and comparator improvements * Update infromation analyzer * Delete checkIssueInfo.yaml * Disable preferences in debug mode * fix * Update PreferencesViewModel.cs * Update PreferencesView.xaml * revert commit * Show CodeBlockNode Line Number * fix * remove duplicated line * saved changes label regression fix
…() in python migration tool (#11708) * AddReferenceToFileAndPath fixer * Hardening pattern * Add test.
* Update NodeAC doc to reflect double click
* Fix Expander Expanding Functionality Fixing the issue "clicking on header of an expanded Expander doesn't collapse it. Hence, there is no way to collapse all the expanders once one of them is expanded." I removed the Expanded event since it was producing saving wrong expanded status per each expander. * Fix Expander Expanding Functionality - Code Review Fixing one code review comment.
* Fixing Harcoded String Fixing Harcoded String in the PreferencesView, so it was moved to resources * Fixing Harcoded String Reusing the Resource PreferencesViewIsIronPythonDialogDisabled instead of creating a new one.
* enhance readyparams api * handle obsolete api * fix styling
martinstacey
added a commit
that referenced
this pull request
Sep 27, 2021
* Node Redesign (DynamoDS#11892) * DYN-3768-SurveyWindowUI (DynamoDS#11834) * DYN-3768-SurveyWindowUI I created 3 resources for the two titles of the SurveyWindow and one for the text content. I modified the CustomRichTextBox because hyperlink names separated by spaces were not supported then I did some changes and now are working. I added the RatingControl UI and the SurveyPopup UI and some used styles in the DynamoModern.xaml. Finally I added a instance of the Survey in the DynamoView.xaml.cs and now a survey popup will be displayed just for testing purposes. * DYN-3768-SurveyWindowUI Code Review I added several comments in SurveyPopupViewModel and RatingControl and removed a comment Survey * DYN-3768-SurveyWindowUI Code Review2 Updated the DependencyProperty name to Value * Update and rename 4_stdlib.md to 4_builtinpackages.md (DynamoDS#11850) * Update and rename 4_stdlib.md to 4_builtinpackages.md * Update 4_builtinpackages.md * Add ways to pass Analytics Host Entitlement info for out of process integrators (DynamoDS#11841) * Initial Commit * Add ParentId to update manager * Updates * Add CLI support * Add unit tests * Update tests * Update HostContextInfo type usage * Comments to use struct * Move properties out of update manager * Update * Comments * Comments * update test * Force Dynamo to run on nvidia graphics card to address helix crash with multiple monitors (DynamoDS#11855) * enable nvidia graphics card for helix * make new field private * Triggering Node AutoComplete on input port should not destroy the connection. (DynamoDS#11859) * Extension fix (DynamoDS#11861) DYN-3773 * Upgrade Helix to 2.17.0. (DynamoDS#11860) * DYN-3834-GeoScaling-GraphRun (DynamoDS#11845) * DYN-3834-GeoScaling-GraphRun There was an issue that when the Geometry Scaling was updated in a very large graph the Preferences panel was blocked not allowing the user to close it. I think this behavior was because when the Preference panel was opened immediately a graph run was executed (without changing anything in the Preferences panel). I was NOT able to reproduce the Preferences panel freezing behavior but we noticed that the graph execution was always happening when the Preferences panel was opened (when nothing was changed), then I did a fix in a way that the selected radio button (in geometry scaling section) is updated every time a new workspace is created or a dyn file is loaded (as is happening with the WorkspaceModel.ScaleFactor), so the graph run will be executed just when the ScaleFactor is changed. * DYN-3834-GeoScaling-GraphRun Code Review Unsubscribing from the WorkspaceSettingsChanged when the PreferencesViewModel is cleared. * DYN-3834-GeoScaling-GraphRun Code Review Making method private due that is just used in the same class. * DYN-3834-GeoScaling-GraphRun Code Review I did some changes so only when the ScaleFactor was changed a graph run will be executed when the Preferences dialog is closed * DYN-3834-GeoScaling-GraphRun Code Review2 Replacing the call to ForceRunCancelCommand method for MarkNodesAsModifiedAndRequestRun due that the first one was executing the graph when the RunMode = Manual at the moment of updating the Geometry Scaling in the other hand with the MarkNodesAsModifiedAndRequestRun doesn't happen that behavior. * Pin Note to Node (DynamoDS#11840) * Pin to node squashed commit * Changes for pin to node pr * Add spacing to pin icon * Retain pin node in copy paste, also correct spacing between note pin icon and text * Move selection to command * Place PIN_WIDTH as constant * Fix distance in unit tests * update libG for perimeter curves refactor (DynamoDS#11870) Co-authored-by: pinzart <[email protected]> * add test for dyn-3628 fix (DynamoDS#11872) * add dump bytecode debug mode (DynamoDS#11871) * add dump bytecode debug mode * DYN-3815 - Prevent reloading of packages unless there are new packages in list of package paths (DynamoDS#11835) * initial commit - WIP * fixes for extraneous notifications and duplicate nodes * cleanup * revert unchanged file * fix new package logic * remove unused property * fix some tests * revert unchanged file * fix remaining tests * obsolete property * cleanup * edit obsoletion message * load loose custom node defn files by simply adding root path * add unit tests * review comments * revert rename of public API * unsub events in tests * DYN-3834-GeoScaling-UnitTest (DynamoDS#11867) * DYN-3834-GeoScaling-UnitTest I added one unit tests with two parameters, one is for validating that when RunMode=Manual and the MarkNodesAsModifiedAndRequestRun() method is called the graph execution is NOT kicked off. The other when the RunMode=Automatic and the MarkNodesAsModifiedAndRequestRun() method is called the graph execution is kicked off. * DYN-3834-GeoScaling-UnitTest Code Review I had to split the tests in two (one for Automatic and other for Manual) due that the Resources strings can not be used as a parameters in nUnit Tests parameters (since parameters expected should be constant values). * DYN-3834-GeoScaling-UnitTest Code Review2 Adding extra assert before validating the node warning state. A comment was updated reflecting the behavior when RunType = Manual * Pin to Node Selection Behaivior (DynamoDS#11874) * Pin to node squashed commit * Changes for pin to node pr * Add spacing to pin icon * Retain pin node in copy paste, also correct spacing between note pin icon and text * Move selection to command * Place PIN_WIDTH as constant * Fix distance in unit tests * Selection behaviour corrected * Limit pin to node behaviour * Add tooltip for Pin to node command, Enable Pin To Node only when a node and a note is selected * Add test to PinToNodeCommand.canExecute * Update ScopeIf description (DynamoDS#11876) * Update ScopeIf description * ScopeIf Description Update * Update Resources.Designer.cs * DYN-3875: Restore LocalPackages property in PreferencesViewModel (DynamoDS#11881) * restore property in PreferencesViewModel * add regression test for installedpackagesview * fix test * remove setting datacontext for installed packages view control as it is inherited * undo unnecessary changes * more cleanup * fix node autocomplete crash (DynamoDS#11887) * Node redesign (#3) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * DYN-3875: Restore LocalPackages property in PreferencesViewModel (DynamoDS#11881) * restore property in PreferencesViewModel * add regression test for installedpackagesview * fix test * remove setting datacontext for installed packages view control as it is inherited * undo unnecessary changes * more cleanup * Updates UI * fix node autocomplete crash (DynamoDS#11887) * Minor UI changes to Autodesk feedback * Temporarily disabled dismissed alerts features * Minor UI fix to the nodes' GlyphStackPanel Co-authored-by: aparajit-pratap <[email protected]> Co-authored-by: Roberto T <[email protected]> Co-authored-by: Michael Kirschner <[email protected]> Co-authored-by: Aaron (Qilong) <[email protected]> Co-authored-by: aparajit-pratap <[email protected]> Co-authored-by: reddyashish <[email protected]> Co-authored-by: Ashish Aggarwal <[email protected]> Co-authored-by: Jorgen Dahl <[email protected]> Co-authored-by: Martin Stacey <[email protected]> Co-authored-by: pinzart90 <[email protected]> Co-authored-by: pinzart <[email protected]> Co-authored-by: Sol Amour <[email protected]> * Wire modifications (DynamoDS#11897) * Wire modifications (#23) * Got hidden wire implementation working with View->ConnectorDisplay * Watch node behaviour modified. * Added image resources. Corrected hover/unhover of watch icon based on whether data passing through meets a requirement of 5 or more items. * WirePin: Model, ViewModel, View. Placeable/removable via ContextMenus. * Modified 'RunSharedParams' functionality to work properly. * Basic implementation of pins. Multi-control point bezier implemented. Need to implement a segmented version between pairs of pins. * Added WirePinViewModel discard functionality: DiscardAllWirePins() * Expected behaviour when deleting nodes (pins delete). Provision for opaque/halftone pins/watch icon depending on wire visibility. * Redrawing Watch (hover) icon at the midpoint when there are pins on the wire. * This fixes the 'WatchHoverIcon' when there are pins/ when they are removed. Previously when removing pins the icon was drawn in the wrong place. * Cleanup of unused code. * Clearup + pin highlighting behaviour. * Serialization/Deserialization of pins achieved. * 'Wire' to 'Connector' rename throughout for more consistency with the existing codebase. * Fixed unwanted duplicate pin placement (the one at the origin). * Discarded unused methods. Fixed pin multi-selection functionality. * Fixes to hidden wire display when pin selected. * Preview behaviour of wires fixed when a pin is selected (similar to that of nodes). RaisePropertyChanged(nameof(Property)) throughout ConnectorViewModel. * Basic implementation of 'Autolayout' which includes ConnectorPins. * Delete AssemblySharedInfo. * Remove unnecessary files/ file changes. * Delete unnecessary change. * Removed unnecessary files/file changes. * Delete unneeded change. * Revert "Delete unneeded change." This reverts commit 090fb18. * Revert "Merge branch 'Wire-Modifications' of https://github.com/M-JULIANI/Dynamo into Wire-Modifications" This reverts commit 23dc696, reversing changes made to 06378f0. * Reverted unneeded changes. * Reverting unneeded changes. * Removing unneeded changes. * Removing unneeded changes. * Unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Various PR fixes. * Reverted Resharper renaming of various comments. * PR fixes. * PR fixes. * ConnectorPin visibility fixed (follows Connector visibility). * Fixed PR issues. * Ironed out edge condition- AutoLayout _seems_ to work without any errors thrown at the moment. * PR Cleanup and Autolayout edge case fixes. * Ensures ConnectorPins cannot be copied and pasted (like notes & nodes) but rather have to be placed deliberately. * Functionality added to preserve pins when 'WatchIcon' is clicked and Watch Node is placed. Previously they were discarded. * Cleanup. * Added correct ConnectorPin icons for 'selected' and 'hidden' visibility. Got Undo/Redo functionality working partially. * Got 'undo' working for when a connector is pinned. * Undo/redo functionality between OOTB nodes and between custom nodes. * Cleanup. * Cleanup * Cleanup. * Cleanup. * Cleanup. * Cleanup. * Fixes. * Fixes. * Fixes. * Fixes. * Small fixes. * Removed unused argument. * Fixes. * Small PR fixes. * PR fix. * Small fixes to ensure toggle between pline/bezier connectors and correct pin visibility. * fix breaks * Update RecordedTests.cs * PR fixes. * Connector anchor behaviour implemented. * Added wire hover behaviour (grey outline). Updated 'default' icon behaviour (onhover). * Updates to jive with unit tests. * Bug fix related to pin removal/ watch node placement. * Fixes. Updated pin position/ transform in xaml to achieve correct alignment with GraphLayout routines. * Undo/redo bug fixed. * PR comment fixes. * PR comments fixed. * PR fixes. * PR fixes. * PR fixes. * fix coreWpf csproj file after rebase Co-authored-by: Sylvester Knudsen <[email protected]> * Wire modifications unit tests revised (DynamoDS#11899) * Wire modifications (#23) * Got hidden wire implementation working with View->ConnectorDisplay * Watch node behaviour modified. * Added image resources. Corrected hover/unhover of watch icon based on whether data passing through meets a requirement of 5 or more items. * WirePin: Model, ViewModel, View. Placeable/removable via ContextMenus. * Modified 'RunSharedParams' functionality to work properly. * Basic implementation of pins. Multi-control point bezier implemented. Need to implement a segmented version between pairs of pins. * Added WirePinViewModel discard functionality: DiscardAllWirePins() * Expected behaviour when deleting nodes (pins delete). Provision for opaque/halftone pins/watch icon depending on wire visibility. * Redrawing Watch (hover) icon at the midpoint when there are pins on the wire. * This fixes the 'WatchHoverIcon' when there are pins/ when they are removed. Previously when removing pins the icon was drawn in the wrong place. * Cleanup of unused code. * Clearup + pin highlighting behaviour. * Serialization/Deserialization of pins achieved. * 'Wire' to 'Connector' rename throughout for more consistency with the existing codebase. * Fixed unwanted duplicate pin placement (the one at the origin). * Discarded unused methods. Fixed pin multi-selection functionality. * Fixes to hidden wire display when pin selected. * Preview behaviour of wires fixed when a pin is selected (similar to that of nodes). RaisePropertyChanged(nameof(Property)) throughout ConnectorViewModel. * Basic implementation of 'Autolayout' which includes ConnectorPins. * Delete AssemblySharedInfo. * Remove unnecessary files/ file changes. * Delete unnecessary change. * Removed unnecessary files/file changes. * Delete unneeded change. * Revert "Delete unneeded change." This reverts commit 090fb18. * Revert "Merge branch 'Wire-Modifications' of https://github.com/M-JULIANI/Dynamo into Wire-Modifications" This reverts commit 23dc696, reversing changes made to 06378f0. * Reverted unneeded changes. * Reverting unneeded changes. * Removing unneeded changes. * Removing unneeded changes. * Unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Various PR fixes. * Reverted Resharper renaming of various comments. * PR fixes. * PR fixes. * ConnectorPin visibility fixed (follows Connector visibility). * Fixed PR issues. * Ironed out edge condition- AutoLayout _seems_ to work without any errors thrown at the moment. * PR Cleanup and Autolayout edge case fixes. * Ensures ConnectorPins cannot be copied and pasted (like notes & nodes) but rather have to be placed deliberately. * Functionality added to preserve pins when 'WatchIcon' is clicked and Watch Node is placed. Previously they were discarded. * Cleanup. * Added correct ConnectorPin icons for 'selected' and 'hidden' visibility. Got Undo/Redo functionality working partially. * Got 'undo' working for when a connector is pinned. * Undo/redo functionality between OOTB nodes and between custom nodes. * Cleanup. * Cleanup * Cleanup. * Cleanup. * Cleanup. * Cleanup. * Fixes. * Fixes. * Fixes. * Fixes. * Small fixes. * Removed unused argument. * Fixes. * Small PR fixes. * PR fix. * Small fixes to ensure toggle between pline/bezier connectors and correct pin visibility. * fix breaks * Update RecordedTests.cs * PR fixes. * Connector anchor behaviour implemented. * Added wire hover behaviour (grey outline). Updated 'default' icon behaviour (onhover). * Updates to jive with unit tests. * Bug fix related to pin removal/ watch node placement. * Fixes. Updated pin position/ transform in xaml to achieve correct alignment with GraphLayout routines. * Undo/redo bug fixed. * PR comment fixes. * PR comments fixed. * PR fixes. * PR fixes. * PR fixes. * Unit tests re-added. * Unit tests updated. Co-authored-by: Sylvester Knudsen <[email protected]> * Update DynamoColorsAndBrushes.xaml, which was accidentally tampered with. (DynamoDS#11928) We accidentally deleted some key lines of code having to do with the styling of nodes. * Node visual refresh updates (DynamoDS#11933) * Adjustments made to node height, code block syntax colouring, output port arrows. * Updates UI * Responds to latest feedback from Autodesk Changes path-based icons to PNGs. Updates Code Block syntax highlighting colors and font to monospace. Adds some extra new strings into Resources. Fixes bug where unnamed port that shows output port chevron control could lead to the user being presented with a double-chevron port. DynamoTextBox now has a minimum width set. Slight adjustment to the sizes of various node parts. All node icons should now load successfully. * Code block minor pixel edits Ensuring all code block elements align as they need to. Tested with 200 outputs. * Minor UI fixes * Removing redundant code * Updates some failing tests. Switches .Cast<MenuItem> to .OfType<MenuItem> in many instances. * Removes node informational states icons - these appear in another branch * Responds to PR comments * Node visual refresh updates (DynamoDS#11941) * Adjustments made to node height, code block syntax colouring, output port arrows. * Updates UI * Responds to latest feedback from Autodesk Changes path-based icons to PNGs. Updates Code Block syntax highlighting colors and font to monospace. Adds some extra new strings into Resources. Fixes bug where unnamed port that shows output port chevron control could lead to the user being presented with a double-chevron port. DynamoTextBox now has a minimum width set. Slight adjustment to the sizes of various node parts. All node icons should now load successfully. * Code block minor pixel edits Ensuring all code block elements align as they need to. Tested with 200 outputs. * Minor UI fixes * Removing redundant code * Updates some failing tests. Switches .Cast<MenuItem> to .OfType<MenuItem> in many instances. * Removes node informational states icons - these appear in another branch * Responds to PR comments * Fixes many failing regression tests. Adjusts Artifakt font location. * Update Defect_MAGN_904.xml * Update PortViewModel.cs * Resets command interval in 2 recorded tests. * Same again * Node informational states (#4) (DynamoDS#11910) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * Updates UI * WIP changes * ViewModel logic working as per mockup * Node redesign (#3) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * DYN-3875: Restore LocalPackages property in PreferencesViewModel (DynamoDS#11881) * restore property in PreferencesViewModel * add regression test for installedpackagesview * fix test * remove setting datacontext for installed packages view control as it is inherited * undo unnecessary changes * more cleanup * Updates UI * fix node autocomplete crash (DynamoDS#11887) * Minor UI changes to Autodesk feedback * Temporarily disabled dismissed alerts features * Minor UI fix to the nodes' GlyphStackPanel Co-authored-by: aparajit-pratap <[email protected]> * Updates * Updates node informational states * Minor fixes * Removed INodeInformationalState interface, no longer needed. * Restored previously-removed commands in InfoBubbleCommand.cs * Typo fix and restoring old NodeInfoBubbleViewModel methods to original state. * Added comments, minor (old) API restoration work * Renaming, refactoring and added 2 tests. * Removed new constructor for OutputMessage. Class is no longer being used for Informational States. * Minor fixes. Removed outdated and unused collection on NodeModel. Changed command name to be less confusing. * Update * Responds to comments * Removed unneeded references * Reponse to comments * Removed 'else' from method body * two more Co-authored-by: aparajit-pratap <[email protected]> Co-authored-by: aparajit-pratap <[email protected]> * Wire Behaviour UI fixes (DynamoDS#11946) * Update DynamoColorsAndBrushes.xaml, which was accidentally tampered with. We accidentally deleted some key lines of code having to do with the styling of nodes. * PR fixes. Button rectangular border removed, hover state for polyline connectors disabled, instantiation location of pins fixed. - Button rectangular border removed. - Hover state for polyline connectors disabled. - Instantiation location of pins fixed. - Connector tooltip behaviour to match that of temporary hover icons. * PR fix. * This makes more sense as a static member than a const. * PR fixes. * PR fixes. * PR fixes. * Update UIDispatcher usage (DynamoDS#11951) * Fix the build by adding back missing code (DynamoDS#11952) * Fix two regressions (DynamoDS#11953) * Wire Behaviour UI fixes (DynamoDS#11954) * Wire UI Fixes 1. Made wire tooltip highest ZIndex. 2. Made first line of tooltip bold, the rest is regular 3. Added a clickable item under View-> Connectors to turn tooltip on/off. * Added comments. * Update CommandLineTests.cs (DynamoDS#11955) * Graph Layout regression test fixed. (DynamoDS#11956) * Update ConnectorAnchorView.xaml (DynamoDS#11969) * Remove Extra Files (DynamoDS#11970) * Node visual refresh updates (DynamoDS#11973) * Adjustments made to node height, code block syntax colouring, output port arrows. * Updates UI * Responds to latest feedback from Autodesk Changes path-based icons to PNGs. Updates Code Block syntax highlighting colors and font to monospace. Adds some extra new strings into Resources. Fixes bug where unnamed port that shows output port chevron control could lead to the user being presented with a double-chevron port. DynamoTextBox now has a minimum width set. Slight adjustment to the sizes of various node parts. All node icons should now load successfully. * Code block minor pixel edits Ensuring all code block elements align as they need to. Tested with 200 outputs. * Minor UI fixes * Removing redundant code * Updates some failing tests. Switches .Cast<MenuItem> to .OfType<MenuItem> in many instances. * Removes node informational states icons - these appear in another branch * Responds to PR comments * Fixes many failing regression tests. Adjusts Artifakt font location. * Update Defect_MAGN_904.xml * Update PortViewModel.cs * Resets command interval in 2 recorded tests. * Same again * Fixes bugs and makes requested adjustments Connected Break Connection / Hide Wires to Commands. Added a tick for Context Menu items like 'Hidden' / 'Frozen' Fixed Integer / Number slider visual input bug Fixed Node Context Menu double separator bug Fixed ToolTip spacing Fixed Node Preview / Hidden eye icon not showing up bug Adjusted Connector colour when selected to be same blue as node selection border. Adjusted port names color to be same as node header Adjusted Port default value marker to be same blue as port is connected border color Adjusted node default icon to new icon from Jingyi Fixed Code block 'Enter code here' vertical alignment Adjusted AvalonEdit line numbers to fade them out a bit more * Fixes bugs and makes requested adjustments Connected Break Connection / Hide Wires to Commands. Added a tick for Context Menu items like 'Hidden' / 'Frozen' Fixed Integer / Number slider visual input bug Fixed Node Context Menu double separator bug Fixed ToolTip spacing Fixed Node Preview / Hidden eye icon not showing up bug Adjusted Connector colour when selected to be same blue as node selection border. Adjusted port names color to be same as node header Adjusted Port default value marker to be same blue as port is connected border color Adjusted node default icon to new icon from Jingyi Fixed Code block 'Enter code here' vertical alignment Adjusted AvalonEdit line numbers to fade them out a bit more * Node visual refresh updates (DynamoDS#11977) * Adjustments made to node height, code block syntax colouring, output port arrows. * Updates UI * Responds to latest feedback from Autodesk Changes path-based icons to PNGs. Updates Code Block syntax highlighting colors and font to monospace. Adds some extra new strings into Resources. Fixes bug where unnamed port that shows output port chevron control could lead to the user being presented with a double-chevron port. DynamoTextBox now has a minimum width set. Slight adjustment to the sizes of various node parts. All node icons should now load successfully. * Code block minor pixel edits Ensuring all code block elements align as they need to. Tested with 200 outputs. * Minor UI fixes * Removing redundant code * Updates some failing tests. Switches .Cast<MenuItem> to .OfType<MenuItem> in many instances. * Removes node informational states icons - these appear in another branch * Responds to PR comments * Fixes many failing regression tests. Adjusts Artifakt font location. * Update Defect_MAGN_904.xml * Update PortViewModel.cs * Resets command interval in 2 recorded tests. * Same again * Fixes bugs and makes requested adjustments Connected Break Connection / Hide Wires to Commands. Added a tick for Context Menu items like 'Hidden' / 'Frozen' Fixed Integer / Number slider visual input bug Fixed Node Context Menu double separator bug Fixed ToolTip spacing Fixed Node Preview / Hidden eye icon not showing up bug Adjusted Connector colour when selected to be same blue as node selection border. Adjusted port names color to be same as node header Adjusted Port default value marker to be same blue as port is connected border color Adjusted node default icon to new icon from Jingyi Fixed Code block 'Enter code here' vertical alignment Adjusted AvalonEdit line numbers to fade them out a bit more * Fixes bugs and makes requested adjustments Connected Break Connection / Hide Wires to Commands. Added a tick for Context Menu items like 'Hidden' / 'Frozen' Fixed Integer / Number slider visual input bug Fixed Node Context Menu double separator bug Fixed ToolTip spacing Fixed Node Preview / Hidden eye icon not showing up bug Adjusted Connector colour when selected to be same blue as node selection border. Adjusted port names color to be same as node header Adjusted Port default value marker to be same blue as port is connected border color Adjusted node default icon to new icon from Jingyi Fixed Code block 'Enter code here' vertical alignment Adjusted AvalonEdit line numbers to fade them out a bit more * Reponse to comments Co-authored-by: Ollie Green <[email protected]> Co-authored-by: Roberto T <[email protected]> Co-authored-by: Michael Kirschner <[email protected]> Co-authored-by: aparajit-pratap <[email protected]> Co-authored-by: reddyashish <[email protected]> Co-authored-by: Ashish Aggarwal <[email protected]> Co-authored-by: Jorgen Dahl <[email protected]> Co-authored-by: Martin Stacey <[email protected]> Co-authored-by: pinzart90 <[email protected]> Co-authored-by: pinzart <[email protected]> Co-authored-by: Sol Amour <[email protected]> Co-authored-by: Marco Juliani <[email protected]> Co-authored-by: Sylvester Knudsen <[email protected]>
martinstacey
added a commit
that referenced
this pull request
Sep 27, 2021
…ynamoDS#12003) * Node Redesign (DynamoDS#11892) * DYN-3768-SurveyWindowUI (DynamoDS#11834) * DYN-3768-SurveyWindowUI I created 3 resources for the two titles of the SurveyWindow and one for the text content. I modified the CustomRichTextBox because hyperlink names separated by spaces were not supported then I did some changes and now are working. I added the RatingControl UI and the SurveyPopup UI and some used styles in the DynamoModern.xaml. Finally I added a instance of the Survey in the DynamoView.xaml.cs and now a survey popup will be displayed just for testing purposes. * DYN-3768-SurveyWindowUI Code Review I added several comments in SurveyPopupViewModel and RatingControl and removed a comment Survey * DYN-3768-SurveyWindowUI Code Review2 Updated the DependencyProperty name to Value * Update and rename 4_stdlib.md to 4_builtinpackages.md (DynamoDS#11850) * Update and rename 4_stdlib.md to 4_builtinpackages.md * Update 4_builtinpackages.md * Add ways to pass Analytics Host Entitlement info for out of process integrators (DynamoDS#11841) * Initial Commit * Add ParentId to update manager * Updates * Add CLI support * Add unit tests * Update tests * Update HostContextInfo type usage * Comments to use struct * Move properties out of update manager * Update * Comments * Comments * update test * Force Dynamo to run on nvidia graphics card to address helix crash with multiple monitors (DynamoDS#11855) * enable nvidia graphics card for helix * make new field private * Triggering Node AutoComplete on input port should not destroy the connection. (DynamoDS#11859) * Extension fix (DynamoDS#11861) DYN-3773 * Upgrade Helix to 2.17.0. (DynamoDS#11860) * DYN-3834-GeoScaling-GraphRun (DynamoDS#11845) * DYN-3834-GeoScaling-GraphRun There was an issue that when the Geometry Scaling was updated in a very large graph the Preferences panel was blocked not allowing the user to close it. I think this behavior was because when the Preference panel was opened immediately a graph run was executed (without changing anything in the Preferences panel). I was NOT able to reproduce the Preferences panel freezing behavior but we noticed that the graph execution was always happening when the Preferences panel was opened (when nothing was changed), then I did a fix in a way that the selected radio button (in geometry scaling section) is updated every time a new workspace is created or a dyn file is loaded (as is happening with the WorkspaceModel.ScaleFactor), so the graph run will be executed just when the ScaleFactor is changed. * DYN-3834-GeoScaling-GraphRun Code Review Unsubscribing from the WorkspaceSettingsChanged when the PreferencesViewModel is cleared. * DYN-3834-GeoScaling-GraphRun Code Review Making method private due that is just used in the same class. * DYN-3834-GeoScaling-GraphRun Code Review I did some changes so only when the ScaleFactor was changed a graph run will be executed when the Preferences dialog is closed * DYN-3834-GeoScaling-GraphRun Code Review2 Replacing the call to ForceRunCancelCommand method for MarkNodesAsModifiedAndRequestRun due that the first one was executing the graph when the RunMode = Manual at the moment of updating the Geometry Scaling in the other hand with the MarkNodesAsModifiedAndRequestRun doesn't happen that behavior. * Pin Note to Node (DynamoDS#11840) * Pin to node squashed commit * Changes for pin to node pr * Add spacing to pin icon * Retain pin node in copy paste, also correct spacing between note pin icon and text * Move selection to command * Place PIN_WIDTH as constant * Fix distance in unit tests * update libG for perimeter curves refactor (DynamoDS#11870) Co-authored-by: pinzart <[email protected]> * add test for dyn-3628 fix (DynamoDS#11872) * add dump bytecode debug mode (DynamoDS#11871) * add dump bytecode debug mode * DYN-3815 - Prevent reloading of packages unless there are new packages in list of package paths (DynamoDS#11835) * initial commit - WIP * fixes for extraneous notifications and duplicate nodes * cleanup * revert unchanged file * fix new package logic * remove unused property * fix some tests * revert unchanged file * fix remaining tests * obsolete property * cleanup * edit obsoletion message * load loose custom node defn files by simply adding root path * add unit tests * review comments * revert rename of public API * unsub events in tests * DYN-3834-GeoScaling-UnitTest (DynamoDS#11867) * DYN-3834-GeoScaling-UnitTest I added one unit tests with two parameters, one is for validating that when RunMode=Manual and the MarkNodesAsModifiedAndRequestRun() method is called the graph execution is NOT kicked off. The other when the RunMode=Automatic and the MarkNodesAsModifiedAndRequestRun() method is called the graph execution is kicked off. * DYN-3834-GeoScaling-UnitTest Code Review I had to split the tests in two (one for Automatic and other for Manual) due that the Resources strings can not be used as a parameters in nUnit Tests parameters (since parameters expected should be constant values). * DYN-3834-GeoScaling-UnitTest Code Review2 Adding extra assert before validating the node warning state. A comment was updated reflecting the behavior when RunType = Manual * Pin to Node Selection Behaivior (DynamoDS#11874) * Pin to node squashed commit * Changes for pin to node pr * Add spacing to pin icon * Retain pin node in copy paste, also correct spacing between note pin icon and text * Move selection to command * Place PIN_WIDTH as constant * Fix distance in unit tests * Selection behaviour corrected * Limit pin to node behaviour * Add tooltip for Pin to node command, Enable Pin To Node only when a node and a note is selected * Add test to PinToNodeCommand.canExecute * Update ScopeIf description (DynamoDS#11876) * Update ScopeIf description * ScopeIf Description Update * Update Resources.Designer.cs * DYN-3875: Restore LocalPackages property in PreferencesViewModel (DynamoDS#11881) * restore property in PreferencesViewModel * add regression test for installedpackagesview * fix test * remove setting datacontext for installed packages view control as it is inherited * undo unnecessary changes * more cleanup * fix node autocomplete crash (DynamoDS#11887) * Node redesign (#3) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * DYN-3875: Restore LocalPackages property in PreferencesViewModel (DynamoDS#11881) * restore property in PreferencesViewModel * add regression test for installedpackagesview * fix test * remove setting datacontext for installed packages view control as it is inherited * undo unnecessary changes * more cleanup * Updates UI * fix node autocomplete crash (DynamoDS#11887) * Minor UI changes to Autodesk feedback * Temporarily disabled dismissed alerts features * Minor UI fix to the nodes' GlyphStackPanel Co-authored-by: aparajit-pratap <[email protected]> Co-authored-by: Roberto T <[email protected]> Co-authored-by: Michael Kirschner <[email protected]> Co-authored-by: Aaron (Qilong) <[email protected]> Co-authored-by: aparajit-pratap <[email protected]> Co-authored-by: reddyashish <[email protected]> Co-authored-by: Ashish Aggarwal <[email protected]> Co-authored-by: Jorgen Dahl <[email protected]> Co-authored-by: Martin Stacey <[email protected]> Co-authored-by: pinzart90 <[email protected]> Co-authored-by: pinzart <[email protected]> Co-authored-by: Sol Amour <[email protected]> * Wire modifications (DynamoDS#11897) * Wire modifications (#23) * Got hidden wire implementation working with View->ConnectorDisplay * Watch node behaviour modified. * Added image resources. Corrected hover/unhover of watch icon based on whether data passing through meets a requirement of 5 or more items. * WirePin: Model, ViewModel, View. Placeable/removable via ContextMenus. * Modified 'RunSharedParams' functionality to work properly. * Basic implementation of pins. Multi-control point bezier implemented. Need to implement a segmented version between pairs of pins. * Added WirePinViewModel discard functionality: DiscardAllWirePins() * Expected behaviour when deleting nodes (pins delete). Provision for opaque/halftone pins/watch icon depending on wire visibility. * Redrawing Watch (hover) icon at the midpoint when there are pins on the wire. * This fixes the 'WatchHoverIcon' when there are pins/ when they are removed. Previously when removing pins the icon was drawn in the wrong place. * Cleanup of unused code. * Clearup + pin highlighting behaviour. * Serialization/Deserialization of pins achieved. * 'Wire' to 'Connector' rename throughout for more consistency with the existing codebase. * Fixed unwanted duplicate pin placement (the one at the origin). * Discarded unused methods. Fixed pin multi-selection functionality. * Fixes to hidden wire display when pin selected. * Preview behaviour of wires fixed when a pin is selected (similar to that of nodes). RaisePropertyChanged(nameof(Property)) throughout ConnectorViewModel. * Basic implementation of 'Autolayout' which includes ConnectorPins. * Delete AssemblySharedInfo. * Remove unnecessary files/ file changes. * Delete unnecessary change. * Removed unnecessary files/file changes. * Delete unneeded change. * Revert "Delete unneeded change." This reverts commit 090fb18. * Revert "Merge branch 'Wire-Modifications' of https://github.com/M-JULIANI/Dynamo into Wire-Modifications" This reverts commit 23dc696, reversing changes made to 06378f0. * Reverted unneeded changes. * Reverting unneeded changes. * Removing unneeded changes. * Removing unneeded changes. * Unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Various PR fixes. * Reverted Resharper renaming of various comments. * PR fixes. * PR fixes. * ConnectorPin visibility fixed (follows Connector visibility). * Fixed PR issues. * Ironed out edge condition- AutoLayout _seems_ to work without any errors thrown at the moment. * PR Cleanup and Autolayout edge case fixes. * Ensures ConnectorPins cannot be copied and pasted (like notes & nodes) but rather have to be placed deliberately. * Functionality added to preserve pins when 'WatchIcon' is clicked and Watch Node is placed. Previously they were discarded. * Cleanup. * Added correct ConnectorPin icons for 'selected' and 'hidden' visibility. Got Undo/Redo functionality working partially. * Got 'undo' working for when a connector is pinned. * Undo/redo functionality between OOTB nodes and between custom nodes. * Cleanup. * Cleanup * Cleanup. * Cleanup. * Cleanup. * Cleanup. * Fixes. * Fixes. * Fixes. * Fixes. * Small fixes. * Removed unused argument. * Fixes. * Small PR fixes. * PR fix. * Small fixes to ensure toggle between pline/bezier connectors and correct pin visibility. * fix breaks * Update RecordedTests.cs * PR fixes. * Connector anchor behaviour implemented. * Added wire hover behaviour (grey outline). Updated 'default' icon behaviour (onhover). * Updates to jive with unit tests. * Bug fix related to pin removal/ watch node placement. * Fixes. Updated pin position/ transform in xaml to achieve correct alignment with GraphLayout routines. * Undo/redo bug fixed. * PR comment fixes. * PR comments fixed. * PR fixes. * PR fixes. * PR fixes. * fix coreWpf csproj file after rebase Co-authored-by: Sylvester Knudsen <[email protected]> * Wire modifications unit tests revised (DynamoDS#11899) * Wire modifications (#23) * Got hidden wire implementation working with View->ConnectorDisplay * Watch node behaviour modified. * Added image resources. Corrected hover/unhover of watch icon based on whether data passing through meets a requirement of 5 or more items. * WirePin: Model, ViewModel, View. Placeable/removable via ContextMenus. * Modified 'RunSharedParams' functionality to work properly. * Basic implementation of pins. Multi-control point bezier implemented. Need to implement a segmented version between pairs of pins. * Added WirePinViewModel discard functionality: DiscardAllWirePins() * Expected behaviour when deleting nodes (pins delete). Provision for opaque/halftone pins/watch icon depending on wire visibility. * Redrawing Watch (hover) icon at the midpoint when there are pins on the wire. * This fixes the 'WatchHoverIcon' when there are pins/ when they are removed. Previously when removing pins the icon was drawn in the wrong place. * Cleanup of unused code. * Clearup + pin highlighting behaviour. * Serialization/Deserialization of pins achieved. * 'Wire' to 'Connector' rename throughout for more consistency with the existing codebase. * Fixed unwanted duplicate pin placement (the one at the origin). * Discarded unused methods. Fixed pin multi-selection functionality. * Fixes to hidden wire display when pin selected. * Preview behaviour of wires fixed when a pin is selected (similar to that of nodes). RaisePropertyChanged(nameof(Property)) throughout ConnectorViewModel. * Basic implementation of 'Autolayout' which includes ConnectorPins. * Delete AssemblySharedInfo. * Remove unnecessary files/ file changes. * Delete unnecessary change. * Removed unnecessary files/file changes. * Delete unneeded change. * Revert "Delete unneeded change." This reverts commit 090fb18. * Revert "Merge branch 'Wire-Modifications' of https://github.com/M-JULIANI/Dynamo into Wire-Modifications" This reverts commit 23dc696, reversing changes made to 06378f0. * Reverted unneeded changes. * Reverting unneeded changes. * Removing unneeded changes. * Removing unneeded changes. * Unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Various PR fixes. * Reverted Resharper renaming of various comments. * PR fixes. * PR fixes. * ConnectorPin visibility fixed (follows Connector visibility). * Fixed PR issues. * Ironed out edge condition- AutoLayout _seems_ to work without any errors thrown at the moment. * PR Cleanup and Autolayout edge case fixes. * Ensures ConnectorPins cannot be copied and pasted (like notes & nodes) but rather have to be placed deliberately. * Functionality added to preserve pins when 'WatchIcon' is clicked and Watch Node is placed. Previously they were discarded. * Cleanup. * Added correct ConnectorPin icons for 'selected' and 'hidden' visibility. Got Undo/Redo functionality working partially. * Got 'undo' working for when a connector is pinned. * Undo/redo functionality between OOTB nodes and between custom nodes. * Cleanup. * Cleanup * Cleanup. * Cleanup. * Cleanup. * Cleanup. * Fixes. * Fixes. * Fixes. * Fixes. * Small fixes. * Removed unused argument. * Fixes. * Small PR fixes. * PR fix. * Small fixes to ensure toggle between pline/bezier connectors and correct pin visibility. * fix breaks * Update RecordedTests.cs * PR fixes. * Connector anchor behaviour implemented. * Added wire hover behaviour (grey outline). Updated 'default' icon behaviour (onhover). * Updates to jive with unit tests. * Bug fix related to pin removal/ watch node placement. * Fixes. Updated pin position/ transform in xaml to achieve correct alignment with GraphLayout routines. * Undo/redo bug fixed. * PR comment fixes. * PR comments fixed. * PR fixes. * PR fixes. * PR fixes. * Unit tests re-added. * Unit tests updated. Co-authored-by: Sylvester Knudsen <[email protected]> * Update DynamoColorsAndBrushes.xaml, which was accidentally tampered with. (DynamoDS#11928) We accidentally deleted some key lines of code having to do with the styling of nodes. * Node visual refresh updates (DynamoDS#11933) * Adjustments made to node height, code block syntax colouring, output port arrows. * Updates UI * Responds to latest feedback from Autodesk Changes path-based icons to PNGs. Updates Code Block syntax highlighting colors and font to monospace. Adds some extra new strings into Resources. Fixes bug where unnamed port that shows output port chevron control could lead to the user being presented with a double-chevron port. DynamoTextBox now has a minimum width set. Slight adjustment to the sizes of various node parts. All node icons should now load successfully. * Code block minor pixel edits Ensuring all code block elements align as they need to. Tested with 200 outputs. * Minor UI fixes * Removing redundant code * Updates some failing tests. Switches .Cast<MenuItem> to .OfType<MenuItem> in many instances. * Removes node informational states icons - these appear in another branch * Responds to PR comments * Node visual refresh updates (DynamoDS#11941) * Adjustments made to node height, code block syntax colouring, output port arrows. * Updates UI * Responds to latest feedback from Autodesk Changes path-based icons to PNGs. Updates Code Block syntax highlighting colors and font to monospace. Adds some extra new strings into Resources. Fixes bug where unnamed port that shows output port chevron control could lead to the user being presented with a double-chevron port. DynamoTextBox now has a minimum width set. Slight adjustment to the sizes of various node parts. All node icons should now load successfully. * Code block minor pixel edits Ensuring all code block elements align as they need to. Tested with 200 outputs. * Minor UI fixes * Removing redundant code * Updates some failing tests. Switches .Cast<MenuItem> to .OfType<MenuItem> in many instances. * Removes node informational states icons - these appear in another branch * Responds to PR comments * Fixes many failing regression tests. Adjusts Artifakt font location. * Update Defect_MAGN_904.xml * Update PortViewModel.cs * Resets command interval in 2 recorded tests. * Same again * Node informational states (#4) (DynamoDS#11910) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * Updates UI * WIP changes * ViewModel logic working as per mockup * Node redesign (#3) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * DYN-3875: Restore LocalPackages property in PreferencesViewModel (DynamoDS#11881) * restore property in PreferencesViewModel * add regression test for installedpackagesview * fix test * remove setting datacontext for installed packages view control as it is inherited * undo unnecessary changes * more cleanup * Updates UI * fix node autocomplete crash (DynamoDS#11887) * Minor UI changes to Autodesk feedback * Temporarily disabled dismissed alerts features * Minor UI fix to the nodes' GlyphStackPanel Co-authored-by: aparajit-pratap <[email protected]> * Updates * Updates node informational states * Minor fixes * Removed INodeInformationalState interface, no longer needed. * Restored previously-removed commands in InfoBubbleCommand.cs * Typo fix and restoring old NodeInfoBubbleViewModel methods to original state. * Added comments, minor (old) API restoration work * Renaming, refactoring and added 2 tests. * Removed new constructor for OutputMessage. Class is no longer being used for Informational States. * Minor fixes. Removed outdated and unused collection on NodeModel. Changed command name to be less confusing. * Update * Responds to comments * Removed unneeded references * Reponse to comments * Removed 'else' from method body * two more Co-authored-by: aparajit-pratap <[email protected]> Co-authored-by: aparajit-pratap <[email protected]> * Wire Behaviour UI fixes (DynamoDS#11946) * Update DynamoColorsAndBrushes.xaml, which was accidentally tampered with. We accidentally deleted some key lines of code having to do with the styling of nodes. * PR fixes. Button rectangular border removed, hover state for polyline connectors disabled, instantiation location of pins fixed. - Button rectangular border removed. - Hover state for polyline connectors disabled. - Instantiation location of pins fixed. - Connector tooltip behaviour to match that of temporary hover icons. * PR fix. * This makes more sense as a static member than a const. * PR fixes. * PR fixes. * PR fixes. * Update UIDispatcher usage (DynamoDS#11951) * Fix the build by adding back missing code (DynamoDS#11952) * Fix two regressions (DynamoDS#11953) * Wire Behaviour UI fixes (DynamoDS#11954) * Wire UI Fixes 1. Made wire tooltip highest ZIndex. 2. Made first line of tooltip bold, the rest is regular 3. Added a clickable item under View-> Connectors to turn tooltip on/off. * Added comments. * Update CommandLineTests.cs (DynamoDS#11955) * Graph Layout regression test fixed. (DynamoDS#11956) * Update ConnectorAnchorView.xaml (DynamoDS#11969) * Remove Extra Files (DynamoDS#11970) * Node visual refresh updates (DynamoDS#11973) * Adjustments made to node height, code block syntax colouring, output port arrows. * Updates UI * Responds to latest feedback from Autodesk Changes path-based icons to PNGs. Updates Code Block syntax highlighting colors and font to monospace. Adds some extra new strings into Resources. Fixes bug where unnamed port that shows output port chevron control could lead to the user being presented with a double-chevron port. DynamoTextBox now has a minimum width set. Slight adjustment to the sizes of various node parts. All node icons should now load successfully. * Code block minor pixel edits Ensuring all code block elements align as they need to. Tested with 200 outputs. * Minor UI fixes * Removing redundant code * Updates some failing tests. Switches .Cast<MenuItem> to .OfType<MenuItem> in many instances. * Removes node informational states icons - these appear in another branch * Responds to PR comments * Fixes many failing regression tests. Adjusts Artifakt font location. * Update Defect_MAGN_904.xml * Update PortViewModel.cs * Resets command interval in 2 recorded tests. * Same again * Fixes bugs and makes requested adjustments Connected Break Connection / Hide Wires to Commands. Added a tick for Context Menu items like 'Hidden' / 'Frozen' Fixed Integer / Number slider visual input bug Fixed Node Context Menu double separator bug Fixed ToolTip spacing Fixed Node Preview / Hidden eye icon not showing up bug Adjusted Connector colour when selected to be same blue as node selection border. Adjusted port names color to be same as node header Adjusted Port default value marker to be same blue as port is connected border color Adjusted node default icon to new icon from Jingyi Fixed Code block 'Enter code here' vertical alignment Adjusted AvalonEdit line numbers to fade them out a bit more * Fixes bugs and makes requested adjustments Connected Break Connection / Hide Wires to Commands. Added a tick for Context Menu items like 'Hidden' / 'Frozen' Fixed Integer / Number slider visual input bug Fixed Node Context Menu double separator bug Fixed ToolTip spacing Fixed Node Preview / Hidden eye icon not showing up bug Adjusted Connector colour when selected to be same blue as node selection border. Adjusted port names color to be same as node header Adjusted Port default value marker to be same blue as port is connected border color Adjusted node default icon to new icon from Jingyi Fixed Code block 'Enter code here' vertical alignment Adjusted AvalonEdit line numbers to fade them out a bit more * Node visual refresh updates (DynamoDS#11977) * Adjustments made to node height, code block syntax colouring, output port arrows. * Updates UI * Responds to latest feedback from Autodesk Changes path-based icons to PNGs. Updates Code Block syntax highlighting colors and font to monospace. Adds some extra new strings into Resources. Fixes bug where unnamed port that shows output port chevron control could lead to the user being presented with a double-chevron port. DynamoTextBox now has a minimum width set. Slight adjustment to the sizes of various node parts. All node icons should now load successfully. * Code block minor pixel edits Ensuring all code block elements align as they need to. Tested with 200 outputs. * Minor UI fixes * Removing redundant code * Updates some failing tests. Switches .Cast<MenuItem> to .OfType<MenuItem> in many instances. * Removes node informational states icons - these appear in another branch * Responds to PR comments * Fixes many failing regression tests. Adjusts Artifakt font location. * Update Defect_MAGN_904.xml * Update PortViewModel.cs * Resets command interval in 2 recorded tests. * Same again * Fixes bugs and makes requested adjustments Connected Break Connection / Hide Wires to Commands. Added a tick for Context Menu items like 'Hidden' / 'Frozen' Fixed Integer / Number slider visual input bug Fixed Node Context Menu double separator bug Fixed ToolTip spacing Fixed Node Preview / Hidden eye icon not showing up bug Adjusted Connector colour when selected to be same blue as node selection border. Adjusted port names color to be same as node header Adjusted Port default value marker to be same blue as port is connected border color Adjusted node default icon to new icon from Jingyi Fixed Code block 'Enter code here' vertical alignment Adjusted AvalonEdit line numbers to fade them out a bit more * Fixes bugs and makes requested adjustments Connected Break Connection / Hide Wires to Commands. Added a tick for Context Menu items like 'Hidden' / 'Frozen' Fixed Integer / Number slider visual input bug Fixed Node Context Menu double separator bug Fixed ToolTip spacing Fixed Node Preview / Hidden eye icon not showing up bug Adjusted Connector colour when selected to be same blue as node selection border. Adjusted port names color to be same as node header Adjusted Port default value marker to be same blue as port is connected border color Adjusted node default icon to new icon from Jingyi Fixed Code block 'Enter code here' vertical alignment Adjusted AvalonEdit line numbers to fade them out a bit more * Reponse to comments * Group improvements to the graph view (DynamoDS#11912) * initial commit * wip * clean up * remove leftovers * UndoRedo behaviour + grouped groups cut out + general fixes * update images * fix CopyPaste + few minor bugs * minor clean ups * Group improvements unit tests (#29) * WIP * view model tests * initial commit * wip * clean up * remove leftovers * UndoRedo behaviour + grouped groups cut out + general fixes * update images * fix CopyPaste + few minor bugs * minor clean ups * Update SerializationTests.cs * Update SerializationTests.cs * comment updates * comment updates * fix GetOutputPorts errors * fix serialization * Update WorkspaceModel.cs * remove grid style (not needed anymore) * Remove BelongsToGroup property from ModelBase * Update AnnotationViewModel.cs * fix setting the graph to have unsaved changes on graph open * disable drag and drop on collapsed groups * fix spelling mistake * Node informational states (DynamoDS#11983) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * Updates UI * WIP changes * ViewModel logic working as per mockup * Node redesign (#3) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * DYN-3875: Restore LocalPackages property in PreferencesViewModel (DynamoDS#11881) * restore property in PreferencesViewModel * add regression test for installedpackagesview * fix test * remove setting datacontext for installed packages view control as it is inherited * undo unnecessary changes * more cleanup * Updates UI * fix node autocomplete crash (DynamoDS#11887) * Minor UI changes to Autodesk feedback * Temporarily disabled dismissed alerts features * Minor UI fix to the nodes' GlyphStackPanel Co-authored-by: aparajit-pratap <[email protected]> * Updates * Updates node informational states * Minor fixes * Removed INodeInformationalState interface, no longer needed. * Restored previously-removed commands in InfoBubbleCommand.cs * Typo fix and restoring old NodeInfoBubbleViewModel methods to original state. * Added comments, minor (old) API restoration work * Renaming, refactoring and added 2 tests. * Removed new constructor for OutputMessage. Class is no longer being used for Informational States. * Minor fixes. Removed outdated and unused collection on NodeModel. Changed command name to be less confusing. * Update * Responds to comments * Removed unneeded references * Reponse to comments * Removed 'else' from method body * two more * Fixes UI bug * Switched out vector-based info/warning/error icons for .png equivalents. * Removes reference to WindowsBase in DynamoCore and flags many properties in the InfoBubbleViewModel as obsolete. * Updates * Minor graphical updates * Updates in response to feedback Adds new resource strings. Adds a ToolTip for the node context menu. Makes node context menu visible for all nodes. Fixes error bubble Z Index issue. Adds chevron to error bubble design. Unsubscribes from NodeMessages.CollectionChanged on InfoBubbleViewModel's Dispose method. Co-authored-by: aparajit-pratap <[email protected]> * Code Cleanup (DynamoDS#11984) * Code Cleanup * Call Dispose() on ConnectorAnchorViewModel * Node redesign timeouts (DynamoDS#11986) * Code Cleanup * Call Dispose() on ConnectorAnchorViewModel * unsub collection change * formatting fix broken path to pin icon * revert schema change * revert schema change in serialization as well * actually dispose annotationviewmodels Co-authored-by: Aaron (Qilong) <[email protected]> Co-authored-by: michael kirschner <[email protected]> * Connector View Model Dispose (DynamoDS#11991) * ConnectorViewModel dispose * More Dispose spots * Revert Node States Changes * Fix build * Initial Commit * UI Fix Co-authored-by: Ollie Green <[email protected]> Co-authored-by: Roberto T <[email protected]> Co-authored-by: Michael Kirschner <[email protected]> Co-authored-by: aparajit-pratap <[email protected]> Co-authored-by: reddyashish <[email protected]> Co-authored-by: Ashish Aggarwal <[email protected]> Co-authored-by: Jorgen Dahl <[email protected]> Co-authored-by: Martin Stacey <[email protected]> Co-authored-by: pinzart90 <[email protected]> Co-authored-by: pinzart <[email protected]> Co-authored-by: Sol Amour <[email protected]> Co-authored-by: Marco Juliani <[email protected]> Co-authored-by: Sylvester Knudsen <[email protected]> Co-authored-by: michael kirschner <[email protected]>
martinstacey
added a commit
that referenced
this pull request
Nov 2, 2021
* Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * Updates UI * WIP changes * ViewModel logic working as per mockup * Node redesign (#3) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * DYN-3875: Restore LocalPackages property in PreferencesViewModel (DynamoDS#11881) * restore property in PreferencesViewModel * add regression test for installedpackagesview * fix test * remove setting datacontext for installed packages view control as it is inherited * undo unnecessary changes * more cleanup * Updates UI * fix node autocomplete crash (DynamoDS#11887) * Minor UI changes to Autodesk feedback * Temporarily disabled dismissed alerts features * Minor UI fix to the nodes' GlyphStackPanel Co-authored-by: aparajit-pratap <[email protected]> * Node Redesign (DynamoDS#11892) * DYN-3768-SurveyWindowUI (DynamoDS#11834) * DYN-3768-SurveyWindowUI I created 3 resources for the two titles of the SurveyWindow and one for the text content. I modified the CustomRichTextBox because hyperlink names separated by spaces were not supported then I did some changes and now are working. I added the RatingControl UI and the SurveyPopup UI and some used styles in the DynamoModern.xaml. Finally I added a instance of the Survey in the DynamoView.xaml.cs and now a survey popup will be displayed just for testing purposes. * DYN-3768-SurveyWindowUI Code Review I added several comments in SurveyPopupViewModel and RatingControl and removed a comment Survey * DYN-3768-SurveyWindowUI Code Review2 Updated the DependencyProperty name to Value * Update and rename 4_stdlib.md to 4_builtinpackages.md (DynamoDS#11850) * Update and rename 4_stdlib.md to 4_builtinpackages.md * Update 4_builtinpackages.md * Add ways to pass Analytics Host Entitlement info for out of process integrators (DynamoDS#11841) * Initial Commit * Add ParentId to update manager * Updates * Add CLI support * Add unit tests * Update tests * Update HostContextInfo type usage * Comments to use struct * Move properties out of update manager * Update * Comments * Comments * update test * Force Dynamo to run on nvidia graphics card to address helix crash with multiple monitors (DynamoDS#11855) * enable nvidia graphics card for helix * make new field private * Triggering Node AutoComplete on input port should not destroy the connection. (DynamoDS#11859) * Extension fix (DynamoDS#11861) DYN-3773 * Upgrade Helix to 2.17.0. (DynamoDS#11860) * DYN-3834-GeoScaling-GraphRun (DynamoDS#11845) * DYN-3834-GeoScaling-GraphRun There was an issue that when the Geometry Scaling was updated in a very large graph the Preferences panel was blocked not allowing the user to close it. I think this behavior was because when the Preference panel was opened immediately a graph run was executed (without changing anything in the Preferences panel). I was NOT able to reproduce the Preferences panel freezing behavior but we noticed that the graph execution was always happening when the Preferences panel was opened (when nothing was changed), then I did a fix in a way that the selected radio button (in geometry scaling section) is updated every time a new workspace is created or a dyn file is loaded (as is happening with the WorkspaceModel.ScaleFactor), so the graph run will be executed just when the ScaleFactor is changed. * DYN-3834-GeoScaling-GraphRun Code Review Unsubscribing from the WorkspaceSettingsChanged when the PreferencesViewModel is cleared. * DYN-3834-GeoScaling-GraphRun Code Review Making method private due that is just used in the same class. * DYN-3834-GeoScaling-GraphRun Code Review I did some changes so only when the ScaleFactor was changed a graph run will be executed when the Preferences dialog is closed * DYN-3834-GeoScaling-GraphRun Code Review2 Replacing the call to ForceRunCancelCommand method for MarkNodesAsModifiedAndRequestRun due that the first one was executing the graph when the RunMode = Manual at the moment of updating the Geometry Scaling in the other hand with the MarkNodesAsModifiedAndRequestRun doesn't happen that behavior. * Pin Note to Node (DynamoDS#11840) * Pin to node squashed commit * Changes for pin to node pr * Add spacing to pin icon * Retain pin node in copy paste, also correct spacing between note pin icon and text * Move selection to command * Place PIN_WIDTH as constant * Fix distance in unit tests * update libG for perimeter curves refactor (DynamoDS#11870) Co-authored-by: pinzart <[email protected]> * add test for dyn-3628 fix (DynamoDS#11872) * add dump bytecode debug mode (DynamoDS#11871) * add dump bytecode debug mode * DYN-3815 - Prevent reloading of packages unless there are new packages in list of package paths (DynamoDS#11835) * initial commit - WIP * fixes for extraneous notifications and duplicate nodes * cleanup * revert unchanged file * fix new package logic * remove unused property * fix some tests * revert unchanged file * fix remaining tests * obsolete property * cleanup * edit obsoletion message * load loose custom node defn files by simply adding root path * add unit tests * review comments * revert rename of public API * unsub events in tests * DYN-3834-GeoScaling-UnitTest (DynamoDS#11867) * DYN-3834-GeoScaling-UnitTest I added one unit tests with two parameters, one is for validating that when RunMode=Manual and the MarkNodesAsModifiedAndRequestRun() method is called the graph execution is NOT kicked off. The other when the RunMode=Automatic and the MarkNodesAsModifiedAndRequestRun() method is called the graph execution is kicked off. * DYN-3834-GeoScaling-UnitTest Code Review I had to split the tests in two (one for Automatic and other for Manual) due that the Resources strings can not be used as a parameters in nUnit Tests parameters (since parameters expected should be constant values). * DYN-3834-GeoScaling-UnitTest Code Review2 Adding extra assert before validating the node warning state. A comment was updated reflecting the behavior when RunType = Manual * Pin to Node Selection Behaivior (DynamoDS#11874) * Pin to node squashed commit * Changes for pin to node pr * Add spacing to pin icon * Retain pin node in copy paste, also correct spacing between note pin icon and text * Move selection to command * Place PIN_WIDTH as constant * Fix distance in unit tests * Selection behaviour corrected * Limit pin to node behaviour * Add tooltip for Pin to node command, Enable Pin To Node only when a node and a note is selected * Add test to PinToNodeCommand.canExecute * Update ScopeIf description (DynamoDS#11876) * Update ScopeIf description * ScopeIf Description Update * Update Resources.Designer.cs * DYN-3875: Restore LocalPackages property in PreferencesViewModel (DynamoDS#11881) * restore property in PreferencesViewModel * add regression test for installedpackagesview * fix test * remove setting datacontext for installed packages view control as it is inherited * undo unnecessary changes * more cleanup * fix node autocomplete crash (DynamoDS#11887) * Node redesign (#3) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * DYN-3875: Restore LocalPackages property in PreferencesViewModel (DynamoDS#11881) * restore property in PreferencesViewModel * add regression test for installedpackagesview * fix test * remove setting datacontext for installed packages view control as it is inherited * undo unnecessary changes * more cleanup * Updates UI * fix node autocomplete crash (DynamoDS#11887) * Minor UI changes to Autodesk feedback * Temporarily disabled dismissed alerts features * Minor UI fix to the nodes' GlyphStackPanel Co-authored-by: aparajit-pratap <[email protected]> Co-authored-by: Roberto T <[email protected]> Co-authored-by: Michael Kirschner <[email protected]> Co-authored-by: Aaron (Qilong) <[email protected]> Co-authored-by: aparajit-pratap <[email protected]> Co-authored-by: reddyashish <[email protected]> Co-authored-by: Ashish Aggarwal <[email protected]> Co-authored-by: Jorgen Dahl <[email protected]> Co-authored-by: Martin Stacey <[email protected]> Co-authored-by: pinzart90 <[email protected]> Co-authored-by: pinzart <[email protected]> Co-authored-by: Sol Amour <[email protected]> * Updates * Updates node informational states * Minor fixes * Removed INodeInformationalState interface, no longer needed. * Restored previously-removed commands in InfoBubbleCommand.cs * Typo fix and restoring old NodeInfoBubbleViewModel methods to original state. * Added comments, minor (old) API restoration work * Renaming, refactoring and added 2 tests. * Removed new constructor for OutputMessage. Class is no longer being used for Informational States. * Minor fixes. Removed outdated and unused collection on NodeModel. Changed command name to be less confusing. * Update * Responds to comments * Removed unneeded references * Reponse to comments * Removed 'else' from method body * two more * Fixes UI bug * Switched out vector-based info/warning/error icons for .png equivalents. * Wire modifications (DynamoDS#11897) * Wire modifications (#23) * Got hidden wire implementation working with View->ConnectorDisplay * Watch node behaviour modified. * Added image resources. Corrected hover/unhover of watch icon based on whether data passing through meets a requirement of 5 or more items. * WirePin: Model, ViewModel, View. Placeable/removable via ContextMenus. * Modified 'RunSharedParams' functionality to work properly. * Basic implementation of pins. Multi-control point bezier implemented. Need to implement a segmented version between pairs of pins. * Added WirePinViewModel discard functionality: DiscardAllWirePins() * Expected behaviour when deleting nodes (pins delete). Provision for opaque/halftone pins/watch icon depending on wire visibility. * Redrawing Watch (hover) icon at the midpoint when there are pins on the wire. * This fixes the 'WatchHoverIcon' when there are pins/ when they are removed. Previously when removing pins the icon was drawn in the wrong place. * Cleanup of unused code. * Clearup + pin highlighting behaviour. * Serialization/Deserialization of pins achieved. * 'Wire' to 'Connector' rename throughout for more consistency with the existing codebase. * Fixed unwanted duplicate pin placement (the one at the origin). * Discarded unused methods. Fixed pin multi-selection functionality. * Fixes to hidden wire display when pin selected. * Preview behaviour of wires fixed when a pin is selected (similar to that of nodes). RaisePropertyChanged(nameof(Property)) throughout ConnectorViewModel. * Basic implementation of 'Autolayout' which includes ConnectorPins. * Delete AssemblySharedInfo. * Remove unnecessary files/ file changes. * Delete unnecessary change. * Removed unnecessary files/file changes. * Delete unneeded change. * Revert "Delete unneeded change." This reverts commit 090fb18. * Revert "Merge branch 'Wire-Modifications' of https://github.com/M-JULIANI/Dynamo into Wire-Modifications" This reverts commit 23dc696, reversing changes made to 06378f0. * Reverted unneeded changes. * Reverting unneeded changes. * Removing unneeded changes. * Removing unneeded changes. * Unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Various PR fixes. * Reverted Resharper renaming of various comments. * PR fixes. * PR fixes. * ConnectorPin visibility fixed (follows Connector visibility). * Fixed PR issues. * Ironed out edge condition- AutoLayout _seems_ to work without any errors thrown at the moment. * PR Cleanup and Autolayout edge case fixes. * Ensures ConnectorPins cannot be copied and pasted (like notes & nodes) but rather have to be placed deliberately. * Functionality added to preserve pins when 'WatchIcon' is clicked and Watch Node is placed. Previously they were discarded. * Cleanup. * Added correct ConnectorPin icons for 'selected' and 'hidden' visibility. Got Undo/Redo functionality working partially. * Got 'undo' working for when a connector is pinned. * Undo/redo functionality between OOTB nodes and between custom nodes. * Cleanup. * Cleanup * Cleanup. * Cleanup. * Cleanup. * Cleanup. * Fixes. * Fixes. * Fixes. * Fixes. * Small fixes. * Removed unused argument. * Fixes. * Small PR fixes. * PR fix. * Small fixes to ensure toggle between pline/bezier connectors and correct pin visibility. * fix breaks * Update RecordedTests.cs * PR fixes. * Connector anchor behaviour implemented. * Added wire hover behaviour (grey outline). Updated 'default' icon behaviour (onhover). * Updates to jive with unit tests. * Bug fix related to pin removal/ watch node placement. * Fixes. Updated pin position/ transform in xaml to achieve correct alignment with GraphLayout routines. * Undo/redo bug fixed. * PR comment fixes. * PR comments fixed. * PR fixes. * PR fixes. * PR fixes. * fix coreWpf csproj file after rebase Co-authored-by: Sylvester Knudsen <[email protected]> * Wire modifications unit tests revised (DynamoDS#11899) * Wire modifications (#23) * Got hidden wire implementation working with View->ConnectorDisplay * Watch node behaviour modified. * Added image resources. Corrected hover/unhover of watch icon based on whether data passing through meets a requirement of 5 or more items. * WirePin: Model, ViewModel, View. Placeable/removable via ContextMenus. * Modified 'RunSharedParams' functionality to work properly. * Basic implementation of pins. Multi-control point bezier implemented. Need to implement a segmented version between pairs of pins. * Added WirePinViewModel discard functionality: DiscardAllWirePins() * Expected behaviour when deleting nodes (pins delete). Provision for opaque/halftone pins/watch icon depending on wire visibility. * Redrawing Watch (hover) icon at the midpoint when there are pins on the wire. * This fixes the 'WatchHoverIcon' when there are pins/ when they are removed. Previously when removing pins the icon was drawn in the wrong place. * Cleanup of unused code. * Clearup + pin highlighting behaviour. * Serialization/Deserialization of pins achieved. * 'Wire' to 'Connector' rename throughout for more consistency with the existing codebase. * Fixed unwanted duplicate pin placement (the one at the origin). * Discarded unused methods. Fixed pin multi-selection functionality. * Fixes to hidden wire display when pin selected. * Preview behaviour of wires fixed when a pin is selected (similar to that of nodes). RaisePropertyChanged(nameof(Property)) throughout ConnectorViewModel. * Basic implementation of 'Autolayout' which includes ConnectorPins. * Delete AssemblySharedInfo. * Remove unnecessary files/ file changes. * Delete unnecessary change. * Removed unnecessary files/file changes. * Delete unneeded change. * Revert "Delete unneeded change." This reverts commit 090fb18. * Revert "Merge branch 'Wire-Modifications' of https://github.com/M-JULIANI/Dynamo into Wire-Modifications" This reverts commit 23dc696, reversing changes made to 06378f0. * Reverted unneeded changes. * Reverting unneeded changes. * Removing unneeded changes. * Removing unneeded changes. * Unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Removed unneeded changes. * Various PR fixes. * Reverted Resharper renaming of various comments. * PR fixes. * PR fixes. * ConnectorPin visibility fixed (follows Connector visibility). * Fixed PR issues. * Ironed out edge condition- AutoLayout _seems_ to work without any errors thrown at the moment. * PR Cleanup and Autolayout edge case fixes. * Ensures ConnectorPins cannot be copied and pasted (like notes & nodes) but rather have to be placed deliberately. * Functionality added to preserve pins when 'WatchIcon' is clicked and Watch Node is placed. Previously they were discarded. * Cleanup. * Added correct ConnectorPin icons for 'selected' and 'hidden' visibility. Got Undo/Redo functionality working partially. * Got 'undo' working for when a connector is pinned. * Undo/redo functionality between OOTB nodes and between custom nodes. * Cleanup. * Cleanup * Cleanup. * Cleanup. * Cleanup. * Cleanup. * Fixes. * Fixes. * Fixes. * Fixes. * Small fixes. * Removed unused argument. * Fixes. * Small PR fixes. * PR fix. * Small fixes to ensure toggle between pline/bezier connectors and correct pin visibility. * fix breaks * Update RecordedTests.cs * PR fixes. * Connector anchor behaviour implemented. * Added wire hover behaviour (grey outline). Updated 'default' icon behaviour (onhover). * Updates to jive with unit tests. * Bug fix related to pin removal/ watch node placement. * Fixes. Updated pin position/ transform in xaml to achieve correct alignment with GraphLayout routines. * Undo/redo bug fixed. * PR comment fixes. * PR comments fixed. * PR fixes. * PR fixes. * PR fixes. * Unit tests re-added. * Unit tests updated. Co-authored-by: Sylvester Knudsen <[email protected]> * Update DynamoColorsAndBrushes.xaml, which was accidentally tampered with. (DynamoDS#11928) We accidentally deleted some key lines of code having to do with the styling of nodes. * Node visual refresh updates (DynamoDS#11933) * Adjustments made to node height, code block syntax colouring, output port arrows. * Updates UI * Responds to latest feedback from Autodesk Changes path-based icons to PNGs. Updates Code Block syntax highlighting colors and font to monospace. Adds some extra new strings into Resources. Fixes bug where unnamed port that shows output port chevron control could lead to the user being presented with a double-chevron port. DynamoTextBox now has a minimum width set. Slight adjustment to the sizes of various node parts. All node icons should now load successfully. * Code block minor pixel edits Ensuring all code block elements align as they need to. Tested with 200 outputs. * Minor UI fixes * Removing redundant code * Updates some failing tests. Switches .Cast<MenuItem> to .OfType<MenuItem> in many instances. * Removes node informational states icons - these appear in another branch * Responds to PR comments * Removes reference to WindowsBase in DynamoCore and flags many properties in the InfoBubbleViewModel as obsolete. * Node visual refresh updates (DynamoDS#11941) * Adjustments made to node height, code block syntax colouring, output port arrows. * Updates UI * Responds to latest feedback from Autodesk Changes path-based icons to PNGs. Updates Code Block syntax highlighting colors and font to monospace. Adds some extra new strings into Resources. Fixes bug where unnamed port that shows output port chevron control could lead to the user being presented with a double-chevron port. DynamoTextBox now has a minimum width set. Slight adjustment to the sizes of various node parts. All node icons should now load successfully. * Code block minor pixel edits Ensuring all code block elements align as they need to. Tested with 200 outputs. * Minor UI fixes * Removing redundant code * Updates some failing tests. Switches .Cast<MenuItem> to .OfType<MenuItem> in many instances. * Removes node informational states icons - these appear in another branch * Responds to PR comments * Fixes many failing regression tests. Adjusts Artifakt font location. * Update Defect_MAGN_904.xml * Update PortViewModel.cs * Resets command interval in 2 recorded tests. * Same again * Node informational states (#4) (DynamoDS#11910) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * Updates UI * WIP changes * ViewModel logic working as per mockup * Node redesign (#3) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * DYN-3875: Restore LocalPackages property in PreferencesViewModel (DynamoDS#11881) * restore property in PreferencesViewModel * add regression test for installedpackagesview * fix test * remove setting datacontext for installed packages view control as it is inherited * undo unnecessary changes * more cleanup * Updates UI * fix node autocomplete crash (DynamoDS#11887) * Minor UI changes to Autodesk feedback * Temporarily disabled dismissed alerts features * Minor UI fix to the nodes' GlyphStackPanel Co-authored-by: aparajit-pratap <[email protected]> * Updates * Updates node informational states * Minor fixes * Removed INodeInformationalState interface, no longer needed. * Restored previously-removed commands in InfoBubbleCommand.cs * Typo fix and restoring old NodeInfoBubbleViewModel methods to original state. * Added comments, minor (old) API restoration work * Renaming, refactoring and added 2 tests. * Removed new constructor for OutputMessage. Class is no longer being used for Informational States. * Minor fixes. Removed outdated and unused collection on NodeModel. Changed command name to be less confusing. * Update * Responds to comments * Removed unneeded references * Reponse to comments * Removed 'else' from method body * two more Co-authored-by: aparajit-pratap <[email protected]> Co-authored-by: aparajit-pratap <[email protected]> * Wire Behaviour UI fixes (DynamoDS#11946) * Update DynamoColorsAndBrushes.xaml, which was accidentally tampered with. We accidentally deleted some key lines of code having to do with the styling of nodes. * PR fixes. Button rectangular border removed, hover state for polyline connectors disabled, instantiation location of pins fixed. - Button rectangular border removed. - Hover state for polyline connectors disabled. - Instantiation location of pins fixed. - Connector tooltip behaviour to match that of temporary hover icons. * PR fix. * This makes more sense as a static member than a const. * PR fixes. * PR fixes. * PR fixes. * Update UIDispatcher usage (DynamoDS#11951) * Fix the build by adding back missing code (DynamoDS#11952) * Fix two regressions (DynamoDS#11953) * Wire Behaviour UI fixes (DynamoDS#11954) * Wire UI Fixes 1. Made wire tooltip highest ZIndex. 2. Made first line of tooltip bold, the rest is regular 3. Added a clickable item under View-> Connectors to turn tooltip on/off. * Added comments. * Update CommandLineTests.cs (DynamoDS#11955) * Graph Layout regression test fixed. (DynamoDS#11956) * Update ConnectorAnchorView.xaml (DynamoDS#11969) * Remove Extra Files (DynamoDS#11970) * Node visual refresh updates (DynamoDS#11973) * Adjustments made to node height, code block syntax colouring, output port arrows. * Updates UI * Responds to latest feedback from Autodesk Changes path-based icons to PNGs. Updates Code Block syntax highlighting colors and font to monospace. Adds some extra new strings into Resources. Fixes bug where unnamed port that shows output port chevron control could lead to the user being presented with a double-chevron port. DynamoTextBox now has a minimum width set. Slight adjustment to the sizes of various node parts. All node icons should now load successfully. * Code block minor pixel edits Ensuring all code block elements align as they need to. Tested with 200 outputs. * Minor UI fixes * Removing redundant code * Updates some failing tests. Switches .Cast<MenuItem> to .OfType<MenuItem> in many instances. * Removes node informational states icons - these appear in another branch * Responds to PR comments * Fixes many failing regression tests. Adjusts Artifakt font location. * Update Defect_MAGN_904.xml * Update PortViewModel.cs * Resets command interval in 2 recorded tests. * Same again * Fixes bugs and makes requested adjustments Connected Break Connection / Hide Wires to Commands. Added a tick for Context Menu items like 'Hidden' / 'Frozen' Fixed Integer / Number slider visual input bug Fixed Node Context Menu double separator bug Fixed ToolTip spacing Fixed Node Preview / Hidden eye icon not showing up bug Adjusted Connector colour when selected to be same blue as node selection border. Adjusted port names color to be same as node header Adjusted Port default value marker to be same blue as port is connected border color Adjusted node default icon to new icon from Jingyi Fixed Code block 'Enter code here' vertical alignment Adjusted AvalonEdit line numbers to fade them out a bit more * Fixes bugs and makes requested adjustments Connected Break Connection / Hide Wires to Commands. Added a tick for Context Menu items like 'Hidden' / 'Frozen' Fixed Integer / Number slider visual input bug Fixed Node Context Menu double separator bug Fixed ToolTip spacing Fixed Node Preview / Hidden eye icon not showing up bug Adjusted Connector colour when selected to be same blue as node selection border. Adjusted port names color to be same as node header Adjusted Port default value marker to be same blue as port is connected border color Adjusted node default icon to new icon from Jingyi Fixed Code block 'Enter code here' vertical alignment Adjusted AvalonEdit line numbers to fade them out a bit more * Node visual refresh updates (DynamoDS#11977) * Adjustments made to node height, code block syntax colouring, output port arrows. * Updates UI * Responds to latest feedback from Autodesk Changes path-based icons to PNGs. Updates Code Block syntax highlighting colors and font to monospace. Adds some extra new strings into Resources. Fixes bug where unnamed port that shows output port chevron control could lead to the user being presented with a double-chevron port. DynamoTextBox now has a minimum width set. Slight adjustment to the sizes of various node parts. All node icons should now load successfully. * Code block minor pixel edits Ensuring all code block elements align as they need to. Tested with 200 outputs. * Minor UI fixes * Removing redundant code * Updates some failing tests. Switches .Cast<MenuItem> to .OfType<MenuItem> in many instances. * Removes node informational states icons - these appear in another branch * Responds to PR comments * Fixes many failing regression tests. Adjusts Artifakt font location. * Update Defect_MAGN_904.xml * Update PortViewModel.cs * Resets command interval in 2 recorded tests. * Same again * Fixes bugs and makes requested adjustments Connected Break Connection / Hide Wires to Commands. Added a tick for Context Menu items like 'Hidden' / 'Frozen' Fixed Integer / Number slider visual input bug Fixed Node Context Menu double separator bug Fixed ToolTip spacing Fixed Node Preview / Hidden eye icon not showing up bug Adjusted Connector colour when selected to be same blue as node selection border. Adjusted port names color to be same as node header Adjusted Port default value marker to be same blue as port is connected border color Adjusted node default icon to new icon from Jingyi Fixed Code block 'Enter code here' vertical alignment Adjusted AvalonEdit line numbers to fade them out a bit more * Fixes bugs and makes requested adjustments Connected Break Connection / Hide Wires to Commands. Added a tick for Context Menu items like 'Hidden' / 'Frozen' Fixed Integer / Number slider visual input bug Fixed Node Context Menu double separator bug Fixed ToolTip spacing Fixed Node Preview / Hidden eye icon not showing up bug Adjusted Connector colour when selected to be same blue as node selection border. Adjusted port names color to be same as node header Adjusted Port default value marker to be same blue as port is connected border color Adjusted node default icon to new icon from Jingyi Fixed Code block 'Enter code here' vertical alignment Adjusted AvalonEdit line numbers to fade them out a bit more * Reponse to comments * Updates * Minor graphical updates * Updates in response to feedback Adds new resource strings. Adds a ToolTip for the node context menu. Makes node context menu visible for all nodes. Fixes error bubble Z Index issue. Adds chevron to error bubble design. Unsubscribes from NodeMessages.CollectionChanged on InfoBubbleViewModel's Dispose method. * Group improvements to the graph view (DynamoDS#11912) * initial commit * wip * clean up * remove leftovers * UndoRedo behaviour + grouped groups cut out + general fixes * update images * fix CopyPaste + few minor bugs * minor clean ups * Group improvements unit tests (#29) * WIP * view model tests * initial commit * wip * clean up * remove leftovers * UndoRedo behaviour + grouped groups cut out + general fixes * update images * fix CopyPaste + few minor bugs * minor clean ups * Update SerializationTests.cs * Update SerializationTests.cs * comment updates * comment updates * fix GetOutputPorts errors * fix serialization * Update WorkspaceModel.cs * remove grid style (not needed anymore) * Remove BelongsToGroup property from ModelBase * Update AnnotationViewModel.cs * fix setting the graph to have unsaved changes on graph open * disable drag and drop on collapsed groups * fix spelling mistake * Node informational states (DynamoDS#11983) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * Updates UI * WIP changes * ViewModel logic working as per mockup * Node redesign (#3) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * DYN-3875: Restore LocalPackages property in PreferencesViewModel (DynamoDS#11881) * restore property in PreferencesViewModel * add regression test for installedpackagesview * fix test * remove setting datacontext for installed packages view control as it is inherited * undo unnecessary changes * more cleanup * Updates UI * fix node autocomplete crash (DynamoDS#11887) * Minor UI changes to Autodesk feedback * Temporarily disabled dismissed alerts features * Minor UI fix to the nodes' GlyphStackPanel Co-authored-by: aparajit-pratap <[email protected]> * Updates * Updates node informational states * Minor fixes * Removed INodeInformationalState interface, no longer needed. * Restored previously-removed commands in InfoBubbleCommand.cs * Typo fix and restoring old NodeInfoBubbleViewModel methods to original state. * Added comments, minor (old) API restoration work * Renaming, refactoring and added 2 tests. * Removed new constructor for OutputMessage. Class is no longer being used for Informational States. * Minor fixes. Removed outdated and unused collection on NodeModel. Changed command name to be less confusing. * Update * Responds to comments * Removed unneeded references * Reponse to comments * Removed 'else' from method body * two more * Fixes UI bug * Switched out vector-based info/warning/error icons for .png equivalents. * Removes reference to WindowsBase in DynamoCore and flags many properties in the InfoBubbleViewModel as obsolete. * Updates * Minor graphical updates * Updates in response to feedback Adds new resource strings. Adds a ToolTip for the node context menu. Makes node context menu visible for all nodes. Fixes error bubble Z Index issue. Adds chevron to error bubble design. Unsubscribes from NodeMessages.CollectionChanged on InfoBubbleViewModel's Dispose method. Co-authored-by: aparajit-pratap <[email protected]> * Updates - removing MenuItem collection. * Code Cleanup (DynamoDS#11984) * Code Cleanup * Call Dispose() on ConnectorAnchorViewModel * Node redesign timeouts (DynamoDS#11986) * Code Cleanup * Call Dispose() on ConnectorAnchorViewModel * unsub collection change * formatting fix broken path to pin icon * revert schema change * revert schema change in serialization as well * actually dispose annotationviewmodels Co-authored-by: Aaron (Qilong) <[email protected]> Co-authored-by: michael kirschner <[email protected]> * Minor graphical update to alert undismissal menu. * Tidy up * Update InfoBubbleView.xaml.cs * Connector View Model Dispose (DynamoDS#11991) * ConnectorViewModel dispose * More Dispose spots * Fixes Bugs Updates InfoBubbleViewModel ZIndex property to the desired behaviour (dynamically linked to node ZIndex + 1). Removes the de/serialization of Dismissed Alerts for now. * Node informational states (#4) (DynamoDS#11910) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * Updates UI * WIP changes * ViewModel logic working as per mockup * Node redesign (#3) * Updates node styling * Updates UI Adds Artifakt font, changes colors, port/header height config, code block editor colours. * Update UI * Updates UI * Updates UI * Updates UI * Ports visual states are working. * Revert "Ports visual states are working." * Revert "Revert "Ports visual states are working."" This reverts commit 3557726. * Updates UI * Updates ContextMenu style * Updates UI * Updates UI * Updates ComboBox and Output Ports style for Code Blocks * Loads icon to node header * Updates UI * Updates UI * Updates UI * Bug fixes and responding to comments * DYN-3875: Restore LocalPackages property in PreferencesViewModel (DynamoDS#11881) * restore property in PreferencesViewModel * add regression test for installedpackagesview * fix test * remove setting datacontext for installed packages view control as it is inherited * undo unnecessary changes * more cleanup * Updates UI * fix node autocomplete crash (DynamoDS#11887) * Minor UI changes to Autodesk feedback * Temporarily disabled dismissed alerts features * Minor UI fix to the nodes' GlyphStackPanel Co-authored-by: aparajit-pratap <[email protected]> * Updates * Updates node informational states * Minor fixes * Removed INodeInformationalState interface, no longer needed. * Restored previously-removed commands in InfoBubbleCommand.cs * Typo fix and restoring old NodeInfoBubbleViewModel methods to original state. * Added comments, minor (old) API restoration work * Renaming, refactoring and added 2 tests. * Removed new constructor for OutputMessage. Class is no longer being used for Informational States. * Minor fixes. Removed outdated and unused collection on NodeModel. Changed command name to be less confusing. * Update * Responds to comments * Removed unneeded references * Reponse to comments * Removed 'else' from method body * two more Co-authored-by: aparajit-pratap <[email protected]> Co-authored-by: aparajit-pratap <[email protected]> * Fixed duplicate code * Remakes latest updates * Fixes merge mess * Removes unnecessary references * Lazy loading of ErrorBubbles * Removes redundant code * Restores warning un-dismissed capability in node context menu. * Adds comments * Update InfoBubbleTests.cs * Fixes NoteViewTests * Update WorkspaceView.xaml.cs Co-authored-by: aparajit-pratap <[email protected]> Co-authored-by: Roberto T <[email protected]> Co-authored-by: Michael Kirschner <[email protected]> Co-authored-by: Aaron (Qilong) <[email protected]> Co-authored-by: reddyashish <[email protected]> Co-authored-by: Ashish Aggarwal <[email protected]> Co-authored-by: Jorgen Dahl <[email protected]> Co-authored-by: Martin Stacey <[email protected]> Co-authored-by: pinzart90 <[email protected]> Co-authored-by: pinzart <[email protected]> Co-authored-by: Sol Amour <[email protected]> Co-authored-by: Aaron (Qilong) <[email protected]> Co-authored-by: Marco Juliani <[email protected]> Co-authored-by: Sylvester Knudsen <[email protected]> Co-authored-by: michael kirschner <[email protected]>
This file contains hidden or 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
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.
Please Note:
DynamoRevitrepo will need to be cherry-picked into all the DynamoRevit Release branches that Dynamo supports. Contributors will be responsible for cherry-picking their reviewed commits to the other branches after aLGTMlabel is added to the PR.Purpose
(FILL ME IN) This section describes why this PR is here. Usually it would include a reference
to the tracking task that it is part or all of the solution for.
Declarations
Check these if you believe they are true
*.resxfilesReviewers
(FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR)
(FILL ME IN, optional) Any additional notes to reviewers or testers.
FYIs
(FILL ME IN, Optional) Names of anyone else you wish to be notified of