This repository has been archived on 2026-11-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
hope-events/frontend/src/content/help/staff-ticket-scanning.tsx
T
joshuaandClaude Opus 5.5 39558577f7 Add multi-day events (frontend), attendance register and certificates
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>
2026-10-22 14:53:39 +02:00

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&apos;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&apos;ll see Success (with redeemed/remaining counts), Already Used, or an Error if something&apos;s wrong with the ticket.
</GuideItem>
<GuideItem icon={WifiOff} title="Offline mode" tone="amber">
Worried about the venue Wi-Fi? While you&apos;re online, pick the event and section and tap &quot;Enable offline mode&quot;. 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&apos;re back online. Tickets bought after the download won&apos;t be on your list — send those people to the door desk. Tap &quot;Release section&quot; when you&apos;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&apos;s session automatically (pick another under &quot;Session&quot; if you need to). Scanning the same ticket again for the same session shows &quot;Already checked in for …&quot;. 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&apos;s session.
</GuideItem>
<GuideItem icon={ShieldAlert} title="Parental consent" tone="rose">
On youth events, the confirm screen warns when a parent hasn&apos;t given consent yet (or declined). That person can&apos;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>
),
},
],
};