Skip to content

feat(windows): implement native Windows toast notifications & opt-out alerting - #6876

Open
ranjank2alpha wants to merge 1 commit into
block:mainfrom
ranjank2alpha:feat/windows-toast-notifications
Open

feat(windows): implement native Windows toast notifications & opt-out alerting#6876
ranjank2alpha wants to merge 1 commit into
block:mainfrom
ranjank2alpha:feat/windows-toast-notifications

Conversation

@ranjank2alpha

Copy link
Copy Markdown

Summary

Windows users previously received zero native OS toast notifications for incoming messages and direct messages. This PR implements native Windows Action Center toast notifications and alert routing from the ground up.

Key Changes

  • Native WinRT Toast Dispatch: Delivers native Windows Action Center notifications for incoming DMs, thread replies, and channel messages.
  • WhatsApp-Style Opt-Out Alerting: Reliable notification model across channels and DMs (incoming messages always trigger OS alerts unless the channel or conversation is explicitly muted).
  • Decoupled Visual Dispatch: Clean separation of sound playback and visual toast dispatch, preventing audio flags or state transitions from dropping notifications.
  • Deep Link Activation & Routing: Clicking a toast notification brings the Buzz window to focus and navigates directly to the referenced message and conversation.
  • Process & AppUserModelID Registration: Proper COM/MTA threading initialization and shortcut AUMID registration for immediate Windows Action Center & Settings integration.

Validation

  • TypeScript Typecheck: \pnpm exec tsc --noEmit\ passed with 0 errors.
  • Unit Test Suite: \pnpm test\ passed all 5,664 tests across 81 suites (0 failures).
  • Rust Backend: \cargo check\ passed in \desktop/src-tauri\ with 0 errors and 0 warnings.
  • Packaging: Verified release build generation (\Buzz_0.5.20-1_x64-setup.exe).

@ranjank2alpha
ranjank2alpha requested a review from a team as a code owner August 26, 2026 12:02
ranjank2alpha pushed a commit to ranjank2alpha/buzz that referenced this pull request Aug 26, 2026
… alerting

- Add native Windows WinRT Toast Notifications using tauri-winrt-notification and windows COM bindings.
- Establish process-wide MTA and Start Menu shortcut AUMID registration for reliable Action Center delivery.
- Direct desktop notification permission checks to native backend for Windows.
- Decouple visual desktop toasts from sound-slot gating so DMs and channel messages toast reliably when desktop alerts are enabled.

Signed-off-by: ranjankai <ranjan@rkai.in>
@ranjank2alpha
ranjank2alpha force-pushed the feat/windows-toast-notifications branch from 6570c4e to 3ee42ce Compare August 30, 2026 10:59
@github-actions

Copy link
Copy Markdown

🔐 Codex Security Review

Status: review required for the current range.

The current range is eed74bde2f4797714335ac10c56c0b0244c1def4...3ee42cef5782f4f5b8fcadff1fb0f6713139153e.
A new review must complete for this exact range. When manual authorization
is required, a Block organization member must comment exactly
@buzz-security-review 3ee42cef5782f4f5b8fcadff1fb0f6713139153e to authorize a new review.
Any previous review applies only to its recorded range.

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.

2 participants