import React from "react";
import { Calendar, ListChecks, Layers, FileText, Eye, Bell, Paperclip, Lock, MessageSquareHeart, CalendarDays, ClipboardCheck, Copy } from "lucide-react";
import { GuideItem } from "@/components/shared/GuideItem";
import type { HelpContent } from "./types";
/** Help content for /dashboard/supervisor/events. */
export const supervisorEventsHelpContent: HelpContent = {
title: "Managing events",
subtitle: "Create and edit events, ticket options, and forms.",
tabs: [
{
key: "overview",
label: "Overview",
icon: Calendar,
content: (
Search or toggle Include past / Show inactive (admin only) / Show closed to find an event, then tap "+ Add Event" or click a card to edit.
"Copy" on an event card opens the editor filled in from that event: details, campus, sessions, ticket options, variants and early birds, sections, the form, notifications, feedback questions, certificates and reminders. Set the New start at the top and every date moves with it — the end, the sessions, the registration deadline, early-bird deadlines and the feedback date. Check each step, change what's different this time, and save. Groups (rooms, buses, teams) are copied too, and for admins the planned costs. Registrations, coupons, attachments, kids check-in and volunteer roles are not.
An event that's been cashed up shows a banner and can't be edited — it must be reopened from Cashup first.
),
},
{
key: "wizard",
label: "The event editor",
icon: Layers,
content: (
Creating or editing an event walks through several steps:
Title, description, start/end times, registration deadline, go-live time, base price, picture, and a custom URL alias. With campuses on (Site settings → Campuses), also the campus — one campus, or All campuses for a church-wide event. Choosing a campus fills in its default location.
Choose "Multiple sessions" for one event on several dates — e.g. every Wednesday 18:30–20:30 for 5 weeks. Use the repeat pattern to create the dates, then edit any of them, add a label ("Week 1 — …"), a different location, or an extra date. People register and pay once and get one ticket for every session. Cancel a session (e.g. a public holiday) rather than deleting it once people have been checked in. Registration closes when the first session starts unless you turn on late joining.
For day passes or a drop-in class, set "How people book" to "Pick sessions", give sessions an optional capacity, and in Items & Pricing set a ticket to "Pick sessions (price per session)". People tick the sessions they want; each one is its own ticket. A ticket left on "All sessions" also shows the sessions to tick, but it's one ticket at one price — it then only scans on the sessions ticked.
Ticket options and stock, variants of each option, and early-bird pricing tiers. An optional staff price is charged automatically to Staff and above when it's lower than the normal price.
Group ticket options under named headings as shown on the public registration page.
Build a custom registration form — text, number, date, yes/no, statement, and heading fields, reorderable, optionally required before tickets are generated.
Hide the event, allow guest (no-account) registration, turn on named attendees (group tickets — each named person gets their own ticket and form), make it a youth event that needs parental consent for under-18s, turn on a waitlist for sold-out tickets, or toggle it active.
Choose which staff get registration, payment, and daily-summary emails for this event.
Upload downloadable files that appear on the public event page.
Send a feedback form automatically after the event: pick when (e.g. the morning after) and whether it goes to everyone who checked in or everyone registered. Questions can be star ratings, multiple choice, yes/no or text. Answers can be anonymous. Anyone who hasn't answered gets one reminder 3 days later. Results are in Reports → Feedback summary. Rating and multiple-choice questions can also be used on the attendee form.
For multi-session events: late joining (until which session, and a full, pro-rata or fixed late price for main tickets — pro-rata rounds to the nearest R10), the check-in window (the whole day of a session, or only from 2 hours before it until it ends), and reminders before each session. For any event: completion certificates — four designs, your wording and signature, and who qualifies. "Preview certificate" shows a sample.
When creating a new event, later steps unlock as you complete the ones before them; editing an existing event, or a copy, lets you jump to any step freely.
),
},
],
};