Skip to content

feat: add floating update notification card with skip version support#117

Merged
Blankll merged 5 commits into
masterfrom
feat/update-notification
Jun 30, 2026
Merged

feat: add floating update notification card with skip version support#117
Blankll merged 5 commits into
masterfrom
feat/update-notification

Conversation

@Blankll

@Blankll Blankll commented Jun 30, 2026

Copy link
Copy Markdown
Member

Summary

Adds a floating update notification card (bottom-right) that automatically appears when a new version is detected, matching the UX pattern from Dockit. Includes skip-version persistence so users can dismiss specific versions permanently.

Changes

  • src/composables/useAppUpdater.ts: Added skipVersion local storage, skipUpdate(), isRestarting state, and re-check before download for fresh URLs
  • src/components/UpdateNotification.vue (new): Floating card with download icon, version info, progress bar, and Skip/Later/Update Now actions - dark mode compatible via CSS variables
  • src/App.vue: Wired UpdateNotification into root template
  • src/lang/enUS.ts + zhCN.ts: Added i18n keys: skip, later, updateNow, restarting, downloadingPercent

UX Flow

Startup -> check() -> update found (not skipped) -> floating card appears
  |- Update Now -> download + install + relaunch
  |- Later -> dismiss (re-checks on next launch)
  |- Skip This Version -> persists in localStorage, wont prompt again

The existing manual Check for Updates button in Settings -> Appearance still works unchanged.

Blankll and others added 5 commits July 1, 2026 00:03
- Add skipVersion persistence (localStorage) to skip specific versions
- Add skipUpdate(), isRestarting state to useAppUpdater composable
- Create UpdateNotification.vue — floating bottom-right card with progress bar
  and Skip/Later/Update Now actions (matches Dockit UX pattern)
- Add i18n keys for notification UI in enUS and zhCN
- Wire UpdateNotification into App.vue root template
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
… module scope

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@Blankll
Blankll merged commit a48683e into master Jun 30, 2026
3 checks passed
@Blankll
Blankll deleted the feat/update-notification branch June 30, 2026 16:50
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