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:
parent
175a18976d
commit
38aff34c97
42 changed files with 473 additions and 254 deletions
|
|
@ -2,7 +2,7 @@
|
|||
REQUEST ROUTE: POST /api/requests
|
||||
|
||||
The Request form (/request): a blog post, an event, or a new or
|
||||
updated chapter, region, partner, team, award or person, with up
|
||||
updated group, region, partner, team, award or person, with up
|
||||
to MAX_FILES attachments. Stored as a feedback row of type
|
||||
'content' (046_content_requests.sql), files in Google Drive.
|
||||
|
||||
|
|
@ -30,7 +30,7 @@ const requests = new Hono();
|
|||
const CATEGORIES = {
|
||||
blog: ["new"],
|
||||
event: ["new", "update"],
|
||||
chapter: ["new", "update"],
|
||||
group: ["new", "update"],
|
||||
region: ["update"],
|
||||
partner: ["new", "update"],
|
||||
team: ["new", "update"],
|
||||
|
|
@ -64,12 +64,12 @@ export function cleanDetails(raw) {
|
|||
}
|
||||
const MIN_MESSAGE = 10;
|
||||
// Where in the shared drive the files go (googleService.js): a
|
||||
// folder per type under Requests, eg. Requests/Chapters.
|
||||
// folder per type under Requests, eg. Requests/Groups.
|
||||
export const DRIVE_FOLDER = "Requests";
|
||||
export const TYPE_FOLDERS = {
|
||||
blog: "Blog Posts",
|
||||
event: "Events",
|
||||
chapter: "Chapters",
|
||||
group: "Groups",
|
||||
region: "Regions",
|
||||
partner: "Partners",
|
||||
team: "Teams",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue