docs: Website 1.0 plan decisions confirmed; full storage stops uploads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -354,7 +354,7 @@ Confirmed by Joshua on 2026-11-18 (1, 4, 5 and 6 asked directly; the rest as pro
|
||||
## Still open
|
||||
|
||||
- Whether the Website's admin edits the church profile through Accounts' API (as proposed in §7)
|
||||
or Accounts' own screen is the only place. Decide with the Website plan (phase 5). **Proposed in WEBSITE-1.0-PLAN (decision 10):**
|
||||
or Accounts' own screen is the only place. Decide with the Website plan (phase 5). **Decided 2026-11-21 (WEBSITE-1.0-PLAN decision 10):**
|
||||
through Accounts' API, live at once.
|
||||
- Session lengths (30 days with "Keep me signed in") are a starting point; check them with Joshua
|
||||
before release.
|
||||
|
||||
+2
-2
@@ -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.6.1`; [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 | **Released, deployed and tested** 2026-11-20 (below) |
|
||||
| 5 | Church Website 1.0.0 | **Planned** 2026-11-21: [WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md) (proposals 9–14 still to confirm). Not started |
|
||||
| 5 | Church Website 1.0.0 | **Planned** 2026-11-21: [WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md) (all decisions confirmed). Not started |
|
||||
| 6–7 | App 1.0.0 → App 1.x | Not started |
|
||||
|
||||
## Released 2026-11-20
|
||||
@@ -84,7 +84,7 @@ Everything up to and including the 2026-11-20 releases is deployed, rolled out a
|
||||
(VERSIONS.md, "Deployed / rolled out").
|
||||
|
||||
1. **Phase 5, Church Website 1.0.0** (ROADMAP §6, §9). Planned in
|
||||
[WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md): confirm its proposals 9–14, then build. Order:
|
||||
[WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md): decisions all confirmed 2026-11-21. Order:
|
||||
contracts 1.15.0 → Accounts 1.7.0 → Events 3.7.0 (shared fonts and footer) → Hub 2.11.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;
|
||||
|
||||
+4
-2
@@ -33,7 +33,7 @@ comes before the **Church Website** (§9, decision 38).
|
||||
[WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md): more room to customise each template, one Publish for
|
||||
the whole site after a clickable preview, Coming soon until then, a brand style and footer shared
|
||||
with Cross Events (3.7), and no address moves or redirects in 1.0 (§6, §9, §10, §11; decisions
|
||||
40–47).
|
||||
40–48).
|
||||
|
||||
---
|
||||
|
||||
@@ -725,7 +725,8 @@ charged **once per church**, not per product.
|
||||
Uploads are photos, documents and sermon notes. Sermon audio and video are linked (YouTube,
|
||||
Spotify, SoundCloud…) rather than uploaded, so most churches never need extra storage. Admins see
|
||||
how much they've used in the website's settings and get an email at 80%. Storage is counted per
|
||||
church and reported to the Hub, which bills the add-on.
|
||||
church and reported to the Hub, which bills the add-on. **When it's full, uploads stop** until more
|
||||
is bought (decision 48); what's already uploaded keeps showing.
|
||||
|
||||
### Church App: on active members
|
||||
|
||||
@@ -888,6 +889,7 @@ church's products, comes in a later release.
|
||||
| 45 | Moving to the church's own domain | **Not in Website 1.0**, and no Hub "Change address" job yet (§10, §11 "Moving addresses") |
|
||||
| 46 | Messages | **From a YouTube channel or playlist automatically** (latest video as the latest message), or **by hand** with a YouTube or Spotify link |
|
||||
| 47 | Feeling like one church | The **brand style and footer are shared**: the Website, Accounts' pages and **Cross Events 3.7**'s public pages use the church's fonts, corners and one `ChurchFooter`, with links between the products |
|
||||
| 48 | Full storage | Admins are emailed at 80% and 100%; at 100% **uploads stop** until more storage is bought (Get more storage asks the Hub; the new limit arrives with the licence) |
|
||||
|
||||
## Still open
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Church Website 1.0.0 — the church's own public site
|
||||
|
||||
Phase **5** of [ROADMAP-v3.md](./ROADMAP-v3.md) (§6, §9, §10, §11; decisions 19, 20, 40–47).
|
||||
Written 2026-11-21. Decisions 1–8 below were made by Joshua on 2026-11-21; 9–14 are proposed and
|
||||
still need his OK. Not started.
|
||||
Written 2026-11-21. **All decisions confirmed by Joshua on 2026-11-21** (12 changed: a full
|
||||
storage stops uploads). Not started.
|
||||
|
||||
**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
|
||||
@@ -280,9 +280,13 @@ Admin roles can require 2FA through Accounts (`acr_values=mfa`, ACCOUNTS-1.0-PLA
|
||||
default for Owner and Admin.
|
||||
|
||||
**Storage** (ROADMAP §10): 5 GB of uploads included. Settings shows what's used; admins get an email
|
||||
at 80% and at 100%. **Uploads keep working past 5 GB** and the Hub bills the next 5 GB step from the
|
||||
heartbeat's `storage.usedBytes` (proposed in decision 12), so a church is never stopped mid-week. An
|
||||
upload is only freed when neither the working copy nor the last 10 published versions use it.
|
||||
at 80% and at 100%. **When it's full, uploads stop** (decision 12) until more storage is bought:
|
||||
the media library and every upload field say so, with **Get more storage** (Settings → Storage).
|
||||
That asks the Hub, as Request update does, and the Hub emails Joshua. Once he adds a 5 GB step to the
|
||||
licence, the new limit reaches the site with the next heartbeat answer (within a minute or so) and
|
||||
uploads work again. Everything already uploaded keeps showing; only new uploads are refused. The
|
||||
limit is the licence's (5 GB plus the steps bought), never the site's own setting. An upload is
|
||||
only freed when neither the working copy nor the last 10 published versions use it.
|
||||
|
||||
## 11. Hub, licence and servers
|
||||
|
||||
@@ -291,7 +295,8 @@ upload is only freed when neither the working copy nor the last 10 published ver
|
||||
Accounts, installed first (as Events 3.x).
|
||||
- **Hub 2.11.0:** New install offers the Website; release sync for `website@` tags and
|
||||
`apps/website/WHATS-NEW.md`; its env template; the Website's price (R99) and the storage add-on
|
||||
(R20 per extra 5 GB) in `frontend/src/lib/tiers.ts` and `backend/src/utils/billing/tiers.js`, in
|
||||
(R20 per extra 5 GB, sent to the site with the licence as its storage limit, and the "Get more storage"
|
||||
request with its email to Joshua) in `frontend/src/lib/tiers.ts` and `backend/src/utils/billing/tiers.js`, in
|
||||
step with crosscode-site; the FastPanel email for `www.` (and the bare domain sent to `www.` with a
|
||||
301, for an own domain) or `<church>.crosscode.co.za`.
|
||||
- **`crosscode`:** `scripts/products/website.sh` with the same hooks as Events and Accounts (`website`
|
||||
@@ -326,7 +331,8 @@ upload is only freed when neither the working copy nor the last 10 published ver
|
||||
- **Unit (Jest):** section schemas and variants, the palette builder and contrast fixes, publish /
|
||||
discard / restore, pending change lists, preview tokens (expiry, revoke, no edit rights), roles
|
||||
(a Ministry leader can't publish or edit another ministry), the YouTube feed parser (channel,
|
||||
playlist, duplicates, a removed video), storage counting, uploads kept by older versions.
|
||||
playlist, duplicates, a removed video), storage counting, uploads refused when full (and allowed again when the licence's limit goes
|
||||
up), uploads kept by older versions.
|
||||
- **Playwright, every template at phone / tablet / desktop:** the demo church's pages look right
|
||||
(screenshots compared), axe has no violations, the §11 checks (title, description, canonical,
|
||||
`og:image`, one `<h1>`, JSON-LD parses, sitemap, `robots.txt`, `noindex` where it should be).
|
||||
@@ -371,14 +377,16 @@ Made by Joshua on 2026-11-21:
|
||||
8. **The three products feel connected:** shared brand style and footer, and **Events 3.7** uses the
|
||||
shared fonts and footer on its public pages (§9).
|
||||
|
||||
Proposed, for Joshua to confirm:
|
||||
Proposed and confirmed on 2026-11-21 (12 changed):
|
||||
|
||||
9. **Simple events and messages publish on their own,** not with the site's Publish; YouTube messages
|
||||
appear automatically (§4, §7).
|
||||
10. **The Website's admin edits shared profile facts through Accounts' API,** and they go live
|
||||
straight away (§2). Answers ACCOUNTS-1.0-PLAN's "Still open".
|
||||
11. **Editors can publish; Ministry leaders' changes wait** for an Editor or above (§10).
|
||||
12. **Uploads keep working past 5 GB,** and the Hub bills the next storage step (§10).
|
||||
12. **A full storage stops uploads** until more is bought (admins emailed at 80% and 100%; "Get more
|
||||
storage" asks the Hub; §10). Changed from the proposal, which let uploads carry on and billed
|
||||
afterwards.
|
||||
13. **Fonts are self-hosted** (no Google Fonts requests, for POPIA and speed), from a shared list of 8
|
||||
pairings (§3).
|
||||
14. **Coming soon is a real page (HTTP 200) with `noindex`,** not a 503 (§5).
|
||||
|
||||
Reference in New Issue
Block a user