Skip to content

Conversation

@ivaylo-matov
Copy link
Contributor

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

Copilot AI review requested due to automatic review settings October 17, 2025 08:15
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-8879

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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.

@QilongTang
Copy link
Contributor

@zeusongit zeusongit requested a review from a team October 21, 2025 14:19
Copy link
Contributor

@QilongTang QilongTang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment then LGTM

@zeusongit
Copy link
Contributor

@reddyashish
Copy link
Contributor

This job seems to never complete after the last commit. The jira task is also marked for 4.1.

@QilongTang
Copy link
Contributor

This job seems to never complete after the last commit. The jira task is also marked for 4.1.

@reddyashish Would you re-run the job?

@reddyashish
Copy link
Contributor

@reddyashish
Copy link
Contributor

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.

@reddyashish reddyashish merged commit e10e993 into DynamoDS:master Oct 25, 2025
27 checks passed
@reddyashish
Copy link
Contributor

Thanks Aaron, Merging this. The jira task is marked for 4.1 though. so not cherrypicking yet.

@QilongTang
Copy link
Contributor

@reddyashish @zeusongit Notice this is a follow up of #16476 so the earlier PR is already part of 4.0 release

@zeusongit zeusongit added this to the 4.0 milestone Oct 29, 2025
@zeusongit
Copy link
Contributor

should be cherry-picked

@zeusongit
Copy link
Contributor

/cherrypick

github-actions bot pushed a commit that referenced this pull request Oct 29, 2025
Co-authored-by: Aaron (Qilong) <173288704@qq.com>
(cherry picked from commit e10e993)
@github-actions
Copy link

Successfully created backport PR for RC4.0.0_master:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants