Implement update check and add installation guide to release notes#30
Open
GabrielBG0 wants to merge 2 commits into
Open
Implement update check and add installation guide to release notes#30GabrielBG0 wants to merge 2 commits into
GabrielBG0 wants to merge 2 commits into
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.
What changed
This PR adds automatic update checking and release notification to Lyra. On startup, the app silently fetches the latest GitHub release and compares it to the running version. If a newer release exists, an amber "Update" button appears in the menu bar that opens the release page. Users can also check for updates manually from a new "Updates" section in Preferences. The Preferences modal was refactored to be scrollable and, in debug mode, expands to a two-column layout with a "Debug Triggers" panel for testing update states. The release workflow was also updated to prepend a platform download guide to auto-generated release notes.
Type
Checklist
cargo fmt --checkpassesnpx prettier --check .passescargo testinsrc-tauri/)npm test)global.csstokens — note: the update button inMenuBar.tsxuses inline OKLch values for the amber tint. These should be extracted intoglobal.csstokens or verified as acceptable..lyrfile format or SQLite index changes are backwards-compatible (or migration is included) — not applicable, no data format changes.