-
Notifications
You must be signed in to change notification settings - Fork 668
DYN-9357: Installed packages list on Package Manager shows the latest version of the package #16853
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
base: master
Are you sure you want to change the base?
DYN-9357: Installed packages list on Package Manager shows the latest version of the package #16853
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-9357
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.
Pull request overview
This PR improves the Package Manager Search tab by enhancing visibility of installed package versions and their update status. The changes allow users to see which package version is currently installed, whether updates are available, and provide contextual install/update/uninstall actions.
Changes:
- Added tracking for installed package versions and update availability in the search element view model
- Modified the install button to dynamically display "Install", "Update", or "Uninstall" based on the package state
- Added visual indicators (badges and labels) to show installed versions and available updates
- Added null guards to prevent crashes when downloading selected versions
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| PackageManagerSearchElement.cs | Added IsInstalled property to VersionInformation to track installed package versions |
| PackageManagerPackagesControl.xaml | Updated UI to display "(installed)" label in version dropdown and "New version available" badge; modified install button binding to use new command and text properties |
| PackageManagerSearchViewModel.cs | Added methods to track install state, handle uninstall operations, and update UI based on package installation status |
| PackageManagerSearchElementViewModel.cs | Added properties and commands to manage install/uninstall actions and track installation state; added null guards in download logic |
| PublicAPI.Unshipped.txt | Documented new public API members for install state tracking and action properties |
| Resources.resx | Added localization strings for "Update", "Uninstall", and "New version available" |
| Resources.en-US.resx | Added English localization strings matching Resources.resx additions |
Files not reviewed (1)
- src/DynamoCoreWpf/Properties/Resources.Designer.cs: Language not supported
Purpose
This PR addresses DYN-9357
It improves clarity in the Search tab so users can easily see which version of a package is currently installed:
Changes in code:
InstallActionText/InstallActionCommandso the button label and action change based on state.nullguard when downloading a selected version to avoid crashes.Declarations
Check these if you believe they are true
Release Notes
Changes improves clarity in the Search tab so users can easily see which version of a package is currently installed.
Reviewers
@zeusongit
@DynamoDS/eidos
FYIs
@emru-y
@dnenov