The screen shows a code on its setup and with its controls. Anyone with
it can step, pause and jump through the slides, send the screen back to
its setup, or change the setup and play it there. Server-sent events,
held in memory (routes/present.js); X-Accel-Buffering: no, so nginx
needs no block of its own.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- media_dark (102): shown in place of the image while the site is
dark, the block's alt text and caption shared
- Present: pictures beside text centered on the slide's height, and a
section of only pictures centered both ways
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- image_size (101): blank the column's full width, else up to 20, 32
or 48rem, centered and never wider than the column
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Setup: Overview slide and A slide per item per list (`lists`), its
items ticked on and off when either is picked
- The block's two fields and 098's columns go (100)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- present_show (099) replaces present_hide: only on the page, or only
in the presentation, kept off the page and its contents list
- Blocks with the old Leave out ticked become Only on the page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A list block's Overview slide and A slide per item (098): its
items' text on one slide, and each item with its detail, centered
- Setup ticks a list's overview and items on and off; List overview
and List items seconds
- A presented people row is centered
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Event Presentation, dark theme (096): background image and color,
dim, accent, text color and logo for a dark screen; blank takes the
light one
- Setup's Theme holds a screen light or dark while it plays (`theme=`)
- Inset top, right, bottom and left (097), percent of the screen, so
the slides sit inside a frame drawn in the background image; with
any set the image is stretched to the screen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Setup's Order list: drag or move any slide; saved in the address
- A heading-only section titles the slides after it, no slide of its own
- Event Presentation settings (095): background image and color, dim,
frame, accent, text color, logo
- Blocks: Presentation text and Leave out of the presentation; map
blocks get a slide per section, map only, no details, location slides
- Presented, links are plain text, people a row of round photos and
names, organizations their logos
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migration 094 adds content_block_map_sections: a map block groups its
venue's locations for its page, eg. Main spaces, without changing the
venue. With sections the API cuts the block's venue to the locations
they hold, in their order; the list groups under their names, and
buttons (All, then each section) show one section's marks and rows.
A schedule's place links only when a map on the page shows it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The block picked from the `organizations` options, which leave
ministries out for pickers that link to a page. A card needs no page,
so the block has its own `block_orgs`, every kind.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migration 093 adds the 'organizations' block type (rebuilding
content_blocks for its CHECK, as 088 did), content_blocks.org_kind and
content_block_items.org_id. OrgListCards takes `nested` for a block:
no page gutter, names a level under the block's heading.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migration 092 adds content_blocks.list_style: blank is bold text and
a detail in the body color, 'plain' the plain text and gray detail
lists had before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migration 091 adds google_maps_url and apple_maps_url to
venue_locations, shown as buttons at the right of each location's
row. The picture zooms (1x to 4x) and scrolls in its box. A link to a
location now scrolls to the top of the map block, not the mark.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migration 090 adds heading and subheading to content_block_items. An
events block's item ticked Featured shows in full above the cards,
under its heading and subheading when set.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migration 089 adds show_contents and links_heading to events (Page
group in the editor). The content blocks fill the column, beside the
contents list when it shows. A schedule's tag tabs sit in a row of
their own under the days, with a note on what they do.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An events block's events bring their own page's blocks (one level
deep, so events listing each other stop there), photo and place. A
card opens the event under the cards: photo, type and date, title,
place, person host, its blocks (else its card text) and a link to its
page. Reading mode shows them all in full, and the presentation's
event spotlight shows its blocks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The presentation (now EventPresent) cuts the event's page into
sections at its Heading blocks: a section's text on one slide, then
its schedules' slides, a map block's map and each location lit up,
and an events block's grid and each event. One Present button on the
event page replaces the schedule's. Setup lists the sections, each
schedule's days and entries under its own; the address keys are now
skip and hide, numbered by schedule.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Data → Venues: a map picture with its locations marked as pins or
boxes (088). A Map block draws a venue with its locations listed;
a schedule names a venue and its entries pick a location, linking to
the map on the page with it lit up. Entries and sub-items can name
an event (a workshop) and take what they leave blank from it, and an
Events block shows event cards.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A schedule block gets its own tags (content_block_tags, migration 087):
a name, a color and whether it's a tab. Entries and sub-items pick them
from a checklist. Each tag is a tab after the days, gathering what it's
on from every day under the day's name; a tagged entry comes whole and
an untagged block brings only its tagged sub-items. Rows show their tags
as chips. The presentation can show only one tag's entries and adds a
slide per tag after the days.
Entries name a tag by a key the admin makes when the tag is added, so a
rename keeps them, since the block's rows are rewritten on every save.
For that the admin engine gets a function blank (fresh values for every
new row and copy, with a `seeded` column that doesn't count as input),
`lends` (a row's options for the collections nested in it) and a
checklist widget.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Entries get a type (normal, block, break, heading) and a Featured tick.
Times are picked (start, optional end) and shown as 7:00pm or 9:00 to
10:30am; the typed time stays as the override, so existing entries look
the same. A block holds sub-items (content_block_subitems, migration 086),
each with every entry field. Rows alternate a faint tint. The presentation
gets a Blocks slide (its own seconds) before each sub-item's spotlight,
and sub-items get their own checkboxes on the setup page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migration 085 adds people.pco_id and Site settings' list. Data ->
Planning Center fetches the list, suggests matches (linked, same email,
same name), shows each field that would change (Planning Center wins),
and applies the chosen links, updates and new unpublished people in one
transaction. Needs PCO_APP_ID and PCO_SECRET.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migration 084: site defaults for the motion (slide, flip, fade, type,
mirror), direction and seconds per word in Site settings, and a hero's
and a block's own. The hero's headline, section and band titles,
headings, paragraphs, callouts and quotes rotate; menus, tab titles,
search text and emails show the first word; less motion shows it still.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migration 083 gives the section types that need more than blocks their
own tables (hero, slides, countdown, stats, paths, featured cards, the
Community blog's slots, pinned posts and feeds) and turns the front page
into Home's sections: the hero, then its bands in order. Any section can
be hidden. The Front page editor, its tables and the Community page's
are gone; /api/front-page and /api/community-blog fold into the page's
sections (sectionData.js). The admin engine reads and writes a child
collection's own side tables and gated nested collections.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migrations 081 and 082: Feedback, Request, QR codes, Give, Privacy and
Terms become pages of sections. Their forms and embeds are section types
any page can use; Give's words and all of Privacy and Terms become blocks.
The privacy contact email is written into the policy and its setting goes.
Core pages keep their address and can't be deleted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migration 080 makes site_pages the list of every page: address, title,
intro, Hidden, Disabled (out of menus, sitemap and search) and card order.
site.json's pages and Navigation's page list move into it. Pages ->
Page management (one editor in place of six) makes new pages of sections
at any free address; the admin home opens Pages with a banner and a card
per page. A catch-all route draws whatever page is at an address; the
fixed pages take their words from the registry and can't be deleted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From lg up the featured event's photo sits beside its words, so the card
is about as tall as the hero text. Word import turns a 'Tab:' line into a
tab, the Quote and Intense Quote styles into quotes and callouts, '---'
into a divider, a lone video link into a video and 'Button: label' into
a button; Blog posts shows the whole mapping beside Import from Word.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Featured event badge: above the event's card from lg up, left out on phones
- Version names from the tag (The Region Cards Update) in the site and admin footers
- Tools -> Image converter (JPG, PNG, WebP in the browser) and Download as in Media
- People directory sections take several tags, a tab each (migration 078)
- Tab blocks split a blog post into tabs; contents follow the open tab (migration 079)
- The side nav sun fades out as the page scrolls into the footer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migration 077 keeps one draft per record of any entity. Saving a draft
checks it by applying it in a transaction that is rolled back; Preview
opens the record's page in a tab that sends X-Draft-Preview, and the
server answers those reads from a second connection holding the applied
draft, then rolls back, so nobody else sees it. Publish is the ordinary
save, which drops the draft. tx() now nests as a savepoint.
Also commits TODO.md: the answered questions, and parts 1 to 3 moved to
Done.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migration 076 adds a member role below viewer (the site and its own
profile, never the admin: /api/admin now needs viewer), invites, person
claims, a Discord link on accounts and people.hide_* switches. Public reads
of people go through v_people_public, which nulls hidden fields, and the
views that read people are rebuilt over it.
Admins invite an email from Data -> Profile accounts (link shown once,
emailed on request). The invitee sets a password or signs in with any
Google account under that email, asks to claim their People record, and
once approved edits it and chooses what shows at /account.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pages -> Navigation (migration 075) edits the header's pages and buttons
and the footer's links; navConfig.ts is now only the defaults. Page titles
and intros move there from Site settings. A hidden page answers Not found
below viewer (server and app) and is out of the menus and sitemap; signed
in, it shows with a bar. Adds a /shop page of sections, hidden, with its
header button.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every upload and save (Upload, Frame at, Video thumbnails, a clip's
Save to library) has a prefilled Name box; the name is also the
readable part of the file's name, plus a short random ending. Fetch
preview names its picture after the page. Rename on the Media page
changes both, moving the file and its small copy and pointing every
record that names it at the new path in one transaction.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Frame at (a still from a YouTube or Facebook video at a typed time)
now also fills a video block's still and the front page's new Video
still, which the hero shows before its featured video plays. Tools >
Video thumbnails takes one from any link, to download or copy into a
field. All go through the existing POST /api/admin/video-frame.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Front page editor: Featured Content > Columns (2, 3 or 4 across on a
wide screen) and a Size on each card (normal, wide, tall, large).
Blank keeps today's layout: 3 across, the first of three or more
large. Regions and the Community blog stay automatic.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A region owns featured cards like the front page does, set in its
editor (shown when Kind is region). They show in its row of the
region list when opened, and in a Featured section on its page.
featured_cards takes an 'organization' owner kind; the table is
rebuilt, and a region's cards go when it does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A card block also showed on the record's page (the pages printed the
card's paragraphs above the body), which the editor didn't say. Shown
in now offers The page, The card only, and The card and the page.
Every existing card block becomes both, so nothing on the site moves;
the pages no longer print card paragraphs, and a both block comes
with the page's blocks, in its place in the list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Email buttons went to the link's label, not its URL (splitLinks took
the label); they use the URL now, with or without mailto:.
- Every website and email row is listed, each with its own label,
instead of only the first.
- The facts at the top of an organization page sit in a framed card:
City, Part of <name> Region, Ministry, Meets, Since, and its tags.
- Tags (070): Data -> Tags (Online, In-Person to start) replace the
Online checkbox on organizations and events. Ticked records get the
Online tag; v_events reads the "online" tag as is_online, so the
calendar filter and place lines are unchanged. Tags show on the
record's page and on group entries in the Community map list and
grid. The map no longer keeps online groups off their state's tile.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A schedule block on an event page has a Present button, opening
/events/<id>/present in a new tab: a setup screen (days, entries,
seconds for each kind of slide) and then an endless full screen
slideshow of day overviews, entry spotlights with their person,
graphics and map images, its settings kept in the address so a
signage screen can bookmark it.
Schedule entries take a Map image (069), shown in the fold-out in place
of the Google map and as a slide in the presentation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Link fields with redirects: true get a list of Data > Links/redirects that fills in the short link's full address; the newsletter turns it on for its blocks' links and their items' links.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Data > Links/redirects (editors and up) makes short links on our
domain. GET /go/<id> counts the click, reports it to Plausible as a
pageview of /go/<id> (the visitor's browser and address, no key
needed), and redirects (302, no-store) with the link's UTM tags added
to the destination. Unknown ids fall through to the not-found page.
The editor can show a fixed lead-in in the URL ID box (idPrefix).
Vite proxies /go in dev. docs/redirects.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Partners section's preset gets "Cards: list" (partners by default,
ministries, or both) and an optional hand-picked list
(page_section_orgs, partners or ministries only, enforced by trigger)
that replaces it in its own order. /organizations takes kind=ministry
and ids=; the plain list still leaves ministries out. Ministry cards
link to their website only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
066_schema.sql is generated from the live v66 schema (checked identical
to the old migrations' result: every object, every table's columns);
066_seed.sql holds only what pages need: the single rows, event scopes,
home sections, site pages and their sections, the Musicians tag. Sample
content (hero words, paths, stats, the Organization address) is no
longer seeded. Both share version 66, so a database at v66 skips them;
one below v66 is refused and has to be brought up by 33be618 first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Video blocks get a Captions field and the hero a Video captions field,
each a WebVTT upload drawn as <track kind="captions" default> on a
video file. The media library takes .vtt (sniffed by its WEBVTT
header, kept as is, always in /uploads/captions/) with its own tab.
Newsletter parts leave the field out. nginx needs text/vtt in
mime.types: docs/media-uploads.md, step 5.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Daily (yesterday) and weekly (Mondays, last 7 days vs the 7 before)
summaries: visitors, pageviews, bounce rate, visit length, top pages
and sources. Each has its own switch in Site settings > Reports; off
until PLAUSIBLE_API_KEY and DISCORD_WEBHOOK_URL are set. Sent at 8:00
REPORT_TZ (default America/Chicago); analytics_reports keeps one a day.
node src/analyticsReport.js daily|weekly sends one by hand.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Image fields take frameFrom/frameWhen: "Frame at" saves a still from
the row's YouTube or Facebook link to /uploads/thumbnails/
(POST /api/admin/video-frame, grabFrame in clips.js). Used on video
featured cards.
- clock/parseClock moved to src/lib/clock.ts, shared with Video clips.
- Newsletter: new drafts no longer store source 'events' (the Pick from
select's blank choice), which showed as "events no longer exists";
older drafts load it as blank.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- People tags (062): Data → People tags (Musicians seeded); a person's
Directories repeater tags them and their Specialty line shows on
their tile. A People directory section preset shows a tag's first
12 and links to its full page, /directory/<tag>, with page meta and
a sitemap entry. Tiles' details panels show a person's links.
- Ministries (063): a new organization kind. A group picks its
ministry and its page says "Ministry: <name>", linked to the
ministry's website. Ministries have no public page, list, sitemap
or timeline entry, and aren't offered where a record links to its
organization. organizations is rebuilt for the kind CHECK.
- Organization contacts (064): Data → Contact types; a private
Contacts repeater on each organization (editors and up, readRole on
a child collection). Tools → Newsletter → Recipients filters them
by type, kind, region and published and downloads a Mailchimp CSV.
- A trigger refusing a save with a sentence is shown as that message.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The API adds Plausible's script to every page it serves, counting
under the hostname of site.json's url, so each deployment reports as
itself (nginx proxies /pa/ to the self-hosted Plausible). One script,
no npm tracker: it follows the app's page changes on its own.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New Event photo and Photo description (migration 061), shown whole
at the top of the event's page, as the front page's featured event,
on featured cards, in newsletter picks and as the share preview.
- The front page's featured event box is 16:9 (was 16:7).
- Card background is only the faded background of the event's card.
- Each event's photo starts as its card background, so nothing
changes on screen until it's replaced.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>