feat: update settings page to manage reminder times and retention policies

Revamped the settings page to allow coordinators to configure reminder email timings and the duration for retaining volunteer signup details. Removed the privacy text field from settings, reflecting the decision to not include unapproved privacy wording. Enhanced the user interface with clearer instructions and previews for reminder settings. Updated related tests to ensure proper functionality and validation of new settings.
This commit is contained in:
blake committed 2026-10-30 14:52:04 -05:00
1 parent e1bd85f879
commit caaeded467
12 files changed
+461 -175

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ export function parseEvent(values: EventValues): { ok: true; value: EventInput }
if (title.length === 0) return { ok: false, error: 'Enter a title.' };
if (title.length > 120) return { ok: false, error: 'Use a shorter title.' };
const slug = values.slug.trim() ? normalizeSlug(values.slug) : normalizeSlug(title);
if (!validSlug(slug)) return { ok: false, error: 'Use a public address with lowercase letters, numbers, and hyphens.' };
if (!validSlug(slug)) return { ok: false, error: 'Use a title with a letter or number.' };
const description = values.description.trim();
if (description.length > 2000) return { ok: false, error: 'Use a shorter description.' };
const location = values.location.trim();