No description
Find a file
Zaldimmar 68f08b633c Let the front page countdown filter by event scope and type
Admin > Front page > Countdown gains two optional dropdowns, "Only
this scope" and "Only this type", each defaulting to any. They narrow
which event counts as "the next one": National + Retreat counts down
to the next national retreat and skips a sooner regional class. A
pinned event still wins over both. When nothing matches, the
countdown band doesn't render, as before.

Migration 026 adds front_page.countdown_scope_id, a foreign key to
event_scopes (ON DELETE SET NULL, so removing a scope returns it to
"any"), and countdown_event_type, checked against the same values as
events.event_type. Adding an event type now widens both CHECKs; the
note in eventTypes.ts and the guide say so.

Also clears the older em-dashes from home.js and eventTypes.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 19:59:29 -05:00
docs Let the front page countdown filter by event scope and type 2026-09-26 19:59:29 -05:00
server Let the front page countdown filter by event scope and type 2026-09-26 19:59:29 -05:00
src Let the front page countdown filter by event scope and type 2026-09-26 19:59:29 -05:00
.gitignore v1.0 - initial version 2026-09-25 02:20:07 -05:00
CLAUDE.md Tidy the admin editor's text: previews, blank options, no em-dashes 2026-09-26 19:38:24 -05:00
index.html v1.2 - added react router 2026-09-25 02:34:15 -05:00
package.json Call the descriptor sync once at boot, and rename the package 2026-09-26 18:26:12 -05:00
pnpm-lock.yaml Add a QR code page at /qr for any page on the site 2026-09-26 18:24:08 -05:00
README.md Add README with test line 2026-09-25 03:06:55 -05:00
site.json v1.0 - initial version 2026-09-25 02:20:07 -05:00
tsconfig.json Revert the implicit-any typing of src/ 2026-09-26 15:32:28 -05:00
vite.config.ts v1.5 - history and timeline as well as many datastructure updates added, polished, fixes 2026-09-25 02:38:51 -05:00

Test line added by Claude Code.