Components · Workflow
WaitlistManager
Waitlist queue UI for dispatchers and coordinators. Priority ordering, response timeouts, match-finding, and one-click promote-to-event.
Key points
- Renders the waitlist queue ordered by priority and time-on-list
- Per-entry match-finding via the /waitlist/pending/match endpoint
- One-click fulfill, notify, or cancel — all wired to the engine
Import
import { WaitlistManager } from '@flexischeduler/scheduling-components';Basic usage
<WaitlistManager
eventType="home_visit"
showMatches
onPromoted={(entry, event) => toast(`Promoted ${entry.id}`)}
/>Reference
Props
Name
Type
Description
eventTypestringFilter the queue to one event type
entityIdstringFilter to entries for a specific entity
status"pending" | "notified" | "fulfilled" | "cancelled"default: "pending"
Status filter
showMatchesbooleandefault: true
Show available matching slots inline per entry
maxEntriesnumberdefault: 20
Max entries to render
Events
Event
Payload
Fires when
onPromoted(entry, event) => voidEntry was fulfilled with an event
onNotified(entry) => voidEntry was notified about availability
onCancelled(entry) => voidEntry was cancelled