Campuses frontend, docs and e2e (1.43.0)
Site settings -> Campuses tab; campus picker in the event editor; campus filter and badges on the events list, public events page (remembered, starts on home campus) and reports/dashboards; /campus/<slug> pages and sitemap; home campus on the profile; "Everyone at a campus" in email and WhatsApp broadcasts. Help, FEATURES, SETTINGS, API docs, protocol doc (campusCount), handover and roadmap updated; campuses seeded for e2e. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React from "react";
|
||||
import { Building2, Palette, Bell, Mail, Scale, MessageCircle, LayoutDashboard, Timer, Play, CreditCard, ArrowUpDown, KeyRound, ArrowUpCircle } from "lucide-react";
|
||||
import { Building2, Palette, Bell, Mail, Scale, MessageCircle, LayoutDashboard, Timer, Play, CreditCard, ArrowUpDown, KeyRound, ArrowUpCircle, MapPinned, Archive, Users } from "lucide-react";
|
||||
import { GuideItem } from "@/components/shared/GuideItem";
|
||||
import type { HelpContent } from "./types";
|
||||
|
||||
@@ -32,6 +32,30 @@ export const siteSettingsHelpContent: HelpContent = {
|
||||
</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
key: "campuses",
|
||||
label: "Campuses",
|
||||
icon: MapPinned,
|
||||
content: (
|
||||
<div className="space-y-4">
|
||||
<p>For a church with more than one campus. Off by default — a church with one campus never sees campus fields anywhere.</p>
|
||||
<div className="space-y-4">
|
||||
<GuideItem icon={MapPinned} title="Turning campuses on" tone="brand">
|
||||
Tick <strong>Use campuses</strong>, then add each campus: its name, web address (its page is <code>/campus/…</code>), address, contact, colour and the default location for its events. The order you set is the order of every campus list.
|
||||
</GuideItem>
|
||||
<GuideItem icon={MapPinned} title="Events and the public site" tone="brand">
|
||||
Each event belongs to one campus, or to <strong>All campuses</strong> for church-wide conferences and camps. The events page gets a campus filter (remembered per visitor, starting on their home campus); a campus shows its own events plus the church-wide ones.
|
||||
</GuideItem>
|
||||
<GuideItem icon={Users} title="People and messages" tone="gray">
|
||||
People can choose a home campus on their profile. In Email and WhatsApp broadcasts, <strong>Everyone at a campus</strong> adds the people whose home campus it is — and, ticked, people who registered for its events in the last 12 months. News still only goes to people who opted in.
|
||||
</GuideItem>
|
||||
<GuideItem icon={Archive} title="Archiving, deleting, turning off" tone="amber">
|
||||
A campus with events can't be deleted — archive it instead: it disappears from filters and new events, and its events keep it. Turning campuses off hides everything campus-related; nothing is deleted, and it all comes back when you turn them on again.
|
||||
</GuideItem>
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
key: "branding",
|
||||
label: "Branding",
|
||||
|
||||
@@ -32,7 +32,7 @@ export const supervisorEventsHelpContent: HelpContent = {
|
||||
<p>Creating or editing an event walks through several steps:</p>
|
||||
<div className="space-y-4">
|
||||
<GuideItem icon={Calendar} title="Basic details" tone="brand">
|
||||
Title, description, start/end times, registration deadline, go-live time, base price, picture, and a custom URL alias.
|
||||
Title, description, start/end times, registration deadline, go-live time, base price, picture, and a custom URL alias. With campuses on (Site settings → Campuses), also the <strong>campus</strong> — one campus, or All campuses for a church-wide event. Choosing a campus fills in its default location.
|
||||
</GuideItem>
|
||||
<GuideItem icon={CalendarDays} title="Multiple sessions" tone="brand">
|
||||
Choose "Multiple sessions" for one event on several dates — e.g. every Wednesday 18:30–20:30 for 5 weeks. Use the repeat pattern to create the dates, then edit any of them, add a label ("Week 1 — …"), a different location, or an extra date. People register and pay once and get one ticket for every session. Cancel a session (e.g. a public holiday) rather than deleting it once people have been checked in. Registration closes when the first session starts unless you turn on late joining.
|
||||
|
||||
Reference in New Issue
Block a user