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

Wire connector UI modifications #12072

Merged
merged 5 commits into from
Sep 30, 2021

Conversation

M-JULIANI
Copy link
Contributor

@M-JULIANI M-JULIANI commented Sep 27, 2021

Description

This PR updates the resources and styles related to connectors/connector pins. Minor UI changes are made to match the mock-ups & the expected UX.

*Styling of connector context menu is forthcoming.

WIre-UI Modifications 27 09 21

image

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
@saintentropy

FYIs

@SHKnudsen
@Amoursol

@Amoursol
Copy link
Contributor

@QilongTang @saintentropy - would be good to test performance after this PR is merged as it's expected to help 🚀

@M-JULIANI M-JULIANI mentioned this pull request Sep 29, 2021
8 tasks
@@ -289,6 +289,7 @@ public bool ConnectorAnchorViewModelExists
{
connectorAnchorViewModelExists = value;
RaisePropertyChanged(nameof(ConnectorAnchorViewModelExists));
RaisePropertyChanged(nameof(PreviewState));
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we raise a different property change here?

Copy link
Contributor Author

@M-JULIANI M-JULIANI Sep 30, 2021

Choose a reason for hiding this comment

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

image
@QilongTang Actually the RaisePropertyChanged call is what indicates that the wire should transition to hover mode. So it is needed. Open to suggestions on how to do it differently.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah I missed this then, make sense

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

@QilongTang
Copy link
Contributor

The regressions reported are all package manager related so should be unrelated. Merging.

@QilongTang QilongTang merged commit ab61be0 into DynamoDS:master Sep 30, 2021
M-JULIANI added a commit to M-JULIANI/Dynamo that referenced this pull request Sep 30, 2021
* Polyline + thick outline removed.

* Removed 'ConnectorType` menu from view->connectors.

* Updated connector styles.

* New resources added/old ones removed. Minor UI updates to reflect mockups.
QilongTang added a commit that referenced this pull request Oct 4, 2021
* Polyline + thick outline removed.

* Removed 'ConnectorType` menu from view->connectors.

* Updated connector styles.

* New resources added/old ones removed. Minor UI updates to reflect mockups.

* First commit.

* Cleanup. On-the-fly ContextMenu working.

* Applying ContextMenu styling.

* Added (stole) ContextMenu styling.

* Added resource strings to ContextMenu control.

* Update AssemblySharedInfo.cs

* Unused ref removal.

* Cleanup.

* Fixes.

* First commit.

* Cleanup. On-the-fly ContextMenu working.

* Applying ContextMenu styling.

* Added (stole) ContextMenu styling.

* Added resource strings to ContextMenu control.

* Update AssemblySharedInfo.cs

* Cleanup.

* Adding 10 to margin (#12076)

* Update AnnotationModel.cs (#12086)

* Crash Fix.  Add visibility trigger to empty tooltip strings. (#12069)

* Add visiblity trigger to empty tooltip strings

* PR comment

* Pr comments

Co-authored-by: Craig Long <[email protected]>

* DYN-3992: Upgrade LibG (#12060)

* mark test as failure temporarily to fix build issues (#12090)

* add pins to groups (#12070)

* add pins to groups

* Update ConnectorPinView.xaml.cs

* Remove outdated logic (#12081)

* Wire connector UI modifications (#12072)

* Polyline + thick outline removed.

* Removed 'ConnectorType` menu from view->connectors.

* Updated connector styles.

* New resources added/old ones removed. Minor UI updates to reflect mockups.

* [DYN-4105] Make sure nodes gets added to parent group (#12084)

* make sure nodes gets added to parent group

* remove commented code

Co-authored-by: Aaron (Qilong) <[email protected]>

* Updates resource strings from Remove to Delete (#12088)

* Improved ContextMenu behaviour.

* PR fix.

* Removed unnecessary refs.

* Added unit tests for ConnectorContextMenu construction/disposal/commands.

Co-authored-by: filipeotero <[email protected]>
Co-authored-by: Sylvester Knudsen <[email protected]>
Co-authored-by: Craig Long <[email protected]>
Co-authored-by: Craig Long <[email protected]>
Co-authored-by: Jorgen Dahl <[email protected]>
Co-authored-by: aparajit-pratap <[email protected]>
Co-authored-by: Aaron (Qilong) <[email protected]>
Co-authored-by: Ollie Green <[email protected]>
@martinstacey martinstacey mentioned this pull request Oct 6, 2021
8 tasks
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