Skip to content

[DYN-3975] Fix non clickable textboxes#12007

Merged
QilongTang merged 3 commits intoDynamoDS:UIRefreshGroupImprovementsfrom
SHKnudsen:DYN-3975-Fix-non-clickable-textboxes
Sep 3, 2021
Merged

[DYN-3975] Fix non clickable textboxes#12007
QilongTang merged 3 commits intoDynamoDS:UIRefreshGroupImprovementsfrom
SHKnudsen:DYN-3975-Fix-non-clickable-textboxes

Conversation

@SHKnudsen
Copy link
Contributor

@SHKnudsen SHKnudsen commented Sep 2, 2021

Purpose

this PR fixes:

The event triggers that handle editing the Group textboxes have been moved into the TextBlockGrid as they need to handle click events on the GroupNameControl and GroupDescriptionControls which are both inside this grid.

image
DynamoRefresh_groups_doubleClickBug

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

FYIs

@mjkkirschner

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.

Similar to #12006, waiting for PR checks to pass. LGTM

@QilongTang
Copy link
Contributor

If the PR checks still failing for crashes, then we will need to investigate further unfortunately

@SHKnudsen SHKnudsen force-pushed the DYN-3975-Fix-non-clickable-textboxes branch from be7eb83 to 71b6e8a Compare September 2, 2021 15:42
annotationView.ViewModel.FontSize = 48;

//Group textblock should be visible.
Assert.IsTrue(annotationView.GroupTextBlock.IsVisible);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@QilongTang FYI modified this test as the visibility checks does not really apply anymore. Unless we want to turn the hide on specific zoom back

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks I dont think that is required, @Amoursol @Jingyi-Wen can you confirm?

Copy link
Contributor

Choose a reason for hiding this comment

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

Got confirmation with @Jingyi-Wen

@QilongTang QilongTang merged commit 60b03f8 into DynamoDS:UIRefreshGroupImprovements Sep 3, 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