Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DYN-7332] Add and remove pins to groups #15489

Merged
merged 10 commits into from
Oct 8, 2024

Conversation

ivaylo-matov
Copy link
Contributor

Purpose

PR aims to address latest comments in DYN-7332

Changes:

  • Added an option in the pin's context menu to remove the pin from its group. This action can also be performed using Alt + Left Mouse Click.
  • The context menu option is disabled when the pin is not part of any group.
  • Added a new unit test to validate the removal of pins from groups

DYN-7332_afterComments

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated
  • This PR contains no files larger than 50 MB

Release Notes

(FILL ME IN) Brief description of the fix / enhancement. Use N/A to indicate that the changes in this pull request do not apply to Release Notes. Mandatory section

Reviewers

@QilongTang
@reddyashish

FYIs

@dnenov
@Amoursol

`AddConnectorPinsToGroups` was failing because the original version on `Nodes` was excluding pins from selection, but adding pins related to nodes.
with added option in the context menu to remove pins from a group or with Alt + Left Mouse click.
+ another unit test
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-7332

Copy link

github-actions bot commented Sep 17, 2024

UI Smoke Tests

Test: success. 11 passed, 0 failed.
TestComplete Test Result
Workflow Run: UI Smoke Tests
Check: UI Smoke Tests

@QilongTang QilongTang added this to the 3.4 milestone Sep 19, 2024
@reddyashish
Copy link
Contributor

reddyashish commented Sep 30, 2024

@ivaylo-matov can you check these tests on this branch?
Screenshot 2024-09-30 at 8 24 40 AM

ignore pins when comparing the graphs
@ivaylo-matov
Copy link
Contributor Author

@ivaylo-matov can you check these tests on this branch? Screenshot 2024-09-30 at 8 24 40 AM

@reddyashish, please let me know if this solution is acceptable.

The serialization tests were failing due to a mismatch between the connectorPinModel GUIDs in the serialized graph and the in-memory .dyn graph. This caused the comparison of AnnotationMaps to fail. Excluding connectorPinModels resolves the issue and prevents the test failure

@reddyashish
Copy link
Contributor

@reddyashish reddyashish merged commit e7622fb into DynamoDS:master Oct 8, 2024
23 of 24 checks passed
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.

3 participants