Commit graph

318 commits

Author SHA1 Message Date
Zaldimmar
7d31b3eea8 Present: Copy link for the setup's current choices
- addressFor builds the playing address from the choices, for Play
  and the new Copy link at the bottom of the setup

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 06:42:40 -06:00
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
a59702b7f3 Present: a section's pictures left or right of its text, fitted
- Setup, per section with pictures and text: Pictures in the text,
  left of it or right of it (`pictures`), in a column beside the rest
- That slide shrinks to fit (Fit), measured again as pictures load

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 06:04:48 -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
c26e662406 Present: a callout slide without its tint and bar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 05:49:27 -06:00
Zaldimmar
c46a612226 Present: callout slides, Select all and Deselect all on the setup
- Setup, per callout block: a slide of its own, centered under the
  subheading above it (else the section's heading); Callouts seconds
- Select all and Deselect all over each list of the setup's checkboxes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 05:47:35 -06:00
Zaldimmar
afa95179ef Present: people roles picked on setup, an events list that fits
- Setup, per people block: each one's role or title under their name
  (`titles`)
- An events list slide: presenters under the titles, columns that
  flow, shrunk to fit rather than scrolled (Fit)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 05:32:09 -06:00
Zaldimmar
d58f630a8f Present: events picked on the setup screen, a titles list slide, people centered
- Setup, per events block: which events, and what's shown (list
  slide, picture, type and date, presenter, page content)
- An events block's list slide: titles and presenters as rows, not
  cards
- A slide of only people: title and photos centered both ways

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 05:20:42 -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
584340b0ee Present: the logo as a plain image, no dark mode plate, full size
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 04:40:19 -06:00
Zaldimmar
c35e65be63 Present: the logo in the screen's corner, not inset
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 04:34:30 -06:00
Zaldimmar
b76f2a5707 Present: dark theme settings, a Theme pick, and a content inset
- 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>
2026-11-12 04:14:14 -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
a79559d290 Admin preview: a map block's sections made as the API makes them
The preview handed MapBlock the form's sections (location_keys text),
so adding one crashed the page on section.keys. It now builds them as
shape.js does: keys the venue still has, empty ones dropped, the
venue cut to them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 03:45:43 -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
6a0271efd9 Map block: Google and Apple Maps buttons, a zoomable picture, links land at the map's top
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>
2026-11-11 03:04:14 -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
a7495f09e5 Event page: the photo fills the column, as the blocks do
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 02:48:26 -06:00
Zaldimmar
b8a744cf41 Event page: a contents list, a links heading, full-width blocks; schedule tags in their own row
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>
2026-11-11 02:44:57 -06:00
Zaldimmar
375c364861 Events block: a card opens the event in full, its own blocks too
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>
2026-11-09 04:31:34 -06:00
Zaldimmar
df8052c75e Present: the whole event page, in sections at its headings
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>
2026-11-09 03:41:21 -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
3d087da005 Present: scroll at seconds a screenful, the slide lengthened to fit
A long slide waits half its seconds, scrolls one screenful per Scroll seconds (setup, screen= in the address, default 8), then waits the other half. Pausing pauses the scroll.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 03:41:47 -06:00
Zaldimmar
d17e2596ba Present: a slide with more than the screen holds scrolls through it
The day overview, tag and block lists and the spotlight text hold, scroll to the end over the slide's seconds, then hold. The spotlight description is no longer cut at six lines. Reduced motion keeps them at the top.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 03:21:44 -06:00
Zaldimmar
b30f5f11fe Present: the tag filter's address key no longer collides with the tag slides' seconds
Both used 'tag', so on Play the seconds were read as the filter and every entry was cut.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 03:12:03 -06:00
Zaldimmar
edf0e0a177 Version: restore version.ts's characters, which the bump re-encoded
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 02:07:37 -06:00
Zaldimmar
d890efca2b Version v1.14.1-schedule
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 02:07:14 -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
274ffc26e0 Merge pull request 'v1.14.0-profiles: profile accounts, drafts, page management, Planning Center' (#32) from page-management into main 2026-10-28 07:00:09 +00:00
Zaldimmar
5ebc771272 Hero event card: photo always on top, words left and buttons stacked right from sm up
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 13:59:35 -05:00
Zaldimmar
8b741676f3 Page management: list pages with their id, so the admin home's page cards link to them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 18:14:41 -05:00
Aidan Dona
54fc319d33 TODO: page management is part of v1.14.0-profiles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 17:49:31 -05:00
Aidan Dona
e8aab4d7ec Planning Center: compare a People list with the site's people and apply what an admin picks
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>
2026-10-17 00:46:29 -05: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
ab8dcdd608 Page management: no Delete button on the core pages the server won't delete
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 00:37:35 -05:00
Aidan Dona
f1a0b06ac2 Page management, step 3: section types with their own settings; the front page as sections
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>
2026-10-17 00:34:56 -05:00
Aidan Dona
f33c0008fe Page management, step 2: the core pages as sections
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>
2026-10-16 23:24:34 -05:00
Aidan Dona
1342691f49 Page management, step 1: every page in a registry, new pages, hidden and disabled
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>
2026-10-16 23:19:54 -05:00
Aidan Dona
56acedf926 Featured event card beside the hero text; Word import: tabs, quotes, callouts, dividers, videos, buttons
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>
2026-10-16 20:43:25 -05:00
Aidan Dona
3b034eb00e v1.14.0-profiles: bump SITE_VERSION
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 20:20:04 -05:00
Aidan Dona
31afa889d6 Page features: directory and blog post tabs, image converter, version names
- 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>
2026-10-16 19:37:07 -05:00
Aidan Dona
a6c66d4607 Drafts of every record, previewed on the real page
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>
2026-10-16 18:21:53 -05:00
Aidan Dona
e4c7e165d1 Profile accounts: invites, any-Google sign-in, claiming People, visibility, Discord
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>
2026-10-16 18:14:30 -05:00
Aidan Dona
0cc2a3f721 Navigation in the admin: header and footer links, page titles, hidden pages, Shop
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>
2026-10-16 18:01:02 -05:00