Skip to main content
Back to changelog

In-app notifications

Pro Prisma and Pro Drizzle now include a user notification center and an admin workflow for targeted messages and broadcasts.

New featureImprovementTestingPro PrismaPro DrizzleMigration required

Both starter kits now include database-backed in-app notifications. Signed-in users can open a notification center from the application sidebar, switch between all and unread messages, mark messages as read and follow optional internal actions.

What changed

  • Added a notification model and migration with recipient, creator, read-state and chronological indexes.
  • Added a sidebar notification center with an unread count, all and unread tabs, optimistic read updates, empty states and recoverable loading errors.
  • Added an admin Notifications page for search, status and type filters, pagination, notification details and bulk deletion.
  • Added an admin send workflow for one active user or every active user.
  • Added information, success and warning notification types.
  • Restricted action URLs to safe internal paths before a notification is created or opened.
  • Kept user queries scoped to the authenticated user and administrative management behind the platform admin procedure.

Verification

The Prisma and Drizzle applications were linted, format-checked, type-checked, unit-tested and built before release. The production deployments were verified against their exact repository heads, including authenticated dashboard and notification-center smoke tests.

Existing projects

New downloads include the feature. Existing projects must apply the included notification database migration before using the updated application code. The feature does not require a new environment variable.

Read the notification guide for Pro Prisma or Pro Drizzle.