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

Connector context menu lazy load #12091

Merged
merged 37 commits into from
Oct 4, 2021

Conversation

M-JULIANI
Copy link
Contributor

  • @saintentropy probably best to merge Wire connector UI modifications #12072 before this. We can handle any conflicts in this PR. Also we probably want to profile them separately to understand where we are/aren't getting performance improvements? I've never done that before but will speak to Ollie about getting some basic numbers done.

Description

This PR:

  • Separates out the connector ContextMenu from Connectors.xaml into a ConnectorContextMenuViewModel and associated view that gets created when right clicked, and set to null when mouse leaves or when an action is complete.
  • Styles the ContextMenu properly.

Wire-UI ContextMenu 29 09 2021

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

@saintentropy
@QilongTang

FYIs

@SHKnudsen
@Amoursol

M-JULIANI and others added 30 commits September 27, 2021 14:50
…#12069)

* Add visiblity trigger to empty tooltip strings

* PR comment

* Pr comments

Co-authored-by: Craig Long <[email protected]>
* add pins to groups

* Update ConnectorPinView.xaml.cs
* 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.
SHKnudsen and others added 2 commits September 30, 2021 11:03
@M-JULIANI
Copy link
Contributor Author

@QilongTang one sec fixing a few things..

@M-JULIANI
Copy link
Contributor Author

OK fixes made @QilongTang.

@M-JULIANI
Copy link
Contributor Author

@QilongTang let me know if the Self-Serve is something on my end.

@QilongTang
Copy link
Contributor

QilongTang commented Oct 1, 2021

@QilongTang let me know if the Self-Serve is something on my end.

Nope, those are tests failures from the test Oliver added for package manager which got disabled.

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.

Some comments, then LGTM

@M-JULIANI
Copy link
Contributor Author

@QilongTang unit tests added :)

@QilongTang
Copy link
Contributor

The regression list shown are not related to this PR. Merging.

DynamoCoreWpfTests.PackageManagerUITests.CannotCreateDuplicatePackageSearchDialogs
DynamoCoreWpfTests.PackageManagerUITests.CanOpenPackageSearchDialogAndWindowIsOwned
DynamoCoreWpfTests.PackageManagerUITests.PackageSearchDialogClosesWithDynamo

@QilongTang QilongTang merged commit a8f0b95 into DynamoDS:master Oct 4, 2021
@QilongTang QilongTang mentioned this pull request Oct 4, 2021
8 tasks
@QilongTang
Copy link
Contributor

I apologize, the three regressions are related to this PR, the fix is proposed in #12106

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.

8 participants