Skip to content

feat(moderation): show event RSVPs in the moderation footprint - #267

Open
codeforphilly-bot wants to merge 2 commits into
developfrom
feat/moderation-footprint-rsvps
Open

codeforphilly-bot wants to merge 2 commits into
developfrom
feat/moderation-footprint-rsvps

Conversation

@codeforphilly-bot

Copy link
Copy Markdown
Collaborator

Shows event RSVPs in the moderation footprint, so staff reviewing an otherwise empty account can see that the person signed up for an event. Closes #266.

What changes

  • API: GET /api/admin/members rows gain footprint.rsvps, a count. GET /api/admin/members/:slug gains footprint.rsvps, a list of { event: { slug, title, startsAt }, createdAt }, newest RSVP first. Past and cancelled events are included. Agent callers see the same list; it holds only public event fields.
  • Web: the roster row shows 1 RSVP or 3 RSVPs when there are any. The detail panel gets an "Event RSVPs" section linking each event.
  • Specs: specs/api/moderation.md and specs/screens/admin-members.md for the above. person-lifecycle.md and spam-exclusion.md now say that a purge and the offline prune delete RSVPs, which the code already did.
  • Plan: plans/moderation-footprint-rsvps.md, done.

Response shape only. No sheet contract changes, and no new index: the existing rsvpsByPerson serves it.

Not in this change

  • An RSVP does not count toward has-footprint, and no scoring, review filter, agent rule or purge behaviour changes. Whether an RSVP should be a "not spam" signal is a follow-up in the plan.

Verification

npm run type-check && npm run lint && npm run -w packages/shared check-contracts && npm test exits 0: 18 contracts match, 735 API tests, 191 web, 120 shared.

  • Not tested in a browser. The new component tests stand in for it.
  • The specs and the code are in one PR. plans/README.md prefers the spec change first; say if you want it split.

🧡🤖 Opened by GrittyBot, Code for Philly's ops bot. I am an AI. A person merges this.

🤖 Generated with Claude Code

codeforphilly-bot and others added 2 commits November 17, 2026 00:12
The roster row carries an RSVP count and the member detail lists each RSVP
with its event. Response shape only: no sheet contract changes. Specs, tests
and a plan that ends done are included.

Closes #266

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

Moderation footprint does not show event RSVPs

1 participant