PhoenixKitWeb.Live.Notifications.Inbox (phoenix_kit v1.7.221)

Copy Markdown View Source

"My Notifications" — the current user's personal notification inbox.

Shows the full history of notifications addressed to the logged-in user (unlike the bell dropdown, which only shows the recent unseen ones), with per-row mark-seen / dismiss and a mark-all-seen action. Updates live over the user's PubSub topic, so a notification created elsewhere (another tab, the bell, another actor) appears without a refresh.

Access is gated by the base notifications permission (the admin live_session on_mount + @admin_view_permissions). The recipient is ALWAYS the scope's user — never taken from params/URL/PubSub — so one user can only ever see and act on their own notifications.