Events 2.4.0 frontend, deploy and docs: Linked products, linked events, seo

- Site settings → Linked products (Connect, Show events from, Publish my
  events), help, command palette.
- Events from linked products on /events, the home and campus pages, and
  /events/linked/<product>/<id> (markdown with HTML off, canonical to the
  origin, no JSON-LD, not in the sitemap).
- Event page JSON-LD from @crosscode/seo; lib/eventSchema.ts removed.
- Readiness check for linked products' sync; e2e spec with a fake
  Church Website (not run yet: needs the e2e Postgres).
- crosscode: install and build the shared packages Events uses first
  (an older tag still builds as before); scripts/tests/events.bats.
- Release notes, changelogs, handovers, hub-protocol.md, and the plan's
  "Changes while building".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 12:58:50 +02:00
co-authored by Claude Opus 5.5
parent 8a930d07c6
commit 716d47242a
28 changed files with 929 additions and 130 deletions
@@ -1,5 +1,5 @@
import React from "react";
import { Building2, Palette, Bell, Mail, Scale, MessageCircle, LayoutDashboard, Timer, Play, CreditCard, ArrowUpDown, KeyRound, ArrowUpCircle, MapPinned, Archive, Users, BellOff, Megaphone, Webhook, Send, BookOpen } from "lucide-react";
import { Building2, Palette, Bell, Mail, Scale, MessageCircle, LayoutDashboard, Timer, Play, CreditCard, ArrowUpDown, KeyRound, ArrowUpCircle, MapPinned, Archive, Users, BellOff, Megaphone, Webhook, Send, BookOpen, Link2 } from "lucide-react";
import { GuideItem } from "@/components/shared/GuideItem";
import type { HelpContent } from "./types";
@@ -174,6 +174,27 @@ export const siteSettingsHelpContent: HelpContent = {
</div>
),
},
{
key: "linked",
label: "Linked products",
icon: Link2,
content: (
<div className="space-y-4">
<p>Your church&apos;s other Cross Code products, such as the Church Website and the Church App. The Hub lists them here by itself (within 15 minutes of a new one being set up).</p>
<div className="space-y-4">
<GuideItem icon={Link2} title="Connect" tone="brand">
&quot;Connect&quot; sets up a secure link with that product, so your events can show there and theirs here. Either side can connect or disconnect; the other side shows who did it.
</GuideItem>
<GuideItem icon={Megaphone} title="Publish my events" tone="green">
On by default: your connected products can show your public events, as they appear on your events page, with a link back here to register. Hidden events, people&apos;s details and children&apos;s details are never shared. Registrations and payments always stay in Cross Events.
</GuideItem>
<GuideItem icon={Send} title="Show events from a product" tone="gray">
Tick it to show that product&apos;s events on your events pages, marked as coming from it. They&apos;re fetched every 15 minutes (straight away when they change), and can only be changed where they come from. If that product can&apos;t be reached, its last events keep showing and this tab says when it last synced.
</GuideItem>
</div>
</div>
),
},
{
key: "jobs",
label: "Background jobs",