Commit graph

29 commits

Author SHA1 Message Date
Zaldimmar
f46deac3cc Image block: a dark theme picture; presented pictures centered
- 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>
2026-11-12 06:40:40 -06:00
Zaldimmar
a0eb9d7e49 Image block: a Size (small, medium, large), centered
- 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>
2026-11-12 05:58:49 -06:00
Zaldimmar
c4bb685bc0 Present: a list's slides picked on the setup screen, not the block
- 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>
2026-11-12 05:02:06 -06:00
Zaldimmar
ae06cd2b4f Blocks: Shown on the page, in the presentation, or both
- 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>
2026-11-12 04:59:11 -06:00
Zaldimmar
2282bee23c Present: list slides, centered people
- 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>
2026-11-12 04:57:08 -06:00
Zaldimmar
7e21a0dd40 Present: slide order, presentation settings, blocks drawn for a screen
- 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>
2026-11-12 03:41:06 -06:00
Zaldimmar
56a6e11655 Map block: sections of its own, shown one at a time
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>
2026-11-11 03:42:50 -06:00
Zaldimmar
06bf033448 Organizations block: its picker lists ministries too
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>
2026-11-11 03:32:01 -06:00
Zaldimmar
bd271ef02d Organizations block: the Partners page's cards, picked one by one or every one of a kind
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>
2026-11-11 03:23:58 -06:00
Zaldimmar
e9ea75a68d List block: bold text and a plain detail by default, with a Style to keep the old look
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>
2026-11-11 03:20:00 -06:00
Zaldimmar
8a79206998 Events block: featured events open in full above the cards, under a heading
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>
2026-11-11 02:57:26 -06:00
Zaldimmar
818d648e91 Venues, map blocks and event blocks; schedule entries link to them
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>
2026-11-09 03:21:18 -06:00
Zaldimmar
71d58318b6 Schedule tags: a block's own tags, tag tabs, chips, a tag filter and tag slides
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>
2026-11-03 02:04:06 -06:00
Zaldimmar
7885d10249 Schedule: entry types, picked times, striped rows, blocks in the presentation
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>
2026-11-02 23:15:53 -06:00
Aidan Dona
a10ff6d75f Rotating words: {Next|Now} in titles and text cycles through its choices
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>
2026-10-17 00:43:59 -05:00
Aidan Dona
14a22ca44d Video stills: Frame at on video blocks and the front page's video, and Tools > Video thumbnails (migration 074)
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>
2026-10-08 12:10:44 -05:00
Zaldimmar
07be48d770 Uploads: frame a photo before it goes (crop, zoom, position)
A photo field with a shape (crop: square for people, 16:9 for event
photos, covers and hero photos, the photo's own for block images and
schedule graphics) opens Frame the photo when a JPEG, PNG or WebP is
uploaded: drag or arrow keys to place it, a zoom slider, and a shape
menu. The framed part is drawn on a canvas and uploaded in place of
the original; Upload as is skips it. Logos, SVGs and GIFs go as they
are. No new dependency and nothing stored beside the picture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 16:21:26 -05:00
Zaldimmar
8d6bb8c2b8 Content blocks: Shown in the page, the card only, or both (migration 071)
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>
2026-10-06 05:27:33 -05:00
Zaldimmar
b55b088e16 Group pages: framed facts, tags for organizations and events, every website and email (migration 070)
- 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>
2026-10-06 04:58:56 -05:00
Zaldimmar
07c15ce96d Schedule presentation and map images for schedule entries (migration 069)
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>
2026-10-06 04:47:25 -05:00
Zaldimmar
33be618331 Captions for uploaded videos (migration 066)
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>
2026-10-04 21:55:05 -05:00
Zaldimmar
b8012c75e9 Video frame stills for featured cards; newsletter Pick from fix
- 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>
2026-10-04 21:35:08 -05:00
Zaldimmar
7c7cdaac14 People blocks and host teams
- A "People" content block: a team's members as people tiles, people
  picked one by one as items (each with a title), or both.
  content_blocks gains team_id (migration 054 rebuilds it for the
  type CHECK); a picked person rides on the item's person_id.
- An organization host can name a team (any organization's) to show
  in its place: event_hosts.team_id, carried by v_event_hosts. The
  event page reads "Hosted by" the team, linked to its page.
- Admin fields can show on `when: { path, filled: true }`.
- The showcase post has a people block; the past showcase event is
  hosted by the region shown as its team.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 20:26:26 -05:00
Zaldimmar
2ad65cdc15 Write the site in US English
color, center, canceled, labeled, recognize and the rest, in UI
text, help text, comments, docs and names (ColorInput, QrCenter).
Migration 053 renames the two Site settings color CHECKs, whose
names are the messages the admin shows. Kept: events.status's
stored value 'cancelled' (shown as canceled), aria-labelledby,
schema.org's EventCancelled, and old migrations as they ran.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 13:24:11 -05:00
Zaldimmar
9ff1cd6e99 Make link cards smaller, up to three in a row
One grid whatever the count, so a lone card takes a column rather than
the width. Also the Blog Posts request folder's name, as it is in Drive.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 23:21:48 -05:00
Zaldimmar
934598f954 Add a file library in Google Drive for pages to link to
Tools → Media → Files uploads PDF, Office (.docx, .xlsx, .pptx), MP3,
M4A and zip files, up to 50 MB, to the shared drive's Blog folder and
shares each as anyone with the link can view (migration 048). A file's
name and contents must agree.

Content block links get "Choose a file" (paragraph, button and image
links, list and link items, link cards). A link card also takes the
file's name and Drive's picture of its first page, fetched after
upload and saved into the image library; cards to Drive say "Google
Drive". Deleting a file says first what still links to it.

Setup and the nginx block: docs/google-drive-and-mail.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 18:37:15 -05:00
Zaldimmar
4e9b4e3329 Add link card blocks to post bodies
A "cards" content block: each item is a card with a picture, title and
description that links somewhere, like a link shared in a chat. Fetch
preview fills the card from the link. Migration 044 (not deployed yet)
now allows both table and cards.

Also fixes hidden-field clearing when two fields share a path, and adds
table and card blocks to the showcase post.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 15:40:24 -05:00
Zaldimmar
7f12824c93 Import a Word document as a blog post, and add table blocks
- Table content blocks (migration 044): a grid of text, a row per
  line, cells split by |, the first row the header; cells take the
  same formatting as a paragraph; wide tables scroll on a phone
- Blog posts -> Import from Word: the server reads the .docx (zip and
  XML read without a library, sizes capped) and creates an unpublished
  post through the CRUD engine: title, date, headings, paragraphs,
  lists, tables, bold, italic and links; the editor opens with a note
  of what came over and what didn't (images)
- docs/importing.md, and an nginx block for the upload

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 12:44:20 -05:00
Zaldimmar
e4a9c96f7e Finish the audit leftovers
- One mediaUrl in media.ts instead of 12 identical aliases and a
  kind map; orgPath builds on hrefs.ts's orgHref
- One Logo component (hides itself or shows a fallback when the file
  is missing) for event cards, org lists and chapter marks
- useHistory is a thin wrapper over useRecord
- adminSchema.ts split into adminSchema/, one file per entity plus
  shared.ts; the registry is unchanged (checked by loading both)
- JS smooth scrolls respect reduced motion (lib/motion.ts)
- Content-Security-Policy in Report-Only, with /api/csp-report logging
  what it would block

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 22:49:07 -05:00