Repository navigation
Done
Labels
adminAdmin dashboard (apps/admin)frontendUI workphase-2Phase 2: Forms & UIv2-migrationV2 schema migration work
Description
Overview
Add the Guests and Companies sections to the admin, so execs can manage speakers, workshop leads and their companies without SQL. Uses 2.3 Backend (and 1.3 Backend for data).
Replaces the frontend half of #282 and the guest CSV part of #283. Part of #201.
What to do
Routes and nav
paths.ts:guests,newGuest,importGuests,editGuest(/guests/:id),companies,newCompany,editCompany(/companies/:id).routes.tsx: lazy routes for each.SectionNav: add Guests and Companies tabs, each with its own accent.
Guests
pages/GuestsPage.tsx: searchable list using a newGuestCard(headshot, name, title, company with logo and colour), plus Add, Import CSV and Export CSV buttons (GUESTS_CSV).pages/NewGuestPage.tsx/EditGuestPage.tsxwithcomponents/guests/GuestForm.tsx:- name, title, company picker (searchable, with an "Add a company" link), and link URL
- headshot through
PictureFieldwith the square crop (SquareCropDialog), saved toguest-photos - edit page: "Hosting" list of their events (links to each event) and delete with a confirm that mentions those events
pages/ImportGuestsPage.tsxusingCsvImportwithGUESTS_CSV.
Companies
pages/CompaniesPage.tsx: list with logo, name and colour swatch.- New and edit pages with
components/companies/CompanyForm.tsx: name, colour (a colour input + hex text field) and logo (PictureField; PNG, JPEG, WebP or AVIF up to 2 MB, no SVG). A live preview of how the company chip looks. - Edit page: a list of guests who work there. Delete warns that those guests lose their company.
General
SavedNoticeafter create and update,useUnsavedChangesWarning, and loading and error states like the team pages.- The how-to guide (
GuideLinktarget): add a short Guests and Companies section.
Tests
tests/pages/GuestPages.test.tsxandCompanyPages.test.tsx: list, create, edit, delete and CSV import for guests.
Done when
- Guests and companies have full create, edit and delete with photos and logos
- Guest CSV import and export work
- Tests pass, with screenshots in the PR
Metadata
Metadata
Assignees
Labels
adminAdmin dashboard (apps/admin)frontendUI workphase-2Phase 2: Forms & UIv2-migrationV2 schema migration work
Activity
Flapjacck commentedon Nov 28, 2026
Progress from the admin stack (#315, #316). Note that #316 says
Closes #302, but this isn't fully done yet:Done
/guests,/guests/new,/guests/:idand/guests/companies, plus a Guests tab inSectionNav(Admin: Guests pages, the guest book and adding or editing a speaker #315, Admin: Companies page, with a logo framed for a speaker's face and for their card #316)GuestsPage: a searchable guest book showing each guest's company, events, photos and when they last spoke (Admin: Guests pages, the guest book and adding or editing a speaker #315)NewGuestPage/EditGuestPagewithGuestForm: name, title, company picker with a Manage companies link, link URL, square headshot toguest-photos, and their events. The edit page shows their photos and a delete confirm that says what they come off (Admin: Guests pages, the guest book and adding or editing a speaker #315, Admin: Companies page, with a logo framed for a speaker's face and for their card #316)CompaniesPageandCompanySheet: list (logo, name, colour, guest count), add and edit with colour, face and card logos framed in the browser, and a live preview (Admin: Companies page, with a logo framed for a speaker's face and for their card #316)Still to do
importGuestsroute,ImportGuestsPage, Import or Export buttons, orGUESTS_CSV. That needs Phase 1.4 [Frontend]: V2 CSV formats for events and guests #296 first.Flapjacck commentedon Nov 30, 2026
Follow-up: this was closed by #316, but there's still no way to delete a company (lib/data/companies.ts has no delete, and the Companies page has no delete button). Worth a small follow-up PR or issue.