Skip to content

feat(ui): add Check for Updates dialog, badge, and startup settings (#281) - #294

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/281-update-dialog-ui
Jul 10, 2026
Merged

feat(ui): add Check for Updates dialog, badge, and startup settings (#281)#294
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/281-update-dialog-ui

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Help → Check for Updates… opens UpdateDialog and runs AppUpdaterService.checkForUpdates().
  • UpdateDialog covers Checking, Up to date, Available (changelog + Download & Install), Downloading (progress/speed/cancel), Ready to install, and Error states.
  • Title-bar badge (UpdateAvailableBadge) pulses when a background check finds a newer release; click opens the dialog.
  • Preferences → General: checkbox Automatically check for updates on startup (default on).
  • Startup: UpdateController.initialize() in main.dart runs silent background check when enabled.

Fixes #281.

Test plan

  • flutter test test/features/updater/
  • flutter analyze lib/features/updater lib/main.dart
  • Help → Check for Updates… against real GitHub Releases
  • Confirm badge appears after startup when a newer release exists
  • Toggle startup check in Preferences → General

Note: Restart & Update Now downloads and verifies the package but install is stubbed until Phase 3 (#282).

…281)

Wire Phase 2 auto-update UI: Help menu action, UpdateDialog with check/
download/progress states, pulsing title-bar badge via UpdateController,
General preferences toggle, and startup background check hook.
@github-actions github-actions Bot added enhancement New feature or request ui User interface components and widgets labels Jul 10, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit f1be02c into dev Jul 10, 2026
4 checks passed
@ZhuchkaTriplesix ZhuchkaTriplesix self-assigned this Jul 12, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/281-update-dialog-ui branch July 26, 2026 14:39
ZhuchkaTriplesix added a commit that referenced this pull request Jul 27, 2026
feat(ui): add Check for Updates dialog, badge, and startup settings (#281)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ui User interface components and widgets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant