-
Notifications
You must be signed in to change notification settings - Fork 668
DYN-7086 Correctly cast package search results to show updated package info #15373
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
Conversation
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.
See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-7086
UI Smoke TestsTest: success. 11 passed, 0 failed. |
| { | ||
| return true; | ||
| } | ||
| return false; |
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.
Do we need this if condition? I thought we can just do CachedPackageList.Where(e =>e.Name.Equals(packageName)
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.
Yep, that's what I thought when I looked at it. But I did not add this code, I just reverted this change to its previous state, thinking don't fix something that ain't broke. ;)
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.
updated
QilongTang
left a comment
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 question
Purpose
This is fixing a regression in the master for package search.
The search results should be cast to
PackageManagerSearchElementViewModelusing the new methodGetSearchElementViewModelto populate it's install status, this will help correctly display the package info in Package manager window.Declarations
Check these if you believe they are true
*.resxfilesRelease Notes
Reviewers
@DynamoDS/dynamo