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:
parent
0e582c236b
commit
dc53af238f
31 changed files with 1318 additions and 113 deletions
|
|
@ -55,6 +55,7 @@ const Leadership = lazyPage(() => import("./pages/Leadership.tsx"))
|
|||
const Resources = lazyPage(() => import("./pages/Resources.tsx"))
|
||||
const History = lazyPage(() => import("./pages/History.tsx"))
|
||||
const Feedback = lazyPage(() => import("./pages/Feedback.tsx"))
|
||||
const Request = lazyPage(() => import("./pages/Request.tsx"))
|
||||
const Giving = lazyPage(() => import("./pages/Giving.tsx"))
|
||||
const QrCodes = lazyPage(() => import("./pages/QrCodes.tsx"))
|
||||
const Privacy = lazyPage(() => import("./pages/Privacy.tsx"))
|
||||
|
|
@ -104,6 +105,7 @@ export default function App() {
|
|||
<Route path="resources" element={<Resources />} />
|
||||
<Route path="history" element={<History />} />
|
||||
<Route path="feedback" element={<Feedback />} />
|
||||
<Route path="request" element={<Request />} />
|
||||
<Route path="qr" element={<QrCodes />} />
|
||||
<Route path="give" element={<Giving />} />
|
||||
<Route path="privacy" element={<Privacy />} />
|
||||
|
|
@ -129,6 +131,7 @@ export default function App() {
|
|||
</Route>
|
||||
<Route path="feedback" element={<AdminFeedback />} />
|
||||
<Route path="data-requests" element={<AdminFeedback kind="privacy" />} />
|
||||
<Route path="requests" element={<AdminFeedback kind="content" />} />
|
||||
<Route path="media" element={<AdminMedia />} />
|
||||
<Route element={<RequireRole role="admin" />}>
|
||||
<Route path="clips" element={<AdminClips />} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue