import React from "react";
import { TrendingUp, Zap, Shield, Users, Calendar, BarChart2, Settings, CalendarClock, Search } from "lucide-react";
import { GuideItem } from "@/components/shared/GuideItem";
import type { HelpContent } from "./types";
/** Help content for the Admin dashboard root (/dashboard/admin). */
export const dashboardAdminHelpContent: HelpContent = {
title: "Admin dashboard help",
subtitle: "An overview of what's happening across all your events.",
quickLinks: [
{ label: "Manage users", href: "/dashboard/admin/users", icon: Users },
{ label: "Manage events", href: "/dashboard/supervisor/events", icon: Calendar },
{ label: "Reports", href: "/dashboard/supervisor/reports", icon: BarChart2 },
{ label: "Site Settings", href: "/dashboard/admin/settings", icon: Settings },
],
tabs: [
{
key: "overview",
label: "Overview",
icon: TrendingUp,
content: (
The top row and the sections below it summarise your events at a glance — no need to open Reports for a quick check.
What's on today — each event or session with how many people are checked in so far, children in at kids church, and volunteers here. Money in today and over the last week. "Waiting for you" lists what needs someone — unpaid registrations for the next two weeks, parental consent still outstanding, waitlists, cover requests and roster gaps (and for admins: cashups, payments to reconcile, privacy requests, failed webhooks); click one to deal with it. It refreshes every 30 seconds.
Press Ctrl K (⌘K on a Mac) anywhere in the dashboard, or use the button at the top: type a page, setting or report and press Enter, start an action like "New event", or find an event or a payment by amount ("R450") — admins also find people and registrations.
Active events, revenue, donations, registrations, and tickets sold — each covers a rolling 30-ish days (today back one month), compared against the equivalent month before that, for an apples-to-apples comparison.
A day-by-day revenue chart for the past month, and a ranking of your best-performing events by revenue, registrations, and tickets sold.
Today, past week, and past month totals — a quicker check than opening Reports for a simple "how much came in" question.
For a deeper breakdown, filters, and exports, use Reports instead — this page is a summary, not a substitute.
),
},
{
key: "actions",
label: "Quick actions",
icon: Zap,
content: (
The Quick actions grid is a shortcut to every admin tool — managing users and events, taking payments, scanning tickets, reports, messaging attendees, WhatsApp API setup, and post-event cashup.
),
},
{
key: "roles",
label: "Roles & permissions",
icon: Shield,
content: (
As an admin you can also open Supervisor and Staff tools — nothing is hidden from you. Other roles see less by design:
Sees the same financial overview you do (revenue, donations, top events), but can't manage users, WhatsApp API settings, or close out event cashups.
Scan-tickets and event-tickets tools only — no revenue or donation figures at all. That's intentional, not a bug, if a staff member asks why their dashboard looks different.
),
},
],
};