Skip to content

Admin: speakers and hosts on the event page - #327

Merged
Flapjacck merged 9 commits into
mainfrom
300-event-hosts-panel
Nov 30, 2026
Merged

Flapjacck merged 9 commits into
mainfrom
300-event-hosts-panel

Conversation

@Flapjacck

@Flapjacck Flapjacck commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Summary

Completes the remaining hosts work from #299 and #300: joined display-ready host records and an ordered event-side speakers/hosts editor.

Closes #299
Closes #300

Type of change

  • ⚙️ Backend / admin

What changed

  • Added joined host reads for team members and guests, including images, companies, and visibility.
  • Added accessible search, grouped picker, draft-only remove/reorder controls, and whole-list saving.
  • Refreshed guest speaker links after host saves and documented both workflows.
  • Team hosts are saved but not shown on the site yet. Resources have no reorder UI, so keyboard resource reordering remains out of scope.

Review fixes

  • Restored the affected admin files to the repository’s single-quote and ~120-column conventions.
  • Kept the extras-page diff limited to speakers-and-hosts coverage; topics, partners, resources, and last-time tests are unchanged.
  • Added host-data coverage for team-only and guest-only reads, missing joins, cross-kind reordering, and delete/upsert failures.
  • Replaced the picker cast with a type narrow and documented/space-separated its helpers.
  • Verified locally: pnpm lint, pnpm test (614 tests), and pnpm build.

⚙️ Backend / admin only: data changes

  • No Supabase changes

How to test

  1. Run pnpm --dir apps/admin dev, sign in, and open an existing event.
  2. Search for a guest or team member, add them, reorder with the arrows, remove one, and save.
  3. Reload, verify guest Speaks at, and check the site shows guest speakers in the saved order.

Checklist

  • Tests added and pass locally
  • pnpm lint and pnpm build pass locally
  • PR is small and focused on one issue
  • I understand every line of this code
  • No secrets, keys, or .env files committed
  • Docs updated

@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
admin_page Ready Ready Preview Nov 30, 2026 8:20pm UTC
better-website Ready Ready Preview Nov 30, 2026 8:20pm UTC

@Flapjacck
Flapjacck merged commit ba996bf into main Nov 30, 2026
5 checks passed
@Flapjacck
Flapjacck deleted the 300-event-hosts-panel branch November 30, 2026 20:21

This branch was successfully deployed

1 active deployment
Preview – better-website — 3555e44a Deployed Nov 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant