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
+2
-2
@@ -349,7 +349,7 @@ export function createEvent(
|
||||
return { ok: true as const, id, mailed: 0 };
|
||||
}).immediate();
|
||||
} catch (err) {
|
||||
if (isUniqueConstraint(err)) return { ok: false, error: 'That public address is already used.' };
|
||||
if (isUniqueConstraint(err)) return { ok: false, error: 'Another event already uses that name.' };
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
@@ -386,7 +386,7 @@ export function updateEvent(
|
||||
return { ok: true as const, id, mailed };
|
||||
}).immediate();
|
||||
} catch (err) {
|
||||
if (isUniqueConstraint(err)) return { ok: false, error: 'That public address is already used.' };
|
||||
if (isUniqueConstraint(err)) return { ok: false, error: 'Another event already uses that name.' };
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user