-
Notifications
You must be signed in to change notification settings - Fork 635
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
Default Node Suggestions #11196
Default Node Suggestions #11196
Conversation
@@ -57,7 +73,7 @@ internal void PopulateAutoCompleteCandidates() | |||
/// The search elements can be made to appear in the node autocomplete search dialog. | |||
/// </summary> | |||
/// <returns>collection of node search elements</returns> | |||
internal IEnumerable<NodeSearchElement> GetMatchingNodes() | |||
internal IEnumerable<NodeSearchElement> GetMatchingSearchElements() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason for this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed since the function itself does not really return nodes (usually referring to node models or node view models) but rather than search elements, just to reduce confusion in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with one comment
src/DynamoCoreWpf/ViewModels/Search/NodeAutoCompleteSearchViewModel.cs
Outdated
Show resolved
Hide resolved
src/DynamoCoreWpf/ViewModels/Search/NodeAutoCompleteSearchViewModel.cs
Outdated
Show resolved
Hide resolved
src/DynamoCoreWpf/ViewModels/Search/NodeAutoCompleteSearchViewModel.cs
Outdated
Show resolved
Hide resolved
src/DynamoCoreWpf/ViewModels/Search/NodeAutoCompleteSearchViewModel.cs
Outdated
Show resolved
Hide resolved
@aparajit-pratap @zeusongit Addressed the comments |
* Default Node Suggestions * Make member internal * CleanUp * Comments * Comments
Please Note:
DynamoRevit
repo will need to be cherry-picked into all the DynamoRevit Release branches that Dynamo supports. Contributors will be responsible for cherry-picking their reviewed commits to the other branches after aLGTM
label is added to the PR.Purpose
Add Default Node suggestions for case where suggestion algorithm returns no results. @zeusongit I think changes here will be related to your task as well.
Declarations
Check these if you believe they are true
*.resx
filesReviewers
@DynamoDS/dynamo
FYIs
@mjkkirschner @aparajit-pratap