Skip to content

Require approval before downloading updates and use versioned changelog links#48

Merged
nedtwigg merged 7 commits intomainfrom
codex/gate-updater-on-user-approval
May 6, 2026
Merged

Require approval before downloading updates and use versioned changelog links#48
nedtwigg merged 7 commits intomainfrom
codex/gate-updater-on-user-approval

Conversation

@nedtwigg
Copy link
Copy Markdown
Member

@nedtwigg nedtwigg commented May 6, 2026

Summary

  • Changed the standalone updater so update checks only surface an approval prompt; download and install now happen only after the user clicks "Install on quit".
  • Made the changelog action open https://mouseterm.com/changelog/after/<current-version> by reading the app version from Tauri at click time.
  • Updated the auto-update spec, updater tests, and Storybook stories to match the approval-first flow.

Testing

  • pnpm --filter mouseterm-standalone test
  • pnpm --filter mouseterm-standalone build
  • pnpm --filter mouseterm-lib build

nedtwigg and others added 5 commits May 5, 2026 23:57
If the user clicked "Install on quit" then [×] while downloading, the
download-complete handler unconditionally set status to 'downloaded',
un-dismissing the banner. Guard the success and failure transitions on
status === 'downloading' so dismissal sticks. Install still happens on
quit because pendingUpdate is tracked independently of UI state, per the
spec ("dismissing does not cancel an already-approved download/install").

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 6, 2026

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4a2b708
Status: ✅  Deploy successful!
Preview URL: https://6081de07.mouseterm.pages.dev
Branch Preview URL: https://codex-gate-updater-on-user-a.mouseterm.pages.dev

View logs

@nedtwigg nedtwigg marked this pull request as ready for review May 6, 2026 09:04
@nedtwigg nedtwigg merged commit 0085c67 into main May 6, 2026
6 checks passed
@nedtwigg nedtwigg deleted the codex/gate-updater-on-user-approval branch May 6, 2026 09:04
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