feat: open the next three months of Wednesday shifts on the public list

Volunteers can see who is signed up, and a full shift stays closed. Coordinators can see a contact's current and past shifts.
This commit is contained in:
blake committed 2026-10-26 15:45:32 -05:00
1 parent e7c99a788e
commit 1a8959c86a
26 files changed
+1402 -192

No files matched your search

+2
View File
@@ -91,6 +91,7 @@ import {
parseContactSkips,
removeContact,
saveManualContact,
contactSignupShifts,
walkInFromContact,
type ContactImportSummary,
type ContactManualErrors,
@@ -474,6 +475,7 @@ function showContact(
config={services.config}
csrf={session.csrf}
contact={contact}
signedUp={contactSignupShifts(services.db, contact, services.now())}
shifts={listOpenShiftsForPerson(services.db, { email: contact.email, name: contact.name }, services.now())}
form={state?.form ?? blankWalkIn(services, contact.id)}
shiftId={state?.shiftId ?? ''}