Skip to content

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

eventType
string

Filter the queue to one event type

entityId
string

Filter to entries for a specific entity

status
"pending" | "notified" | "fulfilled" | "cancelled"

default: "pending"

Status filter

showMatches
boolean

default: true

Show available matching slots inline per entry

maxEntries
number

default: 20

Max entries to render

Events

Event

Payload

Fires when

onPromoted(entry, event) => void

Entry was fulfilled with an event

onNotified(entry) => void

Entry was notified about availability

onCancelled(entry) => void

Entry was cancelled