Skip to content

Platform

Notifications

An inbox behind a bell in the dashboard header, with email for important types. Admins can publish announcements that appear on a public changelog and as a dismissible banner.

What you get

  • Unread count, the latest ten, mark-read and mark-all
  • Email for chosen types, unless the user turns it off
  • Triggers for invitations, credits, plan changes and referrals
  • Announcements as info, feature or maintenance, with optional expiry
  • A public /changelog fed by announcements

Turn it on

  • Add a trigger by calling notify() where the event happens

Where it lives

  • lib/notifications.ts
  • app/(admin)/admin/announcements