Commit graph

291 commits

Author SHA1 Message Date
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
b49497cc59 Merge pull request 'Cleanup: TODO.md, Claude settings and skills' (#31) from cleanup into main 2026-10-16 20:32:57 +01:00
Zaldimmar
5aad166054 TODO: the notes.txt items, each with questions to answer before building
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 14:29:40 -05:00
Zaldimmar
2b41b336f9 Skills: track design-taste-frontend once, in .agents, and add skills-lock.json
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 14:18:19 -05:00
Zaldimmar
bdec78010d Add TODO.md and the project's Claude settings and skills (graphify, design-taste-frontend)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 14:17:46 -05:00
2e6c8b45e6 Merge pull request 'Region featured cards, featured grid, video stills, media naming (v1.13.2-region-cards)' (#30) from region-featured-cards into main
Reviewed-on: #30
2026-10-16 20:13:16 +01:00
Zaldimmar
80b3036498 v1.13.2-region-cards: bump SITE_VERSION
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 14:10:35 -05:00
Aidan Dona
687ba898f6 Media: name files when saving, and rename them in the library (file and references)
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>
2026-10-08 15:47:30 -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
Aidan Dona
31d9f78120 Front page: set the featured cards' grid by hand, columns and a size per card (migration 073)
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>
2026-10-07 17:24:10 -05:00
Aidan Dona
910aef78b5 Region list: a closed row previews its featured cards, faded, with a Show featured button
The preview is the top of the cards fading out (a mask, so it works
over the backdrop in both modes); it's inert and hidden from screen
readers, and the button opens the row, moving focus to its toggle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 17:03:53 -05:00
Aidan Dona
2977168af5 Regions: featured cards in the region list and on the region's page (migration 072)
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>
2026-10-07 16:56:14 -05:00
1edc82fcf7 Merge pull request 'Feature updates: photo framing, group pages, schedule images, content block placement' (#29) from feature-updates into main 2026-10-07 22:52:58 +01: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
034ad95b8a Organization cards: logo first, the name under it as subtext
Most partners' logos carry their full name, so the logo leads, large
and centered, with the name as a small line under it (still the
card's heading). With no logo, its initials stand in. Cards sit raised
with a shadow and an accent top edge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 15:51:47 -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
96b96c3e6c Group map: state hover, state subheadings, entry cards, scroll on click only
Hovering a tile outlines that state in ink while its region stays lit.
The list groups each region's groups under their state's subheading,
each entry a raised card, and leaves out the region's list of states
(its map note stays). The list no longer follows hover; clicking a
state jumps to its subheading (or its region when it has no groups),
and clicking a legend region to that region.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 04:31:19 -05:00
Zaldimmar
915a7bb570 Side nav: size the pill as the pill it is, not an ellipse
rounded-full draws straight sides with round ends, but its height was
worked out for an ellipse, so a narrow window made it about three times
the list's height, running down over the content.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 04:28:45 -05:00
Zaldimmar
de6d70a0d0 Event cards: clip sideways only, so the past events button isn't cut off on hover
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 04:14:48 -05:00
970730de20 Merge pull request 'v1.13.1-data: links/redirects, captions, partner picks, Plausible reports, migration baseline' (#28) from data into main 2026-10-06 10:10:56 +01:00
Zaldimmar
e996462231 v1.13.1-data: bump SITE_VERSION; drop comments from index.html
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 04:10:31 -05:00
Zaldimmar
5de3cae599 Redirects: still redirect when site.json can't be read
Only the Plausible report is skipped, with a warning, instead of the click failing with a 500.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 02:03:14 -05:00
Zaldimmar
0eea9ba13b Links/redirects: Copy link on a saved redirect
A manifest's idLink gives a saved record's own address, shown on its URL ID card with a Copy link button; redirects use it for the /go/ link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 00:48:33 -05:00
Zaldimmar
e060153798 Newsletter: Pick a redirect on every link field
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>
2026-10-05 00:39:52 -05:00
Zaldimmar
6289e7203f Links/redirects: /go/ short links with click counts, Plausible and UTM tags (migration 068)
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>
2026-10-05 00:37:26 -05:00
Zaldimmar
3fafd7f92c Docs: newsletter colors are pickers now
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 23:29:01 -05:00