- Privacy page: news opt-in per channel with history, download my data (JSON + PDF), correction and deletion requests - Bulk messages are an Event update or News & announcements; news only reaches people who opted in, with unsubscribe links, one-click List-Unsubscribe headers and "Reply STOP" on WhatsApp - WhatsApp STOP via WAWP's message webhook, checked against a secret in the webhook URL - Sign-up opt-in box; existing accounts kept opted in and asked once - Admin -> Data requests with 30-day due dates and a daily reminder job - Deleting an account is a request; anonymising now covers attendees, form answers, consent details, payer details in provider payloads, etc. - Unit tests (privacy.test.js) and e2e (privacy.spec.ts); docs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012mt6TCv85T9VKRq3cV7rXq
54 lines
2.9 KiB
TypeScript
54 lines
2.9 KiB
TypeScript
import React from "react";
|
|
import { Mail, Users, Zap, Send, Clock, ShieldCheck } from "lucide-react";
|
|
import { GuideItem } from "@/components/shared/GuideItem";
|
|
import type { HelpContent } from "./types";
|
|
|
|
/** Help content for /dashboard/supervisor/email-attendees. */
|
|
export const supervisorEmailAttendeesHelpContent: HelpContent = {
|
|
title: "Emailing attendees",
|
|
subtitle: "Reach attendees by event, or send a one-off broadcast.",
|
|
tabs: [
|
|
{
|
|
key: "attendees",
|
|
label: "Attendees",
|
|
icon: Users,
|
|
content: (
|
|
<div className="space-y-4">
|
|
<p>Pick an event and a template (Custom, Payment reminder, Event reminder, or Tickets-with-attachments), then edit the subject and body. Placeholders like <code>{"{{name}}"}</code>, <code>{"{{event.title}}"}</code>, <code>{"{{balance}}"}</code>, and <code>{"{{payment.link}}"}</code> are filled in per recipient.</p>
|
|
<div className="space-y-4">
|
|
<GuideItem icon={Users} title="Choosing recipients" tone="brand">
|
|
Recipients are pre-selected by their notification preference and payment-status filter — a warning shows if you select someone whose preference doesn't match email.
|
|
</GuideItem>
|
|
<GuideItem icon={Send} title="Preview, send, or schedule" tone="green">
|
|
Preview the recipient list before sending, send immediately, or pick a future date and time.
|
|
</GuideItem>
|
|
<GuideItem icon={ShieldCheck} title="Message type (POPIA)" tone="violet">
|
|
An <strong>Event update</strong> is about the event they registered for and goes to everyone selected. <strong>News & announcements</strong> (promoting events) only goes to people who opted in, and gets an unsubscribe link — the preview says how many were skipped. The next-event promo automation is always news.
|
|
</GuideItem>
|
|
</div>
|
|
</div>
|
|
),
|
|
},
|
|
{
|
|
key: "automation",
|
|
label: "Automations & Broadcasts",
|
|
icon: Zap,
|
|
content: (
|
|
<div className="space-y-4">
|
|
<div className="space-y-4">
|
|
<GuideItem icon={Zap} title="Automations" tone="amber">
|
|
Four canned lifecycle emails per event — a pre-event reminder, a final reminder, a thank-you, and a next-event promo — with send times auto-computed from the event's dates.
|
|
</GuideItem>
|
|
<GuideItem icon={Mail} title="Broadcasts" tone="violet">
|
|
Send to any selected users or pasted external addresses, independent of a specific event's attendee list. Broadcasts are News & announcements unless you choose Event update.
|
|
</GuideItem>
|
|
<GuideItem icon={Clock} title="Scheduled" tone="gray">
|
|
Review, edit, or cancel any email that's scheduled but not yet sent.
|
|
</GuideItem>
|
|
</div>
|
|
</div>
|
|
),
|
|
},
|
|
],
|
|
};
|