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: (

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.

You'll see Success (with redeemed/remaining counts), Already Used, or an Error if something's wrong with the ticket. 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. 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. 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.
), }, { key: "filters", label: "Filters", icon: Filter, content: (

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.

Changing the event or section filter stops any scan in progress.

), }, ], };