Archived
Event wizard: one date or multiple sessions with a repeat-pattern builder, and a new Attendance step (late joining and pricing, check-in window, session reminders, certificates with preview). Public pages show the schedule and late prices; the scanner picks today's session; new attendance register page, My Certificates, and a public verify page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
48 lines
3.1 KiB
TypeScript
48 lines
3.1 KiB
TypeScript
import React from "react";
|
|
import { QrCode, Filter, CheckCircle2, ShieldAlert, WifiOff, CalendarDays } from "lucide-react";
|
|
import { GuideItem } from "@/components/shared/GuideItem";
|
|
import type { HelpContent } from "./types";
|
|
|
|
/** Help content for /dashboard/staff/ticket-scanning. */
|
|
export const staffTicketScanningHelpContent: HelpContent = {
|
|
title: "Scanning tickets",
|
|
subtitle: "Validate attendees at the door with your camera.",
|
|
tabs: [
|
|
{
|
|
key: "how",
|
|
label: "How it works",
|
|
icon: QrCode,
|
|
content: (
|
|
<div className="space-y-4">
|
|
<p>Point your camera at a ticket's QR code. A preview checks it belongs to the selected event (and section, if set), then a confirmation screen shows the holder, ticket type, and remaining quantity — you can adjust the redeem quantity before confirming.</p>
|
|
<div className="space-y-4">
|
|
<GuideItem icon={CheckCircle2} title="Outcomes" tone="green">
|
|
You'll see Success (with redeemed/remaining counts), Already Used, or an Error if something's wrong with the ticket.
|
|
</GuideItem>
|
|
<GuideItem icon={WifiOff} title="Offline mode" tone="amber">
|
|
Worried about the venue Wi-Fi? While you're online, pick the event and section and tap "Enable offline mode". The section is locked to your device and its tickets are downloaded, so you can keep scanning with no connection. Scans sync automatically when you're back online. Tickets bought after the download won't be on your list — send those people to the door desk. Tap "Release section" when you're done. Tip: add this page to your home screen so it opens offline.
|
|
</GuideItem>
|
|
<GuideItem icon={CalendarDays} title="Multi-session events" tone="brand">
|
|
A ticket for an event with several sessions is checked in once per session. The scanner uses today's session automatically (pick another under "Session" if you need to). Scanning the same ticket again for the same session shows "Already checked in for …". Depending on the event, check-in is open the whole day of a session or only around its start time. Offline mode downloads the list for today's session.
|
|
</GuideItem>
|
|
<GuideItem icon={ShieldAlert} title="Parental consent" tone="rose">
|
|
On youth events, the confirm screen warns when a parent hasn't given consent yet (or declined). That person can't be checked in; a supervisor can override, and the override is recorded in the audit log.
|
|
</GuideItem>
|
|
</div>
|
|
</div>
|
|
),
|
|
},
|
|
{
|
|
key: "filters",
|
|
label: "Filters",
|
|
icon: Filter,
|
|
content: (
|
|
<div className="space-y-4">
|
|
<p>The Event filter defaults to events that ended within the last 12 hours — toggle it to see older events. If the event has sections defined, a Section filter restricts which ticket types are valid at this scan point.</p>
|
|
<p className="text-xs text-gray-500">Changing the event or section filter stops any scan in progress.</p>
|
|
</div>
|
|
),
|
|
},
|
|
],
|
|
};
|