Repository navigation
feat(updater): show release notes in the update window - #460
Merged
Merged
Conversation
Show users what changed before they install a new version. Render the manifest notes as Markdown in a wrapping, scrollable area and keep the initial focus on the window content. For Homebrew, use the notes only when the manifest version matches the cask version. Refs #459
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Adds a “What’s new” section to the software update window. Release notes render as Markdown, wrap within the window, and scroll when needed. The window opens with focus on its content so the notes and buttons have no initial focus outline.
Homebrew still checks the cask for availability and displays notes from the update manifest when the versions match.
This is intended for the next ThinkWatch Lite release. Users who install it will see release notes when the following update is offered.
Verified in a native macOS WebKit preview with long Markdown notes. Local TypeScript checks, frontend tests, Rust formatting, workspace tests, and Clippy passed.
Refs #459.