Skip to content

feat(desktop): check for updates + view changelog from About#180

Merged
oratis merged 1 commit into
mainfrom
feat/about-check-updates-changelog
Jun 18, 2026
Merged

feat(desktop): check for updates + view changelog from About#180
oratis merged 1 commit into
mainfrom
feat/about-check-updates-changelog

Conversation

@oratis

@oratis oratis commented Jun 18, 2026

Copy link
Copy Markdown
Owner

The About dialog (version / bundle id / repo link) was static. Adds the two requested capabilities.

Check for Updates

A button that queries the GitHub Releases API (reusing checkUpdateAgainstGithub from the update banner — same source of truth):

  • up to date → "You're on the latest version"
  • newer release → turns into a "Get vX.Y.Z" button that opens the release page to download
  • offline / rate-limited → "Couldn't check for updates"

Changelog

A "Changelog" link that opens the GitHub releases/notes page in the browser.

Both use plugin-opener for a reliable external open in the Tauri webview (the repo link is switched to the same). EN + 中文 strings.

Verify

tsc ✓ · vitest 6 (+3 new) ✓ · biome ✓ · build ✓.

🤖 Generated with Claude Code

The About dialog was static. It now offers:

- "Check for Updates" — queries the GitHub Releases API (reusing
  checkUpdateAgainstGithub from the update banner). Reports "You're on the latest
  version", or turns into a "Get vX.Y.Z" button that opens the release page to
  download. Surfaces a friendly "Couldn't check" on failure (offline/rate limit).
- "Changelog" — opens the GitHub releases/notes page in the browser.

Both use plugin-opener (reliable external open in the Tauri webview); the repo
link is switched to the same. EN + 中文 strings. AboutDialog tests +3 (6 total).

tsc ✓ · vitest (6) ✓ · biome ✓ · build ✓.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@oratis oratis merged commit 69d8247 into main Jun 18, 2026
4 checks passed
@oratis oratis deleted the feat/about-check-updates-changelog branch June 18, 2026 13:18
@oratis oratis mentioned this pull request Jun 18, 2026
oratis added a commit that referenced this pull request Jun 18, 2026
Patch release on top of v1.0.0 with the unreleased desktop fixes:
- Export as HTML exports the current document + lets you choose the save
  location (#179).
- About dialog: Check for Updates + Changelog (#180).

Bumps package.json / tauri.conf.json / Cargo.toml (+ Cargo.lock) to 1.0.1 and
adds docs/release-notes-v1.0.1.md. iOS is unaffected (desktop-only changes).

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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