Volleyball Elite Academy development update
|
Volleyball Elite Academy
Per-Event Registration Cutoff Toggle
|
Per-Event Registration Cutoff ToggleVolleyball Elite Academy — Development Update • June 18, 2026
Per-Event Registration Cutoff Toggle
What & Why Every event currently shows "Registration closes 8 days before the event starts" and enforces that cutoff. For events where the gym rental is already secured for another purpose (so the 8-day rule doesn't apply), admins need a simple way to disable the cutoff for that specific event.
Done looks like
- A toggle ("Disable registration cutoff") is available on the event edit form, in the registration/details step.
- When toggled off, registration stays open right up until the event starts (no 8-day gate).
- The public event detail page does not show the "Registration closes 8 days before the event starts" notice for events with the cutoff disabled.
- The registration page () does not block registration for those events even if they are within 8 days of starting.
- The admin event list / command center "approaching 8-day deadline" alerts respect the toggle and do not flag events whose cutoff is disabled.
Out of scope
- Setting a custom number of days (the ask is on/off only).
- Changing the default 8-day rule for all events.
- Backend enforcement of the cutoff (it is currently frontend-only; this task keeps that as-is).
Steps 1. Add column to the schema — Add a boolean column (default ) to the table in . Run to apply. Update the insert/select types accordingly.
2. Expose it in the admin event edit form — In , add a toggle switch in the registration/details step labeled something like "Disable the 8-day registration cutoff for this event." Wire it through the form schema, default value, and the save payload sent to the API.
3. Update the API route to accept and persist the field — In , ensure the create and update handlers accept and pass it to the storage layer. Update and the corresponding DB calls in .
4. Honour the toggle in the registration page and event detail — In , skip the gate when is true. In , suppress the "Registration closes 8 days before the event starts" notice when the flag is set.
5. Suppress the flag from command-center / readiness alerts — In (readiness endpoint) and (enrollment threshold alert), skip the 8-day "at risk" logic for events with .
Relevant files - - - - - - -
|
Volleyball Elite Academy Reply to this email — we read every reply. You received this because you have an account with Volleyball Elite Academy. elitevolleyball.training |
|
No comments:
Post a Comment