You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Adds a checkmark to the File > Show Graph Properties > General menu item and allow clicking it to toggle the panel. This mirrors the behavior the item had when it lived under the Extensions menu.
The new BindGraphPropertiesMenu method subscribes using lambda event handlers. This should be fine here because the subscriber’s lifetime matches the DynamoView window lifetime.
Adds a checkmark to the File > Show Graph Properties > General menu item and allow clicking it to toggle the panel. This mirrors the behavior the item had when it lived under the Extensions menu.
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds a checkmark/toggle behavior for the File > Show Graph Properties > General menu item by binding it to the GraphMetadata extension menu item, mirroring previous Extensions menu behavior.
Introduces BindGraphPropertiesMenu to bind and optionally toggle the extension-driven check state.
Adds a field (graphMetadataHooked) to ensure event handlers are only attached once.
The last job also timed out and shows this "message":"This SHA and context has reached the maximum number of statuses.". The changes look straightforward and could be an issue with the this branch commits. @ivaylo-matov if you can open another PR with the same changes and close this, we can check the test job.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
PR to address latest comments in DYN-8879.
Adds a checkmark to the File > Show Graph Properties > General menu item and allow clicking it to toggle the panel. This mirrors the behavior the item had when it lived under the Extensions menu.
The new BindGraphPropertiesMenu method subscribes using lambda event handlers. This should be fine here because the subscriber’s lifetime matches the DynamoView window lifetime.
Declarations
Check these if you believe they are true
Release Notes
Adds a checkmark to the File > Show Graph Properties > General menu item and allow clicking it to toggle the panel. This mirrors the behavior the item had when it lived under the Extensions menu.
Reviewers
@DynamoDS/eidos
FYIs
@dnenov
@achintyabhat