Repository navigation
feat(editor): show release notes after version upgrades - #201
Merged
Merged
Conversation
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.
Red users currently have to discover release changes outside the editor, and there is no persistent way to announce a newly installed version once without interrupting every launch.
What changed
CHANGELOG.mdsection immediately, refresh the matching GitHub release asynchronously, preserve skipped releases, and fall back safely when the network or release is unavailable.:whats-new,:changelog, and a command-palette entry, plusshow_whats_newandfetch_release_notesconfiguration toggles.How to Test
last_seen_versionfrom~/.config/red/preferences.json; confirm the release panel appears immediately with the current version, Red branding, and bundled highlights.:whats-newand:changelogto reopen it manually.Tabor click each tab; confirm the full changelog opens, the footer changes toTab Highlights, links remain navigable with[/], and long notes show scrolling progress.show_whats_new = falseand restart; confirm automatic presentation is suppressed while:whats-newstill works. Setfetch_release_notes = falseto verify offline bundled notes.Verification
cargo test -p red --target-dir /private/tmp/red-whats-new-target --quiet— 1,360 library tests and all integration suites passed.CARGO_TARGET_DIR=/private/tmp/red-whats-new-target cargo clippy --all-targets --all-features -- -D warnings— passed without warnings.