Add a Request form, with files in Google Drive and email notices

One form at /request for blog posts, events, and new or updated
chapters, regions (updates only), partners, teams, awards and people.
?type= opens it on one; buttons on the Community sections, blog posts,
Retreats and the front page calendar do. Files (.docx, PDF, JPEG, PNG)
go to a Google Drive folder through a service account.

Requests are feedback rows of type 'content' (migration 046), in a
third Forms queue: files download from Drive, a .docx can become a
draft blog post, and deleting a request deletes its files. New content
and data requests email the addresses in Site settings through Gmail.

Setup: docs/google-drive-and-mail.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-09-29 15:54:00 -05:00
parent 0e582c236b
commit dc53af238f
31 changed files with 1318 additions and 113 deletions

View file

@ -34,6 +34,7 @@ const SECTIONS = [
accent: BRAND,
background: "var(--color-tint)",
Component: OrgListMap,
request: { type: "chapter", label: "Add or update a chapter" },
views: { options: ["map", "grid"], default: "map", Toggle: OrgMapToggle },
},
{
@ -44,6 +45,7 @@ const SECTIONS = [
accent: "#4a6b72",
background: "var(--color-surface)",
Component: OrgListVertical,
request: { type: "region", label: "Update a region" },
props: {
kind: "region",
pageLabel: "Region page",
@ -62,6 +64,7 @@ const SECTIONS = [
accent: ACCENTS.mint,
background: "var(--color-tint)",
Component: OrgListCards,
request: { type: "partner", label: "Add or update a partner" },
props: {
kind: "partner",
pageLabel: "Partner page",
@ -81,6 +84,7 @@ export default function CommunityPage() {
accent: BRAND,
background: "var(--color-surface)",
Component: CommunityBlog,
request: { type: "blog", label: "Write for the blog" },
},
...SECTIONS,
]);