Skip to content

[DYN-3988] dragging and dropping a node into group breaks group#12010

Merged
QilongTang merged 1 commit intoDynamoDS:UIRefreshGroupImprovementsfrom
SHKnudsen:DYN-3988-Dragging-and-dropping-a-node-into-group-breaks-group
Sep 7, 2021
Merged

[DYN-3988] dragging and dropping a node into group breaks group#12010
QilongTang merged 1 commit intoDynamoDS:UIRefreshGroupImprovementsfrom
SHKnudsen:DYN-3988-Dragging-and-dropping-a-node-into-group-breaks-group

Conversation

@SHKnudsen
Copy link
Contributor

Purpose

This PR fixes DYN-3988

Issue was that after adding the node to the group only the group and the added node was selected, this caused some weird behaviour with the group if the added node was dragged

The solution, after the node is dropped into the group we select the group and all its content, this gives the expected behaviour when dragging the node afterwards.

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

Reviewers

@QilongTang

@SHKnudsen SHKnudsen force-pushed the DYN-3988-Dragging-and-dropping-a-node-into-group-breaks-group branch from 1448eb5 to 6e83b72 Compare September 3, 2021 15:56
@QilongTang QilongTang merged commit 1a8cdaa into DynamoDS:UIRefreshGroupImprovements Sep 7, 2021
QilongTang added a commit that referenced this pull request Sep 8, 2021
* Group improvements to the graph view (#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 redesign timeouts (#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]>

* [DYN-3975] Fix non clickable textboxes (#12007)

* Fix non clickable textboxes

* use nameof

* Update AnnotationViewTests.cs

* Change output port background (#12017)

* SelectAll after node has been dragged into group (#12010)

* Remove ProxyPortModel creation (#12008)

* Update AnnotationView.xaml (#12022)

* code clean up

Co-authored-by: Sylvester Knudsen <[email protected]>
Co-authored-by: Michael Kirschner <[email protected]>
Co-authored-by: michael kirschner <[email protected]>
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.

2 participants