Skip to content

Add unified notification system for app status messages - #428

Merged
tareqimbasher merged 1 commit into
mainfrom
feat/notifications
Jul 12, 2026
Merged

Add unified notification system for app status messages#428
tareqimbasher merged 1 commit into
mainfrom
feat/notifications

Conversation

@tareqimbasher

Copy link
Copy Markdown
Owner

Replace the ad-hoc toast utility and statusbar-owned message handling with a single pipeline that routes messages by semantic kind.

  • Reclassify AppStatusMessage by kind (Transient/Notice/Alert) and severity (Info/Success/Warning/Error), replacing priority and the persistent flag. Kind expresses intent - how long a message stays relevant and how much attention it demands - and the UI derives presentation from it.
  • Publish via kind-specific methods: PublishTransientAsync, PublishNoticeAsync, and PublishAlertAsync.
  • Add an SPA NotificationService that routes kinds to the status bar (Transient/Notice), sticky toasts (Alert), and a new Notifications pane with history and an unread badge.
  • Allow client-originated notifications via notify(), replacing ToastUtil.

Replace the ad-hoc toast utility and statusbar-owned message handling with a single pipeline that routes messages by semantic kind.

- Reclassify AppStatusMessage by kind (Transient/Notice/Alert) and severity (Info/Success/Warning/Error), replacing priority and the persistent flag. Kind expresses intent - how long a message stays relevant and how much attention it demands - and the UI derives presentation from it.
- Publish via kind-specific methods: PublishTransientAsync, PublishNoticeAsync, and PublishAlertAsync.
- Add an SPA NotificationService that routes kinds to the status bar (Transient/Notice), sticky toasts (Alert), and a new Notifications pane with history and an unread badge.
- Allow client-originated notifications via notify(), replacing ToastUtil.
@tareqimbasher
tareqimbasher merged commit b79b0af into main Jul 12, 2026
9 checks passed
@tareqimbasher
tareqimbasher deleted the feat/notifications branch July 12, 2026 00:51
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