Supervisors can split an event's named attendees into allocation sets (rooms, small groups, buses) with capacity, gender and leader per group, using a drag-and-drop board or auto-allocate (keep bookings together or split them). Adds printable group and master lists (medical view audited), the group on tickets and in My Events, messaging by group, a "My groups" page for leaders, and an optional per-event gender question for named attendees. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
62 lines
3.3 KiB
TypeScript
62 lines
3.3 KiB
TypeScript
import React from "react";
|
|
import { BedDouble, Layers, Move, Wand2, Printer, Ticket, Users } from "lucide-react";
|
|
import { GuideItem } from "@/components/shared/GuideItem";
|
|
import type { HelpContent } from "./types";
|
|
|
|
/** Help content for /dashboard/supervisor/allocations. */
|
|
export const supervisorAllocationsHelpContent: HelpContent = {
|
|
title: "Rooms & groups",
|
|
subtitle: "Put attendees into rooms, cabins, small groups, teams or buses.",
|
|
tabs: [
|
|
{
|
|
key: "page",
|
|
label: "This page",
|
|
icon: BedDouble,
|
|
content: (
|
|
<div className="space-y-4">
|
|
<div className="space-y-4">
|
|
<GuideItem icon={Layers} title="Sets and groups" tone="brand">
|
|
A set is one way of splitting people up, such as "Rooms", "Small groups" or "Buses". An event can have several sets, and each person can be in one group per set. Groups can have a capacity, be for males or females only, and have a leader (a staff member).
|
|
</GuideItem>
|
|
<GuideItem icon={Move} title="Drag and drop" tone="green">
|
|
Drag people from "Not placed yet" into a group, between groups, or back again. A full group, or one for the other gender, won't take them. Allocation works per named person, so the event needs named attendees. Turn on "Ask each person's gender" if rooms are split by gender.
|
|
</GuideItem>
|
|
<GuideItem icon={Wand2} title="Auto-allocate" tone="violet">
|
|
Fills groups evenly with everyone not placed yet, respecting capacity and gender. "Keep bookings together" keeps people on the same booking (siblings) in one group where possible; "Split bookings" spreads them out (friends). People already placed stay where they are.
|
|
</GuideItem>
|
|
<GuideItem icon={Printer} title="Lists" tone="amber">
|
|
Print a list per group (with its leader) or one master list. On youth events you can include medical and emergency details from consent forms. Viewing those is recorded in the audit log.
|
|
</GuideItem>
|
|
<GuideItem icon={Ticket} title="On tickets" tone="rose">
|
|
Tick "Show on tickets" to print the group on each person's ticket and show it in My Events. To message one group ("Bus 2 leaves at 07:30"), pick it under Room / group on Email or WhatsApp attendees.
|
|
</GuideItem>
|
|
<GuideItem icon={Users} title="Leaders" tone="gray">
|
|
Group leaders see their people (with ages and parent contacts) under Staff → My groups. Medical details are only shown to supervisors.
|
|
</GuideItem>
|
|
</div>
|
|
</div>
|
|
),
|
|
},
|
|
],
|
|
};
|
|
|
|
/** Help content for /dashboard/staff/my-groups. */
|
|
export const staffMyGroupsHelpContent: HelpContent = {
|
|
title: "My groups",
|
|
subtitle: "Rooms, small groups and buses you lead.",
|
|
tabs: [
|
|
{
|
|
key: "page",
|
|
label: "This page",
|
|
icon: Users,
|
|
content: (
|
|
<div className="space-y-4">
|
|
<GuideItem icon={Users} title="Your people" tone="brand">
|
|
Everyone a supervisor has placed in a group you lead, with their age and a contact number (theirs, a parent's, or the person who booked). Supervisors also see medical details here.
|
|
</GuideItem>
|
|
</div>
|
|
),
|
|
},
|
|
],
|
|
};
|