Skip to content

Components · Workflow

NotificationLog

Timeline of recent notifications with delivery status and retry affordances. Scoped by entity, event, or organization-wide.

Key points

  • Three scope modes: by entity, by event, or organization-wide (no scope prop)
  • Delivery status badges per channel — sent, delivered, failed, retrying
  • One-click retry on failed deliveries
  • Filter by channel(s) to focus on a specific delivery surface

Import

import { NotificationLog } from '@flexischeduler/scheduling-components';

Basic usage

<NotificationLog
  entityId="ent_pt_9001"
  channels={['email', 'sms']}
  onRetry={(notification) => api.retryNotification(notification.id)}
/>

Reference

Props

Name

Type

Description

entityId
string

Notifications sent to or about this entity

eventId
string

Notifications related to a specific event

channels
("email" | "sms" | "push" | "webhook")[]

Filter to specific channels

status
("sent" | "delivered" | "failed" | "retrying")[]

Filter by delivery status

showDeliveryDetails
boolean

default: false

Expand each entry to show delivery attempts and provider responses

maxEntries
number

default: 20

Max entries rendered

Events

Event

Payload

Fires when

onRetry(notification: Notification) => void

User clicked retry on a failed notification

onEntryClick(notification: Notification) => void

User clicked an entry (drill-down)

Slots

Slot

Description

empty

Rendered when no notifications match the filters

entry

Custom render for a single notification entry

Event-scoped

On an event detail page, scope to that event so users see only the relevant notifications:

<NotificationLog
  eventId="evt_b29f4e58"
  showDeliveryDetails
  maxEntries={10}
/>