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>
This commit is contained in:
Aidan Dona 2026-10-17 00:46:29 -05:00
parent a10ff6d75f
commit e8aab4d7ec
12 changed files with 607 additions and 7 deletions

View file

@ -159,6 +159,16 @@ export const siteSettings = {
},
],
},
{
legend: "Planning Center",
fields: [
{
path: "pco_list_id",
label: "People list",
help: "The Planning Center list Data → Planning Center brings in: its number, from the list's address in Planning Center People, eg. 1234567. Needs PCO_APP_ID and PCO_SECRET on the server (docs/planning-center.md).",
},
],
},
{
legend: "Animated words",
note: WORD_HELP + " Works in the hero's headline, section titles, headings and paragraphs. These are the defaults; a hero or a block can set its own. Visitors who ask for less motion see the first word, still.",