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 reader (ReaderView.tsx) now reads an icon-only link's label, puts
a card's link on its first line or picture when it has no heading,
gives each item of a row of facts or links its own line, keeps line
breaks, skips what CSS hides, turns a form into one line saying it
can't be used there, shows empty table cells as "-", keeps section and
heading ids so #links land, and opens file links as files.
What it can't read draws its own text version (useReadingMode()):
the hero, pathfinder, front page history, event lists (every event,
past ones too), org lists and groups map (every region and group,
linked), history timeline (every year open), schedules (every day,
fold-outs included), people tiles (everyone, with details) and videos.
Also: org names are linked headings, heading levels fixed where cards
repeated their section's, Team pages lose the doubled "Members",
Giving links the treasurer's email and names Church Center.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Stats: one line per number, no longer stuck at 0 (the count waited
for the band to scroll into view, which the hidden page never
does); reduced motion shows the numbers at once too.
- Calendar: the next six weeks from today as a list (date, linked
title, time, type, place), wherever a calendar is drawn.
- Featured cards: a linked heading and its words each; a video card
links to its video.
- Countdown: left out, the retreats band shows the same event.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Reading mode: parts the page draws on their own lines get a space
between them, so words no longer run together; the column is 60rem
(was 42rem) and headings are bold in the display face.
- Local groups map scales to its column on a phone instead of holding
34rem and scrolling sideways.
- Group, region, partner and team pages drop their fixed back link
(records are reached from many pages); orgListHref is gone.
Not-found pages keep theirs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Reading mode is now a reader view (ReaderView.tsx): the page renders
hidden and its headings, paragraphs, links and described pictures
are written out in one column, with no header, backdrop or footer.
- Color blind modes swap all three color families (teal, green,
amber); palette hexes in components and CSS are now
var(--pal-<family>-<shade>) so the modes reach them.
- CLAUDE.md and docs/updating-data-in-code.md describe both.
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>
- Accessibility panel: the switch knob stays in its track; the panel
follows its button in the Tab order and opens on its first switch.
- Reading mode is the page as plain text: one column, no colors,
pictures, cards or motion; descriptions stay in place.
- Color blind mode (protanopia, deuteranopia, tritanopia, monochrome):
palette swaps chosen by simulation, applied to code, data and CSS
colors on public pages only. The newsletter uses the stored palette.
- Audit fixes: focus not hidden by the header, focus on page change
and in-page jumps, focus return for the menu, day list and people
details, labelled admin fields and dialogs, keyboard map tiles,
scrollable tables, and more.
- Calendar asks /events for its six weeks only (?from=&to=); carousels
take their 12 most recent past events (?past=12).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drag it, or focus it and use the arrow keys, Home and End; 320px
(a phone's view of the email) up to all but 360px of the parts list.
Remembered in the browser.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Social bar: a colored band of the site's platform icons, linked;
no links added shows the footer's (src/data/socialLinks.ts, shared)
- Icons are white and ink PNGs in public/email/, made from
PlatformIcon.tsx by scripts/email-icons.mjs (no SVG in Gmail/Outlook)
- Event countdown: a picture drawn by /api/countdown/<id>.png when the
email is opened (days, hours, minutes to local midnight in
America/Chicago; then happening now; then over), with a fixed line
under it as of copying
- The builder takes the whole window (useWideAdminPage('full'))
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A draft is one ordered list of parts (migration 060, newsletters.layout
as JSON), edited with the content block editor so any part can be
moved, copied or removed, each aligned left or center:
- header: words, a PNG/JPEG logo, band color or none
- title
- any email block; dividers take color, thickness and spacing
- picked items: events, posts or front page cards picked in order,
with the heading, its underline, the card bar and the button label
- footer: its lines and the line above
Colors come from the palette or none. 057's fixed fields and blocks
are dropped; that migration never reached a live database.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Event cards: lazy -640 photo, only nearby slides drawn, a counter
past 12 events, past grid paged with Show more
- Community map: search over list and grid, 12 per region then Show
all, list no longer redrawn on hover
- People tiles: one clip check for the list, Show all past 30
- Person pages: 6 events and posts then Show all; excerpts load only
the first paragraph
- Admin: filter box on long pickers and the QR select, options sent
per form, Media thumbnails from the small copy, debounced searches
that drop stale answers
- Pages show their last data while refreshing after the cache TTL
- Side nav stacks above page content (the carousel arrows)
- No event request button on National Retreats; request buttons take
their section's accent
- Version v1.11.1-audit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Security:
- docx unzip reads each part once (a repeated entry was a zip bomb)
- request files must be named for their type (no PDF named .html)
- team roster hidden when its organization is unpublished
- /people?ids= hides draft organizations, takes 200 ids
- v_events takes the first published host and reads event_hosts
directly (migration 059, plus an index on person_awards.event_id)
- group accounts refused while access groups are off; group sync
can't undo a superadmin's disable
- 64 KB body limit on login, feedback and csp-report
- Drive pick-up races no longer 500; random upload boundary
Scalability:
- /events filters by scope, host, status and type on the server;
Home no longer prefetches every event
- /organizations leaves out bodies and leadership; the map's group
panel fetches its own
- admin lists page with Show more and a real count
- content request record search and the newsletter's post list
ask the server
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stuck, the sun stays centered on the header's bottom left (no curving
back at the top) and becomes a quarter ellipse as tall as the list
needs. At rest it keeps 16px from the section's edge, taking the
least-tall ellipse that covers a tall list. The side nav shows from
2xl (1536px): narrower, a list of two-line titles is as wide as its
column and nothing inside it can cover it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Held by the column's width, the stuck circle's center moves down the
screen's edge until the list's corners are inside it, then off the
screen to the left (growing as much, so its right edge stays put).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stuck, it centers on the header's bottom left and grows to reach past
the list's far corner (never wider than the nav column), easing
between that and its starting place on the list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hovered and lit entries use their section's accent (as heading text),
the editors' nav keeping the link teal. The circle's leftward shift
stops at the heading's center, so short titles no longer pull it off
the heading.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Green and amber sections give it their palette's lightest shade, teal
and deep teal the teal one (the darkest in dark mode), the shades the
nav's text reads on, easing between them as the reader scrolls.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The nav column clipped on every side, cutting the circle off above
the first section line; it clips sideways only now. The circle keeps
its right edge inside the column, so a narrower window moves it off
the screen's left edge instead of cutting it at the content.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The circle centers on the list's measured box, so it stays on the nav
at any width, and the column clips it (overflow: clip, which keeps the
sticky layers sticking) so it never covers content.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The dropdowns opened on any focus inside, and a click leaves focus on
the link, so they stayed open after the pointer left; now only
keyboard focus (:focus-visible) opens them besides hover.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migration 058 turns the organization_details preset into the
section's own blocks and drops it from page_sections' CHECK. The side
nav is placed in the left margin beside the 72rem content, from 88rem
screens up, so sections stay where they'd be without it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tools → Newsletter saves drafts (migration 057: newsletters, with
content blocks owned 'newsletter'), adds blocks written for the issue
and an editable footer (no unsubscribe link: Mailchimp adds one), and
turns a draft into an unpublished blog post. The admin engine binds
child owner ids as text, so an auto-numbered record's blocks are
owned by '1', not '1.0'.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each page is now a list of sections edited in Admin → Pages: a title
(30 characters at most, for the side nav), URL ID, blurb and accent,
its own content blocks, and an optional preset (Community blog, groups
map, region list, partner cards, events, timeline, NGU's details).
Migration 056 seeds every page as the code drew it and moves the
Organization editor's blocks and volunteering into its sections. The
Community blog's settings move into the Community editor. The header,
footer and side nav read each page's sections from the API.
The admin engine reads and writes nested collections to any depth.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The header's second strip is gone: each top link drops down its
page's sections on hover or keyboard focus.
- Retreats, Community, Resources, Organization and History get the
admin editors' "On this page" column (SectionNav), sticky at the
left from lg up, with the section being read lit.
- Home's sections in the dropdown, mobile menu, footer site map, the
feedback form and the QR maker are the bands the front page is
showing, in its order and under its headings (navSections.ts,
frontPageBands.ts, which Home.tsx now draws from too).
- Resources comes before Organization in the nav and footer.
- The Organization page draws from its own editor's content.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>