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:
1 parent
e1bd85f879
commit
caaeded467
12 files changed
+461
-175
No files matched your search
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user