People directories, ministries, organization contacts (migrations 062 to 064)

- 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>
This commit is contained in:
Zaldimmar 2026-10-03 22:57:34 -05:00
parent 07e56bfd20
commit 0ed7315156
38 changed files with 1108 additions and 29 deletions

View file

@ -32,6 +32,12 @@ export const people = {
{ path: "sort_name", label: "Sort name", help: "Doe, Jane" },
{ path: "pronouns", label: "Pronouns" },
{ path: "tagline", label: "Tagline", full: true },
{
path: "specialty",
label: "Specialty",
full: true,
help: "One line shown in directories, eg. Vocals, piano · Gospel, folk",
},
{ path: "photo", label: "Photo", widget: "image", resolve: mediaUrl, full: true },
{
path: "primary_org_id",
@ -80,6 +86,24 @@ export const people = {
],
children: [
{
key: "tags",
label: "Directories",
note: "Tags that list this person in a directory, eg. Musicians. Tags are made under Data → People tags.",
addLabel: "Add tag",
title: (row, options) =>
options?.person_tag_types?.find((t) => t.id === row.tag_id)?.label ?? "New tag",
blank: { tag_id: "" },
fields: [
{
path: "tag_id",
label: "Tag",
widget: "select",
optionsFrom: "person_tag_types",
required: true,
},
],
},
{
key: "affiliations",
label: "Roles and organizations",