Feedback page: results, responses, who hasn't answered, reminders (2.1.0)

- Supervisor -> Feedback (supervisors and admins, campus-scoped): every
  event's form with answered of asked, response rate, average rating and
  last reminder; per event the results per question (with the AI summary),
  each response, and on named forms who was asked and who has answered.
- Remind those who haven't answered (or one person on a named form): a
  fresh link, plus the form to anyone eligible who hasn't had it; nobody gets
  the form or a reminder twice within 24 hours. The 3-day job is unchanged.
- Anonymous forms show no names and no list of who has answered.
- FeedbackInvite.reminderCount (migration 20261103120000_feedback_reminders);
  access log action feedback_responses; help page; dashboard and Ctrl+K links.
- Roadmap: the AI helpers on the privacy pages are dropped; 2.1.0 is the
  feedback page.
- Tests: tests/feedbackPage.test.ts, e2e/feedback.spec.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-03 13:03:05 +02:00
co-authored by Claude Opus 5.5
parent c018772ded
commit 9dda0d1851
31 changed files with 2184 additions and 52 deletions
@@ -38,6 +38,7 @@ import { userFormsHelpContent } from "./user-forms";
import { kidsDeskHelpContent, kidsRoomsHelpContent, kidsSetupHelpContent, userKidsHelpContent } from "./kids";
import { staffVolunteersHelpContent, userServingHelpContent, volunteerRostersHelpContent } from "./volunteers";
import { seriesHelpContent } from "./series";
import { supervisorFeedbackHelpContent } from "./supervisor-feedback";
type HelpRegistryEntry = {
/** Unique, stable identifier for this guide. */
@@ -194,6 +195,11 @@ const REGISTRY: HelpRegistryEntry[] = [
matches: pathname => pathname === "/dashboard/supervisor/volunteers",
content: volunteerRostersHelpContent,
},
{
slug: "supervisor-feedback",
matches: pathname => pathname === "/dashboard/supervisor/feedback",
content: supervisorFeedbackHelpContent,
},
{
slug: "staff-volunteers",
matches: pathname => pathname === "/dashboard/staff/volunteers",
@@ -62,7 +62,7 @@ export const supervisorEventsHelpContent: HelpContent = {
Upload downloadable files that appear on the public event page.
</GuideItem>
<GuideItem icon={MessageSquareHeart} title="Feedback" tone="violet">
Send a feedback form automatically after the event: pick when (e.g. the morning after) and whether it goes to everyone who checked in or everyone registered. Questions can be star ratings, multiple choice, yes/no or text. Answers can be anonymous. Anyone who hasn&apos;t answered gets one reminder 3 days later. Results are in Reports → Feedback summary. Rating and multiple-choice questions can also be used on the attendee form.
Send a feedback form automatically after the event: pick when (e.g. the morning after) and whether it goes to everyone who checked in or everyone registered. Questions can be star ratings, multiple choice, yes/no or text. Answers can be anonymous. Anyone who hasn&apos;t answered gets one reminder 3 days later. See the answers and remind people yourself on the Feedback page (Dashboard → Feedback); Reports → Feedback summary compares events. Rating and multiple-choice questions can also be used on the attendee form.
</GuideItem>
<GuideItem icon={ClipboardCheck} title="Attendance" tone="green">
For multi-session events: late joining (until which session, and a full, pro-rata or fixed late price for main tickets — pro-rata rounds to the nearest R10), the check-in window (the whole day of a session, or only from 2 hours before it until it ends), and reminders before each session. For any event: completion certificates — four designs, your wording and signature, and who qualifies. &quot;Preview certificate&quot; shows a sample.
@@ -0,0 +1,56 @@
import React from "react";
import { BellRing, EyeOff, ListChecks, MessageSquareHeart, Pencil, Sparkles, Star, Users } from "lucide-react";
import { GuideItem } from "@/components/shared/GuideItem";
import type { HelpContent } from "./types";
/** Help content for /dashboard/supervisor/feedback. */
export const supervisorFeedbackHelpContent: HelpContent = {
title: "Feedback",
subtitle: "What people said after your events, and who still has to answer.",
tabs: [
{
key: "results",
label: "Results",
icon: Star,
content: (
<div className="space-y-4">
<p>Every event with a feedback form is listed, newest first: when the form went out (or goes out), how many answered and the average star rating. Open an event to see its feedback.</p>
<GuideItem icon={Star} title="Results" tone="brand">
Each question with its answers: the average and spread of star ratings, how many chose each option, and every written answer.
</GuideItem>
<GuideItem icon={ListChecks} title="Responses" tone="gray">
Each person&apos;s answers together, newest first. On a named form you see who gave them; looking at them is recorded in the access log.
</GuideItem>
<GuideItem icon={Sparkles} title="Summarise feedback" tone="amber">
On sites with AI, &quot;Summarise feedback&quot; gives the main themes, what people liked and what to improve. The answers are sent without names.
</GuideItem>
<GuideItem icon={Pencil} title="Changing the form" tone="gray">
&quot;Edit form&quot; opens the event&apos;s Feedback step. Once someone has answered, the questions can&apos;t change.
</GuideItem>
</div>
),
},
{
key: "reminders",
label: "Reminders",
icon: BellRing,
content: (
<div className="space-y-4">
<p>Everyone who hasn&apos;t answered gets one reminder automatically, 3 days after the form goes out. You can remind people yourself too.</p>
<GuideItem icon={BellRing} title="Remind those who haven't answered" tone="brand">
Sends each of them a new link by email or WhatsApp. It also sends the form to anyone who can have it but hasn&apos;t yet, for example someone who checked in after it went out. Nobody gets the form or a reminder twice within 24 hours.
</GuideItem>
<GuideItem icon={Users} title="People" tone="green">
On a named form, the People tab shows who was asked, who has answered and the reminders each person has had, with a Remind button for one person.
</GuideItem>
<GuideItem icon={EyeOff} title="Anonymous forms" tone="gray">
Answers aren&apos;t linked to anyone, and the page doesn&apos;t show who has or hasn&apos;t answered — on a small event that would give the answers away. You can still remind everyone who hasn&apos;t answered.
</GuideItem>
<GuideItem icon={MessageSquareHeart} title="Before it goes out" tone="amber">
A form that hasn&apos;t gone out yet has a &quot;Send now&quot; button instead.
</GuideItem>
</div>
),
},
],
};