Skip to content

Implement update check and add installation guide to release notes#30

Open
GabrielBG0 wants to merge 2 commits into
mainfrom
dev
Open

Implement update check and add installation guide to release notes#30
GabrielBG0 wants to merge 2 commits into
mainfrom
dev

Conversation

@GabrielBG0
Copy link
Copy Markdown
Owner

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

  • Bug fix
  • New feature
  • Refactor / cleanup
  • Docs / config
  • Other:

Checklist

  • cargo fmt --check passes
  • npx prettier --check . passes
  • Rust tests pass (cargo test in src-tauri/)
  • Frontend tests pass (npm test)
  • UI changes tested manually in the app
  • No new OKLch color values introduced outside global.css tokens — note: the update button in MenuBar.tsx uses inline OKLch values for the amber tint. These should be extracted into global.css tokens or verified as acceptable.
  • .lyr file format or SQLite index changes are backwards-compatible (or migration is included) — not applicable, no data format changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant