Check who is away by date, when colleagues are expected back, and who is covering.
Team Absence Roster · Preview
Loading widget…
Preparing integration examples…
Source under review
The source code and files will be available after this version passes review.
Idle
API contract
Props for integrating the React component in your app.
snapshotWhosOutSnapshot | null (optional)
Team name, optional team-local today, and daily absence records. Pass null for an unavailable schedule or omit for sample data.
indexnumber (optional)
Small stagger offset for the preview rows.
Data and integration
Preview
Customer Experience has four colleagues away on Friday, one on Monday, a confirmed empty Tuesday and an unavailable Wednesday.
Inputs
Provide a team label if useful, today in the team's time zone, and a days array. Each day has a local date, optional headcount and absences or null. Each person needs a stable id and display name. Optional fields are avatarSrc, scheduleLabel, returnsOn, statusLabel and coverage.
Source options
Expand your scheduling or HR feed into local calendar days in the team's time zone. Merge a person's partial-day records into one scheduleLabel when needed. Map status and coverage to labels suitable for the audience and publish a fresh snapshot when the schedule changes.
Actions
Use the dots, swipe or the keyboard to change dates. The preview starts on today, the first later date if today is missing, or the last available date when all are earlier. Without today, it starts at the first date. Open the full list for schedules, return dates and coverage names.
Integration requirements
Dates use YYYY-MM-DD without a time or offset. The widget sorts valid days and uses the first record for a repeated date or person ID. An absence row with a blank or missing ID or name makes that day's list unavailable. Pass absences: [] for a confirmed day with no absences, absences: null for an unavailable day, days: [] for no shared dates, or snapshot: null for an unavailable schedule. The count includes each person once, including partial-day absences. Headcount is shown when it is a positive whole number at least as large as the absence count. Supply returnsOn as the first expected day back, or omit it when unknown.