Repository navigation
Add a Release notes item to the updates context menu - #5535
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
Static review found no blocking issues in capability gating, deferred loading, or navigation; runtime UI validation was not performed.
0 open findings
What changed in this PR
Adds quick access to release notes from the Software Updates context menu, addressing #5510.
Changes:
- Adds release-notes capability flags for five supported managers.
- Loads package details on demand and enables the item only when release notes are available.
- Opens release-note URLs in the browser, with package details as the text-only fallback.
| File | Description |
|---|---|
| src/UniGetUI.PackageEngine.Managers.WinGet/WinGet.cs | Enables release-notes support. |
| src/UniGetUI.PackageEngine.Managers.PowerShell7/PowerShell7.cs | Enables release-notes support. |
| src/UniGetUI.PackageEngine.Managers.PowerShell/PowerShell.cs | Enables release-notes support. |
| src/UniGetUI.PackageEngine.Managers.Dotnet/DotNet.cs | Enables release-notes support. |
| src/UniGetUI.PackageEngine.Managers.Chocolatey/Chocolatey.cs | Enables release-notes support. |
| src/UniGetUI.PackageEngine.Enums/ManagerCapabilities.cs | Defines the capability, disabled by default. |
| src/UniGetUI.Avalonia/Views/SoftwarePages/SoftwareUpdatesPage.cs | Adds the menu item, deferred loading, and navigation. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
🤖 Pull request was approved automatically: the AI review is complete and all its review threads are resolved. 🎉
Integration Details
{
"deliveryId": "6884c330-c994-11f1-8828-208004ef26e9",
"headSha": "4dad849d53276bb94d0749fea117efb2e7e839fb",
"reviewer": "copilot-pull-request-reviewer[bot]"
}
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Right-clicking an update on the Software Updates page now shows Release notes. It opens the release-notes URL the package manager reports in the browser. When the manager only reports release-notes text, it opens the package details window, where that text is shown.
The item is enabled only when the package actually has release notes, and the update list doesn't load any slower:
SupportsReleaseNotescapability marks the managers whose details can carry release notes: WinGet, Chocolatey, PowerShell, PowerShell 7 and .NET tool. For every other manager the item is disabled and nothing is looked up.Scoop, npm and Bun are left out on purpose:
notesfield holds post-install instructions, not a changelog.Closes #5510