Skip to content

Notification Banner

  • File: src/components/UI/NotificationBanner.svelte (+ src/features/notification/NotificationBanner.svelte)

Overview

A dismissable notice banner shown in the secure layout when the user has an active system notice (userSession.userInfo.notice). Rendering the notice lets the user tap/click to acknowledge it via markNotificationAsSeen.

Behavior

  • Rendered only when a notice exists.
  • Clicking the banner calls markNotificationAsSeen(noticeId) (src/features/notification/svc).
  • Uses a slide transition for show/hide.

Released under the MIT License.