[PR #4159] fix: upgrade toast notification #10884

Closed
opened 2026-02-16 18:15:38 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4159

State: closed
Merged: Yes


Fixes #4154

Displays a success toast notification when OpenCode automatically upgrades to a new version in the background.

Changes

  • Subscribe to Installation.Event.Updated events
  • Show success toast with upgrade completion message

Test Plan

  • Verified toast system works by testing with clipboard copy notification
  • Confirmed toast displays with correct styling (green success variant)
  • Toast shows: "Update Complete - OpenCode updated to v{version}"
  • Toast auto-dismisses after 5 seconds

Before

  • No visual feedback when automatic upgrades completed
  • User unaware of version changes

After

  • Success toast appears in top-right corner
  • Shows new version number
  • Provides clear user feedback
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4159 **State:** closed **Merged:** Yes --- Fixes #4154 Displays a success toast notification when OpenCode automatically upgrades to a new version in the background. ## Changes - Subscribe to `Installation.Event.Updated` events - Show success toast with upgrade completion message ## Test Plan - [x] Verified toast system works by testing with clipboard copy notification - [x] Confirmed toast displays with correct styling (green success variant) - [x] Toast shows: "Update Complete - OpenCode updated to v{version}" - [x] Toast auto-dismisses after 5 seconds ## Before - No visual feedback when automatic upgrades completed - User unaware of version changes ## After - Success toast appears in top-right corner - Shows new version number - Provides clear user feedback
yindo added the pull-request label 2026-02-16 18:15:38 -05:00
yindo closed this issue 2026-02-16 18:15:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10884