Compare commits

...
Author SHA1 Message Date
joshuaandClaude Opus 5.5 ae604268e0 docs: Website 1.0 section variants per template (confirmed)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 08:13:20 +02:00
joshua ae122a664a Merge branch 'docs/hub-2.21-deployed' 2026-11-25 07:58:30 +02:00
joshuaandClaude Opus 5.5 62d9728b95 docs: Hub 2.21.0 deployed; hope-events archived, FastPanel ^~ /api/ done
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 07:58:30 +02:00
joshua ee129fbd87 Merge branch 'docs/hub-2.21' 2026-11-25 00:03:51 +02:00
joshuaandClaude Opus 5.5 10be55d261 docs: Hub 2.21.0 released (not deployed); website@1.0.0 next
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 00:03:51 +02:00
joshua ed97956a2f Merge branch 'docs/events-3.7-requires' 2026-11-24 23:52:54 +02:00
joshuaandClaude Opus 5.5 e79e5a11f9 docs: Events 3.7.0 requires Accounts 1.7.0
The WHATS-NEW heading now says "— requires accounts 1.7.0", so the Hub
shows the requirement and updates a church's Accounts before Events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:52:54 +02:00
5 changed files with 150 additions and 17 deletions
+3 -3
View File
@@ -7,9 +7,9 @@ and this project follows [Semantic Versioning](https://semver.org/).
## [3.7.0] - 2026-11-24
The church's look from its Accounts (docs/WEBSITE-1.0-PLAN.md §9). Works with any Accounts: the
brand style needs Accounts 1.7.0 (with an older one the pages keep their fonts and only the footer
changes). No migrations, no new settings.
The church's look from its Accounts (docs/WEBSITE-1.0-PLAN.md §9). **Requires Accounts 1.7.0**
(WHATS-NEW.md says so, and the Hub updates Accounts first) for the brand style. No migrations, no
new settings.
### Added
+1 -1
View File
@@ -12,7 +12,7 @@ Write for church admins, not developers: no environment variables, endpoints or
developer log is CHANGELOG.md. A tagged version without a section here shows "No details given".
-->
## 3.7.0
## 3.7.0 — requires accounts 1.7.0
- **Your public pages look like the rest of your church's sites.** With sign-in through your
church's Accounts, the event pages use the fonts and corner style picked under Accounts → Admin →
+6 -9
View File
@@ -1,6 +1,6 @@
# Handover — Cross Code, all products
Last updated: 2026-11-24. **The plan is [ROADMAP-v3.md](./ROADMAP-v3.md)** (decided 2026-11-03,
Last updated: 2026-11-25. **The plan is [ROADMAP-v3.md](./ROADMAP-v3.md)** (decided 2026-11-03,
decisions table near the end). This file says where each phase stands and what comes next.
Product-specific notes (where the code lives, known gaps) stay with each product: Cross Events'
are in [`apps/events/docs/HANDOVER.md`](../apps/events/docs/HANDOVER.md), and the Hub's are in
@@ -34,7 +34,7 @@ every release).
| 3 | Accounts 1.0.0 | **Released, rolled out and tested** (now `accounts@1.6.0`; [ACCOUNTS-1.0-PLAN.md](./ACCOUNTS-1.0-PLAN.md)) |
| 4 | Cross Events 3.0.0: sign-in through Accounts | **Released, rolled out and tested** (now `events@3.7.0`; [EVENTS-3.0-PLAN.md](./EVENTS-3.0-PLAN.md)). Churches sign in through their Accounts; crosscode-site `v1.6.0` deployed |
| 4+ | Running it: jobs from the dashboard, styled emails, .env from the Hub, sign-in health, the nightly people check; then frp config and one-product uninstalls, and the Hub's popups, pickers and port list | **Released, deployed and tested** 2026-11-20 and 2026-11-23 (below) |
| 5 | Church Website 1.0.0 | **Planned** 2026-11-21: [WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md) (all decisions confirmed). Font pairings confirmed 2026-11-24 (§3). `contracts@1.17.0`, `accounts@1.7.0` and `events@3.7.0` released 2026-11-24 (not yet rolled out); Hub 2.21.0 next |
| 5 | Church Website 1.0.0 | **Planned** 2026-11-21: [WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md) (all decisions confirmed). Font pairings confirmed 2026-11-24, section variants per template 2026-11-25 (§3). `contracts@1.17.0`, `accounts@1.7.0` and `events@3.7.0` released 2026-11-24, Hub `v2.21.0` 2026-11-25 (the Hub deployed 2026-11-25; the others not rolled out yet); `website@1.0.0` next |
| 6–7 | App 1.0.0 → App 1.x | Not started |
## Released 2026-11-23
@@ -101,14 +101,11 @@ out").
1. **Phase 5, Church Website 1.0.0** (ROADMAP §6, §9). Planned in
[WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md): decisions all confirmed 2026-11-21. Font pairings
confirmed 2026-11-24 (§3). Order: ~~contracts 1.17.0~~ → ~~Accounts 1.7.0~~ (both released 2026-11-24; Accounts
ships with contracts because it answers the new `church.update`) → ~~Events 3.7.0~~ (shared fonts and footer; released 2026-11-24) → **Hub 2.21.0** (the
plan said 2.13.0; the Hub has moved on since) → `website@1.0.0` → Hope Family Church → a second
ships with contracts because it answers the new `church.update`) → ~~Events 3.7.0~~ (shared fonts and footer; released 2026-11-24) → ~~Hub 2.21.0~~ (released
and deployed 2026-11-25; the plan said 2.13.0) → **`website@1.0.0`** → Hope Family Church → a second
church → crosscode-site 1.7.0.
2. **Archive `hope-events`** if it isn't yet (every install now reports 2.2.0 or later;
EVENTS-2.2-PLAN §7).
3. **FastPanel sites set up before Hub 2.10.0** need `location ^~ /api/` by hand, and so does the
Hub's own site ("FastPanel sites" above). Not yet recorded which are done: check each with
`curl -sI https://<domain>/api/health.png`.
Done (confirmed by Joshua 2026-11-25): `hope-events` is archived, and every FastPanel site set up
before Hub 2.10.0, and the Hub's own site, has `location ^~ /api/`.
## The VM test (2026-11-17)
+9 -3
View File
@@ -14,7 +14,7 @@ separately below; the two often differ.
| Accounts | `crosscode-platform` (`apps/accounts`) | **1.7.0** | `accounts@1.7.0` | 2026-11-24 |
| Server agent | `crosscode-platform` (`apps/agent`) | **1.5.0** | `agent@1.5.0` | 2026-11-23 |
| Contracts | `crosscode-platform` (`packages/contracts`) | **1.17.0** | `contracts@1.17.0` | 2026-11-24 |
| Cross Code Hub | `events-hub` | **2.20.0** | `v2.20.0` | 2026-11-23 |
| Cross Code Hub | `events-hub` | **2.21.0** | `v2.21.0` | 2026-11-25 |
| crosscode.co.za | `crosscode-site` | **1.6.1** | `v1.6.1` | 2026-11-23 |
| `crosscode` script | `crosscode-platform` (`scripts/`) | `main` | none | 2026-11-23 (last change: uninstall, export and purge one product of a church) |
@@ -37,11 +37,17 @@ need their own tags until something outside this repo depends on them.
## What each latest release was for
- **Hub 2.21.0 (2026-11-25):** New install offers the Church Website (Accounts first, at
`accounts.<its address>`); the FastPanel email sends a `www.` site's bare domain to `www.` with a
301. Extra Website storage is bought in 5 GB steps on the licence (Edit → Extra storage), sent to
the site as its limit (`limits.storageBytes`) and billed on the steps bought, no longer on usage.
Vendors contracts 1.17.0. **Migration:** `Licence.extraStorageSteps`. "Get more storage" comes
with the Website (contracts 1.18.0). **Deployed 2026-11-25.**
- **Events 3.7.0 (2026-11-24):** the public pages use the church's fonts, corners and the shared
church footer from its profile in Accounts (`GET /api/v2/church`, kept 10 minutes), with links to
its other sites in the header; `church.changed` from Accounts is now accepted (it answered 404
before). The dashboard and setup screens are unchanged. `@crosscode/ui` 0.3.0. No migrations.
The style needs Accounts 1.7.0. **Not deployed yet.**
Requires Accounts 1.7.0 (the Hub updates it first). **Not deployed yet.**
- **Contracts 1.17.0 + Accounts 1.7.0 (2026-11-24):** the first piece of the Church Website. Contracts:
the 8 font pairings, corner styles and template ids (`./style`), an optional `branding.style` on the
church profile, `church.update` (the Website changes shared profile facts), an optional `website`
@@ -217,7 +223,7 @@ you deploy one.
| What | Running | Since | Notes |
|------|---------|-------|-------|
| Hub | 2.20.0 | 2026-11-23 | Port list says what each port is for; hand-written frpc tunnels listed as taken; frps allow_ports checked against the port list (no migration) |
| Hub | 2.21.0 | 2026-11-25 | Church Website in New install; `www.` redirect in the FastPanel email; extra Website storage on the licence (migration `Licence.extraStorageSteps`); vendors contracts 1.17.0 |
| Agent on church-server1 | 1.5.0 | 2026-11-23 | Uninstalls one product of a church at a time |
| Agent on the central server | 1.5.0 | 2026-11-23 | Reads and changes frps's config from the Hub (no longer read-only; decision 35 superseded) |
| Cross Events (churches) | 3.6.1 | 2026-11-20 | Every install adopted onto the monorepo and signing in through Accounts |
+131 -1
View File
@@ -8,6 +8,9 @@ storage stops uploads). Not started.
2026-11-23 with other work). The 8 font pairings in §3 ("Font pairings") were **confirmed by Joshua
on 2026-11-24** (decision 15).
**Updated 2026-11-25:** the **section variants per template** in §3 were confirmed by Joshua
(decision 16).
**What the Website is:** the church's public site at `www.<church's address>` (or
`<church>.crosscode.co.za` on the Cross Code address), plus its admin at `/admin`. Admins sign in
through the church's Accounts. The church picks one of **four templates** and makes it its own with
@@ -210,6 +213,126 @@ files, slower), and very thin display faces (fail contrast at small sizes).
Events and Accounts keep the system fonts they use now, so Events 3.7 and Accounts 1.7 look the same
until an admin picks a pairing. `corners` missing means `soft`.
### Section variants per template (confirmed 2026-11-25)
Answers "Still open: the exact section variants per template". The rule from the table above stays:
**every template renders every variant**, so no choice is ever greyed out and switching template
never needs a fallback. What a template adds is (a) which variant each section **starts with**,
(b) which variants it **recommends** (shown first, marked "Suits Heritage"), and (c) **how it draws**
each one. Variant ids are stored on the section (`hero.variant = "photo"`), so like the font ids
they never change once released.
**Variant ids**
| Section | Ids |
|---|---|
| Hero | `photo` · `video` · `collage` · `split` · `text` |
| Service times and location | `panel` · `strip` · `map` |
| Welcome / introduction | `text` · `image-text` · `pastor` |
| Ministries | `cards` · `list` · `bands` |
| Team / leaders | `faces` · `list` · `featured` |
| Upcoming events | `cards` · `list` · `calendar` |
| Latest message | `video` · `card` · `compact` |
| Invitation | `banner` · `centred` · `image` |
The mission line (ROADMAP §6's homepage order) is a field of the Welcome section, shown above the
introduction in every variant, not a section of its own.
**Defaults and recommendations** (default first, then the other recommended ones; anything not listed
still works)
| Section | Heritage | Bold | Community | Clean |
|---|---|---|---|---|
| Hero | **`photo`** (framed), `split`, `text` | **`video`**, `photo`, `split` | **`collage`**, `photo`, `split` | **`text`**, `split`, `photo` |
| Service times | **`panel`**, `map` | **`strip`**, `map` | **`map`**, `panel` | **`strip`**, `panel` |
| Welcome | **`pastor`**, `text` | **`image-text`**, `pastor` | **`pastor`**, `image-text` | **`text`**, `image-text` |
| Ministries | **`list`**, `cards` | **`bands`**, `cards` | **`cards`**, `bands` | **`list`**, `cards` |
| Team | **`featured`**, `faces` | **`faces`**, `featured` | **`faces`**, `featured` | **`list`**, `faces` |
| Events | **`list`**, `calendar` | **`cards`**, `calendar` | **`cards`**, `calendar` | **`list`**, `calendar` |
| Latest message | **`card`**, `video` | **`video`**, `card` | **`card`**, `video` | **`compact`**, `card` |
| Invitation | **`centred`**, `banner` | **`image`**, `banner` | **`banner`**, `image` | **`centred`**, `banner` |
**How each template draws them**
- **Heritage** (traditional, single centred column, thin rules between sections):
`photo` sits *inside* a frame below the centred logo and navigation, never full-bleed; `video` is
framed the same way. `collage` is three framed photos in a row. `split` keeps the image in a
frame with text on the cream side. `panel` is the formal service-times panel with a double rule.
`cards` are bordered, square-ish, with serif titles; `bands` alternate within the column width
rather than full-bleed. `faces` are circular portraits with names in small caps. `calendar` is a
month list with dates set in the heading font.
- **Bold** (full-bleed, large type, sticky header): `photo` and `video` fill the screen with the
headline overlaid on a scrim (contrast checked against the image's dark-scrim colour, not the
photo); `collage` is an edge-to-edge mosaic. `split` is 50/50 full-bleed. `strip` is a coloured
band right under the hero. `bands` are full-bleed alternating image / text. `cards` are large,
image-led, with the title on the image. `faces` are tall portrait crops. `text` hero is a huge
headline on the primary colour.
- **Community** (cards, soft shapes, tinted backgrounds, faces prominent): `collage` is overlapping
rounded photos with a soft blob shape behind; `photo` gets a curved bottom edge. Every list-like
section prefers a card grid; `list` still exists but with rounded rows and small thumbnails.
`map` shows the map in a rounded card next to the times. `faces` are big, with role and a short
line. Sections alternate light and tinted backgrounds by default (Section colour `tinted`).
- **Clean** (small header, white space, narrow column, colour as accent): `text` hero is the church's
headline in large type with the service time underneath, no image needed. `photo` is shown
*below* the headline at column width, never behind text. `video` is a contained player, never
autoplaying as a background. `strip` is one line of text with a thin accent rule. `cards` are
borderless with a hairline separator. `collage` is a tidy three-image grid. `bands` become
stacked image / text pairs within the column.
**Headers** (the "Header" style setting)
| Template | Options (default first) |
|---|---|
| Heritage | **Centred** (logo above, navigation below) · Centred with a top bar (service time and Plan your visit) |
| Bold | **Transparent over the hero, solid on scroll** · Solid |
| Community | **Logo left, navigation right, Plan your visit button** · Same with a tinted bar |
| Clean | **Small, logo left, text navigation** · Small with navigation in a menu on every width |
Every header collapses to a menu button on phones; the transparent one only applies when the page
starts with a `photo`, `video` or `collage` hero (otherwise it's solid, so it never sits on white
text over white).
**Default homepage order** (the church can reorder, hide and show)
| Template | Order |
|---|---|
| Heritage | Hero · Service times · Welcome · Latest message · Ministries · Team · Events · Invitation |
| Bold | Hero · Service times · Welcome · Events · Latest message · Ministries · Invitation (Team hidden) |
| Community | Hero · Welcome · Service times · Ministries · Team · Events · Latest message · Invitation |
| Clean | Hero · Service times · Welcome · Events · Latest message · Invitation (Ministries and Team hidden) |
**Style defaults when a template is picked** (the church changes them afterwards)
| Template | Section colour | Spacing | Buttons | Images | Corners (if the profile has none) |
|---|---|---|---|---|---|
| Heritage | Light | Airy | Outline | Natural | `sharp` |
| Bold | Mixed with dark bands | Compact | Solid | Natural | `sharp` |
| Community | Tinted | Airy | Pill | Natural | `round` |
| Clean | Light | Airy | Outline | Natural | `soft` |
Corners and the font pairing are shared (roadmap decision 47), so picking a
template only *suggests* them when the profile has none; it never overwrites a church's existing
brand style without the admin saying yes ("Use Heritage's fonts and corners for all your sites?").
**Switching template** (§4, a pending change like any other):
- A section still on the **old template's default** moves to the **new template's default**, so a
church that never touched variants gets the new template's intended look.
- A section the church **chose a variant for** keeps it (every template draws every variant).
- The homepage order and hidden sections are kept if the church changed them; otherwise the new
template's default order applies.
- Style settings follow the same rule: untouched ones take the new template's defaults, changed ones
stay. The Publish screen lists what moved ("Hero: Collage → Text only, Clean's default").
**Blocks on custom pages** use the same ids where they overlap (image and text: `image-text`,
people cards: `faces` / `list` / `featured`, call to action: `banner` / `centred` / `image`); the
other blocks (text, gallery, quote, video, FAQ, map, divider) have one layout each, drawn in the
template's style.
**Checks per variant:** the Playwright screenshots and axe run (§13) cover **every variant in every
template** for the homepage sections (26 section variants × 4 templates × 3 widths = 312
screenshots), using the demo church, plus a run with each template's defaults for Lighthouse.
## 4. Drafts, preview and publish
Decision 2: **one Publish for the whole site.**
@@ -451,8 +574,15 @@ Confirmed on 2026-11-24:
`friendly`, `warm`, `modern`, three recommended per template. A church without one keeps
the system fonts in Events and Accounts; `corners` defaults to `soft`.
Confirmed on 2026-11-25:
16. **Section variants per template** in §3: every template draws every variant (26 variant ids,
fixed once released), with a default and recommendations per template; per-template headers,
homepage order (Bold hides Team, Clean hides Ministries and Team) and style defaults; picking a
template only suggests the shared fonts and corners; a template switch moves untouched sections
and settings to the new defaults and keeps the church's own choices.
## Still open
- The exact section variants per template: settled with the template designs, early in the build.
- Whether the App (phase 6) moves leaders, ministries and giving into `crosscode.church/1` or reads
them from the Website. Decide with the App plan.