Manage request files: mark missing ones, remove them, list them all

Forms → Content requests and a new Tools → Media → Requests tab (by
type folder, each linked to its request) mark a file Drive no longer
has under Requests as Missing from Drive. Remove (admins and up)
trashes a file and takes it off its request. Drive is asked at most
every 30 seconds, and folder lookups now cache every level walked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-09-29 23:25:58 -05:00
parent 9ff1cd6e99
commit e1542d8d87
6 changed files with 292 additions and 32 deletions

View file

@ -65,8 +65,8 @@ 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.
const DRIVE_FOLDER = "Requests";
const TYPE_FOLDERS = {
export const DRIVE_FOLDER = "Requests";
export const TYPE_FOLDERS = {
blog: "Blog Posts",
event: "Events",
chapter: "Chapters",