Skip to content

Change alerts, dashboard at a glance, and event covers - #8

Merged
HeWillCook merged 1 commit into
mainfrom
feat/alerts-glance-covers
Nov 16, 2026
Merged

HeWillCook merged 1 commit into
mainfrom
feat/alerts-glance-covers

Conversation

@HeWillCook

Copy link
Copy Markdown
Owner

Wave 3 of the lifecycle & polish spec. Stacked on #7; will be rebased onto main once #7 merges. No new migration (uses 0005).

What

  • Change alerts: updateEvent stamps details_changed_at only when the time, zone or location actually moves; title- or cover-only edits don't count. The host lands on the event with a copyable "Heads up: …" message (?changed=1). Guests see "Updated …: now … at …" on the token page if the change came after they replied, and on the anonymous page for 14 days. Suppressed on cancelled events.
  • Dashboard at a glance: upcoming cards show a countdown in the event's timezone, yes/maybe/no counts and "N haven't replied". All of it comes from glanceForEvents in 3 queries total, not per card. Past and cancelled cards stay quiet.
  • Event covers: 8 emoji × 6 palette colours picked with an accessible radio group on the new and edit forms, validated server-side with zod. Shown on dashboard cards, the event header and the guest slip. The default is 🎉 on mustard.

Tests

127 targeted tests pass locally (cover, relative-date, events/rsvp services, edit actions, forms, RSVP form); typecheck and lint are clean.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cookout Ready Ready Preview Nov 16, 2026 3:48am UTC

- updateEvent reports whether the time, zone or place moved and stamps
  detailsChangedAt only then; the host lands on the Guests tab with a
  copyable heads-up and guests see an "Updated …" note (cancelled events
  stay quiet).
- glanceForEvents batches yes/maybe/no counts and unreplied invitees for
  every dashboard card; countdown labels use the event's calendar days.
- Preset event covers (emoji + palette colour) in the new and edit forms,
  validated server-side, shown on dashboard cards, the event header and
  the guest slip.

Co-Authored-By: DeepSeek V4.1 Flash <noreply@opencode.ai>
@HeWillCook
HeWillCook force-pushed the feat/alerts-glance-covers branch from 9a43b71 to 65b061c Compare November 16, 2026 03:47
@HeWillCook
HeWillCook changed the base branch from feat/lifecycle to main November 16, 2026 03:47
@HeWillCook
HeWillCook merged commit 9c37dff into main Nov 16, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant