Better notifications on Desktop #8328

Open
opened 2026-02-16 18:09:42 -05:00 by yindo · 1 comment
Owner

Originally created by @Brendonovich on GitHub (Feb 2, 2026).

Originally assigned to: @Brendonovich on GitHub.

To support rich notifications (integrated deeplinks, fancy content) we're probably going to need to drop tauri-plugin-notiifcation and use the system APIs.

Windows

Not sure about project favicon support.
For deeplinking:

Windows APIs That DO Support Deeplinks

Option 1: Windows App SDK (Recommended)

// AppNotificationBuilder supports protocol activation
var builder = new AppNotificationBuilder()
.AddArgument("action", "openUrl")
.AddArgument("url", "myapp://page/123")
.AddText("New message")
.AddButton(new AppNotificationButton("Open")
.AddArgument("action", "open")
.SetInvokeUri(new Uri("myapp://page/123")));
Option 2: WinRT Toast Notifications The tauri-winrt-notification crate (already a dependency of notify-rust) provides some WinRT capabilities but has limited documentation on protocol activation.

Option 3: Custom Protocol Handler You'd need to:

Register your app to handle a custom protocol (e.g., myapp://) in the registry
Use Windows App SDK notifications with protocol activation
Handle the protocol activation when the app launches

thanks kimi

macOS

For deeplinking: UNUserNotificationCenter + AppDelegate for responding to events
Project favicons: Communication Notifications - am working on this

Linux

tbd

Originally created by @Brendonovich on GitHub (Feb 2, 2026). Originally assigned to: @Brendonovich on GitHub. To support rich notifications (integrated deeplinks, fancy content) we're probably going to need to drop `tauri-plugin-notiifcation` and use the system APIs. ### Windows Not sure about project favicon support. For deeplinking: > Windows APIs That DO Support Deeplinks > > Option 1: Windows App SDK (Recommended) > > // AppNotificationBuilder supports protocol activation > var builder = new AppNotificationBuilder() > .AddArgument("action", "openUrl") > .AddArgument("url", "myapp://page/123") > .AddText("New message") > .AddButton(new AppNotificationButton("Open") > .AddArgument("action", "open") > .SetInvokeUri(new Uri("myapp://page/123"))); > Option 2: WinRT Toast Notifications The tauri-winrt-notification crate (already a dependency of notify-rust) provides some WinRT capabilities but has limited documentation on protocol activation. > > Option 3: Custom Protocol Handler You'd need to: > > Register your app to handle a custom protocol (e.g., myapp://) in the registry > Use Windows App SDK notifications with protocol activation > Handle the protocol activation when the app launches thanks kimi ### macOS For deeplinking: `UNUserNotificationCenter` + AppDelegate for responding to events Project favicons: Communication Notifications - am working on this ### Linux tbd
yindo added the web label 2026-02-16 18:09:42 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 2, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6847: [FEATURE]: Deeplink support for web UI - discusses deeplink integration for web UI
  • #10055: [FEATURE]: Add opencode deep link to the desktop app - requests deeplink protocol support for opening the app
  • #7242: [FEATURE]: Notification when plan/build is done! - requests system notifications when tasks complete
  • #213: [feature request] notifications - earlier feature request for notifications with agent feedback

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 2, 2026): This issue might be a duplicate of existing issues. Please check: - #6847: [FEATURE]: Deeplink support for web UI - discusses deeplink integration for web UI - #10055: [FEATURE]: Add `opencode` deep link to the desktop app - requests deeplink protocol support for opening the app - #7242: [FEATURE]: Notification when plan/build is done! - requests system notifications when tasks complete - #213: [feature request] notifications - earlier feature request for notifications with agent feedback Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8328