Files
glenloch-media/src/app/(app)/training/guides/admin/page.tsx
T
bhursey 8601a6014f feat(training): captions under lesson images
Authors can now attach a caption to an image in the lesson editor; it is
sanitized as figure text and follows the image's alignment in the reader.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-21 00:45:32 +00:00

791 lines
36 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { Metadata } from "next";
import {
GuideCallout,
GuideFields,
GuideFigure,
GuideSection,
GuideShell,
GuideStep,
GuideSteps,
} from "@/components/app/training/guide";
export const metadata: Metadata = {
title: "Platform administration guide",
};
const SECTIONS = [
{ id: "before-you-start", title: "Before you start" },
{ id: "admin-hub", title: "The admin hub" },
{ id: "people", title: "People and access" },
{ id: "skills", title: "Skill levels" },
{ id: "positions", title: "Positions and requirements" },
{ id: "services-schedule", title: "Services and the schedule" },
{ id: "coverage", title: "Coverage and swaps" },
{ id: "run-sheets", title: "Run sheets" },
{ id: "messages", title: "Reminders and notifications" },
{ id: "email-settings", title: "Email and deployment settings" },
{ id: "backup", title: "Backup and restore" },
{ id: "content", title: "Announcements and training" },
{ id: "exports", title: "Print and CSV exports" },
{ id: "troubleshooting", title: "Troubleshooting" },
];
export default function AdminGuidePage() {
return (
<GuideShell
title="Platform administration guide"
audience="Admins"
intro="Everything needed to run the Media Team Hub: adding people, verifying skills, defining positions, building and publishing the schedule, handling swaps, preparing run sheets, and keeping email and backups healthy. Written for the church admin who is comfortable with ordinary web forms but is not a developer."
pdfHref="/training/media-team-admin-guide.pdf"
pdfLabel="Download admin PDF"
sections={SECTIONS}
>
<GuideSection id="before-you-start" title="1. Before you start">
<p className="text-sm leading-6">
The hub has three working roles. Your role decides which tabs and
buttons exist for you, so a missing control usually means a missing
permission rather than a broken page.
</p>
<GuideFields
rows={[
{
label: "Admin",
value:
"Everything, including the Admin tab, people management, skill verification, email credentials, and backup/restore. Only admins can open /admin.",
},
{
label: "Coordinator",
value:
"Dashboard, Coverage, schedule editing and publishing, events, run sheets, announcements, and exports. No Admin tab and no access to email or backup settings.",
},
{
label: "Volunteer / trainee",
value:
"Home, schedule, events and media they are assigned to, roster, training, announcements, profile, and settings. Trainees do not see the roster.",
},
]}
/>
<GuideSteps>
<GuideStep>
Open the site and sign in at <code>/login</code> with your username
(email by default) and password, or request a one-time sign-in link
by email.
</GuideStep>
<GuideStep>
After signing in you land on <strong>Schedule</strong>. Admins and
coordinators also see <strong>Dashboard</strong> and{" "}
<strong>Coverage</strong> in the navigation; admins see{" "}
<strong>Admin</strong> at the end of the rail.
</GuideStep>
<GuideStep>
Use the same account for desktop and phone. The layout adapts, and
the mobile tab bar scrolls horizontally when there are more tabs
than fit.
</GuideStep>
</GuideSteps>
<GuideCallout title="Two safety rules worth knowing now" tone="warning">
<p>
You cannot demote or delete the last active admin, and you cannot
delete a person who has scheduling history — deactivate them
instead. Both protections are deliberate; the app will explain the
refusal rather than silently changing the record.
</p>
</GuideCallout>
</GuideSection>
<GuideSection id="admin-hub" title="2. The admin hub">
<p className="text-sm leading-6">
<strong>Admin</strong> is one long page of cards, in the order you
normally use them: People, Skill levels, Positions &amp; requirements,
Services &amp; schedule, Reminder rules, Email delivery, Backup &amp;
restore, and Notifications. Changes save immediately; there is no
page-level Save button. Reload the page if another admin may have
changed something while you were working.
</p>
<GuideFigure
src="/training/screens/admin-overview.png"
alt="Top of the Admin page showing the People card and the Add a person form"
caption="The Admin hub. Each card owns one job, and each action reports its result inline."
/>
<GuideCallout title="Draft versus published" tone="note">
<p>
New service instances start as drafts. Volunteers only see the
week, and only receive assignment email, after you publish it. A
draft is safe to edit; a published week should be changed carefully
because people have already been told about it.
</p>
</GuideCallout>
</GuideSection>
<GuideSection id="people" title="3. People and access">
<p className="text-sm leading-6">
The People card is the church directory and the access control panel
at the same time. The table lists everyone, including pending and
deactivated accounts, with their role, status, phone, and actions.
</p>
<GuideFigure
src="/training/screens/admin-people.png"
alt="People card with the add-person form and the team table"
caption="Add a person at the top; approve, edit, deactivate, or delete from the row actions."
/>
<h3 className="pt-2 text-base font-semibold">Add someone</h3>
<GuideSteps>
<GuideStep>
Enter first name, last name, email, and optionally a phone number in
E.164 form (for example <code>+15551234567</code>).
</GuideStep>
<GuideStep>
Choose the role: <strong>volunteer</strong>,{" "}
<strong>trainee</strong>, <strong>coordinator</strong>, or{" "}
<strong>admin</strong>. Default to volunteer unless the person
genuinely needs scheduling or admin powers.
</GuideStep>
<GuideStep>
Leave <strong>Needs approval before signing in</strong> ticked when
you are not yet sure about the person. They will appear as pending
until you approve them.
</GuideStep>
<GuideStep>
Press <strong>Add user</strong>. The app shows a one-time sign-in
link; copy it and send it to the person through a channel you trust.
The link only works once the account is active.
</GuideStep>
</GuideSteps>
<h3 className="pt-2 text-base font-semibold">Approve or deny sign-ups</h3>
<p className="text-sm leading-6">
People can request access with their email. Pending rows show{" "}
<strong>Approve</strong> and <strong>Deny</strong>. Approving makes the
account active and lets the person set a password; denying keeps them
out but leaves the record for your notes.
</p>
<h3 className="pt-2 text-base font-semibold">Edit a person</h3>
<p className="text-sm leading-6">
<strong>Edit</strong> expands an inline panel. Save with{" "}
<strong>Save changes</strong> at the bottom of the panel.
</p>
<GuideFields
rows={[
{
label: "Profile",
value:
"First and last name, display name, email, username, phone, timezone, emergency contact, and free-form notes. Notes are for coordinators and admins.",
},
{
label: "Role and status",
value:
"Change the role or set the account status (active, invited, pending approval, denied, inactive). Use deactivation for someone who has left the team.",
},
{
label: "Login & password",
value:
"Set a temporary password directly, or create a reset link valid for one hour. Setting a password does not change the role or status.",
},
{
label: "Emergency sign-in",
value:
"Show a magic link to copy, or resend it by email. Magic links expire after ten minutes and only work for active, non-deactivated accounts.",
},
{
label: "Skill levels",
value:
"Add a skill (it starts at none), change a level, mark someone as a mentor for a skill, or remove an entry. Higher levels should go through the Skill levels card so the assessment history is recorded.",
},
]}
/>
<GuideCallout title="Deactivate, do not delete" tone="tip">
<p>
Deactivating blocks sign-in but keeps the person’s assignment,
training, and audit history intact. Delete is reserved for accounts
created by mistake; the server refuses to delete anyone with
scheduling history and tells you to deactivate instead.
</p>
</GuideCallout>
</GuideSection>
<GuideSection id="skills" title="4. Skill levels">
<p className="text-sm leading-6">
The Skill levels card answers “who is signed off on what?”. Each row is
one person and one skill, with the volunteer’s own comfort rating, the
verified level, and the last date they served that skill.
</p>
<GuideFigure
src="/training/screens/admin-skills.png"
alt="Skill levels matrix with a verified level filter and verify controls"
caption="Filter by verified level to find gaps, then verify from the row."
/>
<p className="text-sm leading-6">
The ladder is <strong>none → observer → assisted → qualified →
expert</strong>. Use the filter at the top to show only one level when
you are auditing a position.
</p>
<GuideSteps>
<GuideStep>
Find the person and skill, then open the verify control on that row.
</GuideStep>
<GuideStep>
Choose the new level. The app preselects the next rung, which is the
usual case.
</GuideStep>
<GuideStep>
Choose the assessment kind (for example admin, mentor, or practical)
and add a short note explaining the evidence.
</GuideStep>
<GuideStep>
Save. The change writes an audited assessment and moves the verified
level in one transaction.
</GuideStep>
</GuideSteps>
<GuideCallout title="Self-ratings are not yours to edit" tone="warning">
<p>
The comfort percentage is the volunteer’s own signal from their
profile. Verification changes only the verified level, so a
coordinator cannot quietly rewrite how confident someone feels.
</p>
</GuideCallout>
</GuideSection>
<GuideSection id="positions" title="5. Positions and requirements">
<p className="text-sm leading-6">
A position is a seat on a service — Audio, Livestream, Slides, and
anything else you add. The table shows seats, call time, required
skills, and whether the position is active.
</p>
<GuideFigure
src="/training/screens/admin-positions.png"
alt="Positions and requirements card with the position table and editor"
caption="Edit requirements opens an inline editor for one position at a time."
/>
<GuideFields
rows={[
{
label: "Seats",
value:
"How many people the position needs per service. The schedule creates that many slots for each instance.",
},
{
label: "Call time",
value:
"Minutes before the service that the team should arrive. Negative values mean before; “at start” means no offset.",
},
{
label: "Skill",
value:
"Each requirement names a skill. Add every skill that should count when ranking candidates.",
},
{
label: "Weight (1–5)",
value:
"How strongly the skill influences the ranking score. Reserve 5 for skills that genuinely decide who can do the job.",
},
{
label: "Required level",
value:
"The minimum verified level, or “no threshold” when any level is acceptable. A required level is enforced when candidates are ranked.",
},
{
label: "Core",
value:
"A core skill is non-negotiable. A position marked publishable must have at least one core skill; the server refuses to save it otherwise.",
},
]}
/>
<GuideSteps>
<GuideStep>
Press <strong>Edit requirements</strong> on a row.
</GuideStep>
<GuideStep>
Change an existing requirement, press <strong>Remove</strong> to drop
one, or <strong>Add skill</strong> to append another.
</GuideStep>
<GuideStep>
Leave <strong>Publishable</strong> ticked only when the requirement
set is complete enough to schedule against.
</GuideStep>
<GuideStep>
Press <strong>Save requirements</strong>. The whole set is saved
together, so what you see is exactly what is stored.
</GuideStep>
</GuideSteps>
</GuideSection>
<GuideSection id="services-schedule" title="6. Services and the schedule">
<p className="text-sm leading-6">
A service is the repeating template (for example Sunday 9:00 AM). An
instance is one dated occurrence of that template, and the schedule is
built from instances.
</p>
<GuideFigure
src="/training/screens/admin-services.png"
alt="Services and schedule card with the template form and service table"
caption="Create a template once, then generate the upcoming instances."
/>
<h3 className="pt-2 text-base font-semibold">Create a service template</h3>
<GuideSteps>
<GuideStep>
Enter a clear name (“Sunday 9:00 AM”, “Sunday 5:00 PM”), start time,
length in minutes, and location.
</GuideStep>
<GuideStep>
Press <strong>Add service</strong>. New templates use the weekly
Sunday recurrence by default.
</GuideStep>
<GuideStep>
Press <strong>Generate upcoming Sundays</strong> to create the
rolling window of instances. Generation is idempotent — running it
twice does not duplicate weeks.
</GuideStep>
<GuideStep>
Deactivate a template when it stops running. Existing instances are
untouched; future generation skips it.
</GuideStep>
<GuideStep>
<strong>Delete</strong> removes a template permanently — use it for
one you added by mistake. It only works while the template has no
published, past, or assigned instances; anything with history has
to be deactivated instead, so the schedule record survives.
</GuideStep>
</GuideSteps>
<h3 className="pt-2 text-base font-semibold">Build and publish a week</h3>
<GuideFigure
src="/training/screens/admin-schedule.png"
alt="Week schedule grid with role columns and assignment controls"
caption="The week view is the only editable lens; month and year are read-only overviews."
/>
<GuideSteps>
<GuideStep>
Open <strong>Schedule</strong>. The toggle switches between week,
month, and year; the arrows move one week, month, or year at a time.
</GuideStep>
<GuideStep>
In week view, each column is a position and each row is a service
instance. Press an empty seat to assign someone, or use the row
actions to clear a seat.
</GuideStep>
<GuideStep>
<strong>Auto-fill</strong> proposes ranked volunteers for the open
seats. Review every suggestion; the ranking respects skills,
availability, and conflicts, but it does not know the relational
context.
</GuideStep>
<GuideStep>
Press <strong>Publish</strong> when the week is ready. Publishing
queues assignment email and reminder rules for that instance.
</GuideStep>
<GuideStep>
Unpublish only when you intend to withdraw the week; volunteers may
already have received mail.
</GuideStep>
</GuideSteps>
<GuideCallout title="Hard and soft conflicts" tone="note">
<p>
A hard conflict blocks an assignment (already serving elsewhere in
the same service, a blackout, or a missing core skill). A soft
conflict is a warning you may override, such as exceeding a monthly
serving cap. The app shows which is which before you save.
</p>
</GuideCallout>
</GuideSection>
<GuideSection id="coverage" title="7. Coverage and swaps">
<p className="text-sm leading-6">
The Coverage dashboard summarises the next five weeks: filled and open
seats, unconfirmed assignments, pending people, and the queues that
need a coordinator. <strong>Coverage</strong> is the working queue for
swaps and outside requests.
</p>
<GuideFigure
src="/training/screens/admin-dashboard.png"
alt="Coverage dashboard with seat statistics and next-service summary"
caption="Dashboard: the health check you open before planning the next week."
/>
<GuideFigure
src="/training/screens/admin-coverage.png"
alt="Coverage page showing pending swap requests and the public intake queue"
caption="Coverage: approve a swap with a suggested replacement, release the seat, or convert a church request into an event."
/>
<h3 className="pt-2 text-base font-semibold">Handle a swap request</h3>
<GuideSteps>
<GuideStep>
Open <strong>Coverage</strong>. Each request names the volunteer,
the seat, and the service, with the reason they gave.
</GuideStep>
<GuideStep>
Review the ranked eligible replacements and their warnings. Pick
someone whose skills and availability fit, not just the top score.
</GuideStep>
<GuideStep>
Choose <strong>Approve with replacement</strong>. The original
assignment is cancelled, the new person is placed as a proposed
swap, and the seat stays covered. If the week is published, the new
person is emailed.
</GuideStep>
<GuideStep>
Choose <strong>Approve and release</strong> when nobody can take it.
The seat becomes open and the original assignment is cancelled but
kept in history.
</GuideStep>
<GuideStep>
Choose <strong>Decline</strong> if the request should not be granted;
the original volunteer stays on the seat.
</GuideStep>
</GuideSteps>
<GuideCallout title="The seat is never left in limbo" tone="tip">
<p>
A pending request does not remove the volunteer. They remain
responsible until you approve something, so the service always has a
named owner.
</p>
</GuideCallout>
<h3 className="pt-2 text-base font-semibold">Requests from outside the team</h3>
<p className="text-sm leading-6">
Ministry leaders can submit the public form at{" "}
<code>/request-coverage</code> without an account. Submissions are
rate-limited and appear under Coverage as new requests. Read the brief,
then either <strong>Create event</strong> (which opens an event with
the requester and ministry attached) or <strong>Decline</strong>. The
event is where you assign photographers and folders.
</p>
</GuideSection>
<GuideSection id="run-sheets" title="8. Run sheets">
<p className="text-sm leading-6">
Every service instance has one run sheet: speaker, message title,
stream and slides links, team notes, an ordered cue list, and a pre/post
checklist. Open it from the Home page’s next-serve card or from the
schedule/dashboard links.
</p>
<GuideFigure
src="/training/screens/admin-run-sheet.png"
alt="Run sheet editor with service details, cue list, and checklist"
caption="Coordinators and admins edit the sheet; every signed-in volunteer can tick checklist items."
/>
<GuideSteps>
<GuideStep>
Fill in speaker, message title, stream link, slides link, and notes
for the team, then press <strong>Save details</strong>.
</GuideStep>
<GuideStep>
Edit a cue’s time, title, or owner inline and press the save icon on
that row. Use the trash icon to remove a cue, or the add row at the
bottom to insert one.
</GuideStep>
<GuideStep>
Tick checklist items as they are completed. The sheet records who
ticked each item and when.
</GuideStep>
<GuideStep>
Add checklist items for this service with{" "}
<strong>Add pre-service item</strong> or{" "}
<strong>Add post-service item</strong>. Delete custom items you no
longer need.
</GuideStep>
<GuideStep>
Press <strong>Print</strong> for a clean booth copy with the app
chrome removed.
</GuideStep>
</GuideSteps>
<GuideCallout title="Defaults are seeded once" tone="note">
<p>
A new instance receives five standard cues and a seven-step
pre-service / four-step post-service checklist the first time the
sheet is opened. Deleting rows does not re-seed them, so the team can
shape a sheet without it resetting.
</p>
</GuideCallout>
</GuideSection>
<GuideSection id="messages" title="9. Reminders and notifications">
<p className="text-sm leading-6">
Reminder rules decide when assignment email goes out relative to the
service. They are data, not code: a change here affects the next
publish with no deploy.
</p>
<GuideFigure
src="/training/screens/admin-reminders.png"
alt="Reminder rules card with the add-rule form and rule table"
caption="Negative day values are before the service; the seeded Friday reminder is two days before."
/>
<GuideSteps>
<GuideStep>
Give the rule a short key (for example <code>friday</code>).
</GuideStep>
<GuideStep>
Set days from the service and the local send time. Use{" "}
<code>-2</code> for two days before, <code>0</code> for the day of.
</GuideStep>
<GuideStep>
Choose the channels: email, SMS, or both. SMS depends on the
deployment having an SMS transport configured.
</GuideStep>
<GuideStep>
Press <strong>Add rule</strong>. Disable a rule instead of deleting
it when you want to pause sends without losing the configuration.
</GuideStep>
</GuideSteps>
<h3 className="pt-2 text-base font-semibold">The notification log</h3>
<p className="text-sm leading-6">
Every message the app queues lands in the Notifications card, newest
first. Publishing and reminder rules write here; a background
dispatcher drains the queue.
</p>
<GuideFigure
src="/training/screens/admin-notifications.png"
alt="Notification log with statuses, recipients, and retry actions"
caption="Failed or suppressed messages can be re-queued after you fix the cause."
/>
<GuideFields
rows={[
{
label: "queued / sending",
value: "Waiting for the dispatcher. Normal shortly after a publish.",
},
{
label: "sent",
value: "Accepted by the configured transport, with a sent timestamp.",
},
{
label: "failed / suppressed",
value:
"The transport rejected it or preferences blocked it. The provider error is shown; press Retry after fixing the address or credentials.",
},
]}
/>
<p className="text-sm leading-6">
<strong>Send test email</strong> sends a message to the signed-in admin
through the configured transport. Use it before publishing a large
week and after changing Gmail settings.
</p>
</GuideSection>
<GuideSection id="email-settings" title="10. Email and deployment settings">
<p className="text-sm leading-6">
Outbound mail is sent through the team’s Gmail account with an app
password, so messages come from a real church address and land in
recipients’ normal inboxes.
</p>
<GuideFigure
src="/training/screens/admin-email.png"
alt="Email delivery card with Gmail address and app password fields"
caption="The app password is write-only: the saved value is never shown again."
/>
<GuideSteps>
<GuideStep>
Turn on 2-Step Verification for the Google account.
</GuideStep>
<GuideStep>
Create an app password in the Google Account security settings.
</GuideStep>
<GuideStep>
Paste the Gmail address and the 16-character app password here and
press Save. The password is encrypted at rest and never returned to
the browser.
</GuideStep>
<GuideStep>
Send a test email from the Notifications card to confirm delivery.
</GuideStep>
<GuideStep>
Use <strong>Disconnect Gmail</strong> only when switching transports;
mail then falls back to Postmark (if configured) or the console
outbox.
</GuideStep>
</GuideSteps>
<p className="text-sm leading-6">
On <strong>Settings</strong>, admins also see the From address, the
admin notification inbox, church timezone, and the media archive
destination with a readiness check. Change the From address only to a
mailbox the Gmail account is allowed to send as.
</p>
<GuideFigure
src="/training/screens/admin-settings.png"
alt="Settings page with church details and admin-only email and storage cards"
caption="Settings: deployment facts and the media storage destination, visible in full only to admins."
/>
</GuideSection>
<GuideSection id="backup" title="11. Backup and restore">
<p className="text-sm leading-6">
The backup ZIP contains the Postgres database, training and event
uploads, video derivatives, and the mounted NFS media archive,
including original videos. It does not contain the environment file.
</p>
<GuideFigure
src="/training/screens/admin-backup.png"
alt="Backup and restore card with download and restore controls"
caption="Download before upgrades or risky edits; restore only with a verified ZIP."
/>
<GuideSteps>
<GuideStep>
Press <strong>Download backup</strong> and wait for the ZIP to
finish. Large libraries can take a while.
</GuideStep>
<GuideStep>
Store the ZIP somewhere safe and keep the deployment’s{" "}
<code>NEXTAUTH_SECRET</code> with it — that secret decrypts stored
settings such as the Gmail app password.
</GuideStep>
<GuideStep>
To restore, choose the ZIP, type <code>RESTORE</code>, and confirm.
This replaces the database, uploads, and archive on this deployment.
</GuideStep>
</GuideSteps>
<GuideCallout title="Restore is destructive" tone="warning">
<p>
Restoring replaces current data; it is not a merge. Database changes
are transactional, so a failed SQL load leaves the database as it
was, but files and the archive are replaced as part of the restore.
Take a fresh backup first if the current state matters.
</p>
</GuideCallout>
</GuideSection>
<GuideSection id="content" title="12. Announcements and training">
<p className="text-sm leading-6">
Announcements and training lessons are authored in the app, so the team
does not need a deploy to publish news or a new how-to.
</p>
<h3 className="pt-2 text-base font-semibold">Announcements</h3>
<GuideSteps>
<GuideStep>
Open <strong>Announcements</strong>. Admins and coordinators see the
authoring form; volunteers see published posts only.
</GuideStep>
<GuideStep>
Write a title and message. Bodies are plain text, never HTML, so
pasted formatting will not run.
</GuideStep>
<GuideStep>
Keep <strong>Published</strong> ticked to make it visible, or untick
it to save a draft.
</GuideStep>
<GuideStep>
Use the row actions to publish/unpublish or delete a post.
</GuideStep>
</GuideSteps>
<h3 className="pt-2 text-base font-semibold">Training lessons</h3>
<GuideSteps>
<GuideStep>
Open <strong>Training</strong>. Admins get the New lesson form above
the published lessons.
</GuideStep>
<GuideStep>
Add a title and one-line summary, then build the lesson in the
content editor. Use headings for sections, numbered or bulleted
lists for procedures, and links for related pages.
</GuideStep>
<GuideStep>
Press the image button to upload a screenshot. Select the image to
align it left, center, or right, choose a width, add a caption shown
beneath it, edit its description, or move it up and down. You can
also drag the image to a new position in the lesson.
</GuideStep>
<GuideStep>
Set a sort order to control the list position. Lower numbers appear
first.
</GuideStep>
<GuideStep>
Publish when ready. Drafts are visible only to admins. If you add an
image before the first save, the app creates an unpublished draft so
the file has a lesson to belong to; finish and save normally.
</GuideStep>
<GuideStep>
Attach a PDF manual, Word document, Markdown file, or text file with
the file control beneath the lesson, then press{" "}
<strong>Attach</strong>. PDFs open in the browser and the other
formats download. Volunteers see documents at the end of the lesson;
admins can remove them.
</GuideStep>
</GuideSteps>
<GuideCallout title="The two long guides are built in" tone="tip">
<p>
The Platform administration guide and the Volunteer guide appear at
the top of Training as web pages with screenshots and as downloadable
PDFs. They are documentation for this deployment, not editable
lessons, so they stay consistent for every admin.
</p>
</GuideCallout>
</GuideSection>
<GuideSection id="exports" title="13. Print and CSV exports">
<p className="text-sm leading-6">
Three exports cover the notice board, the booth, and a spreadsheet.
</p>
<GuideFields
rows={[
{
label: "Printable roster",
value:
"Open /schedule/print from the dashboard or Coverage. It prints the current week grouped by service, with call times and confirmation state; the app chrome is hidden.",
},
{
label: "Schedule CSV",
value:
"GET /api/export/schedule downloads the assignments for a date range (four weeks by default). Useful for mail merges and planning.",
},
{
label: "Serving history CSV",
value:
"GET /api/export/history downloads completed and no-show assignments. Useful for annual reviews and fairness checks.",
},
]}
/>
<GuideFigure
src="/training/screens/admin-print.png"
alt="Printable weekly roster with services, roles, and call times"
caption="The print view is intentionally plain: no navigation, no controls, just the roster."
/>
</GuideSection>
<GuideSection id="troubleshooting" title="14. Troubleshooting">
<GuideFields
rows={[
{
label: "A volunteer cannot sign in",
value:
"Check status (active, not pending) and that the account is not deactivated. Set a temporary password or send a magic link from Edit. If they never set credentials, the magic link takes them to the welcome screen.",
},
{
label: "Email did not arrive",
value:
"Open Notifications and find the row. Failed/suppressed rows show the provider error and offer Retry. Confirm the recipient address and run Send test email. Check spam before resending.",
},
{
label: "A seat will not accept an assignment",
value:
"Read the conflict message. A blackout, missing core skill, or duplicate service assignment is a hard block and needs a different person or a corrected availability entry. A monthly cap is a soft warning you may override.",
},
{
label: "A week is not visible to volunteers",
value:
"Confirm the instance is published. Draft instances are hidden from the volunteer schedule and do not send assignment mail.",
},
{
label: "A coverage request disappeared",
value:
"Approving a release keeps the cancelled assignment as history, but clearing a seat directly from the schedule removes the assignment and its linked request. Check the schedule row and the audit trail before assuming data loss.",
},
{
label: "The Admin tab is missing",
value:
"Your role is coordinator or volunteer. Only admins see /admin; ask an admin to make the change for you.",
},
]}
/>
<p className="text-sm leading-6">
If something looks wrong, take a screenshot and note the time. Most
cards show the exact server error inline, which is far more useful than
“it didn’t work”.
</p>
</GuideSection>
</GuideShell>
);
}