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/supervisor-attendance.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

62 lines
3.4 KiB
TypeScript

import React from "react";
import { ClipboardCheck, MousePointerClick, Filter, FileSpreadsheet, Award, Send, Ban, ShieldCheck } from "lucide-react";
import { GuideItem } from "@/components/shared/GuideItem";
import type { HelpContent } from "./types";
/** Help content for /dashboard/supervisor/attendance. */
export const supervisorAttendanceHelpContent: HelpContent = {
title: "Attendance",
subtitle: "Who came to each session, and completion certificates.",
tabs: [
{
key: "register",
label: "The register",
icon: ClipboardCheck,
content: (
<div className="space-y-4">
<div className="space-y-4">
<GuideItem icon={ClipboardCheck} title="One row per person" tone="brand">
Every main ticket is a row, with a column for each session of a multi-day event (one &quot;Checked in&quot; column for a single-date event). A tick means they were scanned in for that session; a number is how many places of a group ticket were.
</GuideItem>
<GuideItem icon={MousePointerClick} title="Fixing a session" tone="green">
Supervisors can click a box to mark someone present (e.g. they were let in without a scan) or absent. Each change is recorded in the audit log. Closed events can&apos;t be changed.
</GuideItem>
<GuideItem icon={Filter} title="Finding people" tone="violet">
Search by name, email or phone. Filter to who completed, who didn&apos;t, or who missed the last two sessions — handy for a follow-up call.
</GuideItem>
<GuideItem icon={FileSpreadsheet} title="Export" tone="amber">
Download the register as Excel (with contact details) or a printable PDF. Cancelled sessions are left out.
</GuideItem>
</div>
</div>
),
},
{
key: "certificates",
label: "Certificates",
icon: Award,
content: (
<div className="space-y-4">
<div className="space-y-4">
<GuideItem icon={Award} title="Turning them on" tone="brand">
In the event wizard&apos;s Attendance step: pick one of four designs, the wording, who signs it, and who qualifies (every session, at least N sessions, or at least N%). They&apos;re issued automatically when the event ends.
</GuideItem>
<GuideItem icon={MousePointerClick} title="Issuing now" tone="green">
&quot;Issue now&quot; gives one to everyone who already qualifies. Use &quot;Issue anyway&quot; on a row to give one to someone who doesn&apos;t meet the rule.
</GuideItem>
<GuideItem icon={Send} title="Sending" tone="violet">
People can always download theirs from My Events. &quot;Send unsent&quot; emails or WhatsApps the ones not sent yet (as each person prefers); the event can also send them automatically.
</GuideItem>
<GuideItem icon={Ban} title="Revoking" tone="rose">
A revoked certificate stops showing as valid and is never issued again automatically. You can re-issue it by hand.
</GuideItem>
<GuideItem icon={ShieldCheck} title="Checking one" tone="amber">
Each certificate has a code and QR code. Anyone can check it at /certificates/verify/&lt;code&gt;, which shows only the name, event and dates.
</GuideItem>
</div>
</div>
),
},
],
};