Call local chapters groups, everywhere

The organization kind is 'group', its side table is groups, pages
live at /groups/<id> and the Community page's section is #groups.
Migration 052 converts existing databases: the kind and the tables
whose CHECKs name chapters are rebuilt, the front page count and
request category follow, and the site's own /chapters/ and
#chapters links in records are rewritten. Request files now go in
Requests/Groups on the shared drive.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-09-30 13:19:51 -05:00
parent 175a18976d
commit 38aff34c97
42 changed files with 473 additions and 254 deletions

View file

@ -15,7 +15,7 @@ const PAGE = sitePage("/community");
COMMUNITY PAGE
The blog first, then two views of the organizations table. The
map is filtered to chapters; the vertical list is filtered to
map is filtered to groups; the vertical list is filtered to
regions. Same rows, same endpoint, different shape on the page.
The blog's heading and blurb are the admin's (Pages → Community blog
@ -27,21 +27,21 @@ const BLOG_DEFAULT_TITLE = "Community Blog";
const SECTIONS = [
{
id: "chapters",
title: "Local Chapters",
id: "groups",
title: "Local Groups",
blurb:
"Young adult groups meeting in person and online across the movement.",
accent: BRAND,
background: "var(--color-tint)",
Component: OrgListMap,
request: { type: "chapter", label: "Add or update a chapter" },
request: { type: "group", label: "Add or update a group" },
views: { options: ["map", "grid"], default: "map", Toggle: OrgMapToggle },
},
{
id: "regions",
title: "Unity Regions",
blurb:
"The regional organizations that support chapters and host their own gatherings.",
"The regional organizations that support groups and host their own gatherings.",
accent: "#4a6b72",
background: "var(--color-surface)",
Component: OrgListVertical,