Registrations table felt buggy because both row actions did
setBusy(true) -> write -> reloadRegistrations() -> setBusy(false):
the list is sorted by points, so a reload made the row you just
touched jump (or vanish under a Checked-in filter), and the single
`busy` flag disabled every control in the table for the whole
request. The fix is per-row in-flight state (busyIds + withRowBusy)
and no reload at all: the toggle patches its own row's checked_in
plus the points delta the RPC returns, the type change patches
`type`; a rejected write rolls both back. Only the touched row is
disabled, shows a "Saving…" pulse, and two rows can save at once.
Toggle hit area is now 40x41 px with a focus-visible ring.
Front-desk gate: checkin_attendee reads registrations.checked_in
and raises "This attendee needs to be checked in at the front desk
first." when it is not true, and no longer sets checked_in as a
side effect. checkins has no INSERT policy, so the RPC is the only
write path and the gate cannot be bypassed. The scanner shows a
dedicated "Not checked in yet" sheet instead of a toast.
Badge copies: events.badge_copies (1..4, default 1). welcome_checkin
sends that many pgmq jobs in one transaction (the Pi prints one
label per job, so N jobs = N labels; no worker change) and clamps
the value again itself. preview_welcome_checkin gained a `copies`
column (drop + recreate) so the popup states the real count. Manual
reprint still prints exactly one. Set from Settings -> Badge
printing (active event) and the Events form, always as a
single-column update; the Settings badge section now renders even
when the LLM settings call fails.
Tests: badge_print 113 (+6), leaderboard 47 (+1), new
registration-checkin-toggle (6), front-desk-gate (3),
welcome-badge-copies (3); the stale registrations-PATCH mock in
registration-ticket-merge now targets set_registration_checked_in,
the ambiguous Save button is "Save copies", and the print-copy
assertion tolerates the typographic apostrophe. Docs updated
(rpcs, schema, printing, tests, admin-app, screens) with a release
record; NOT deployed - see docs/releases/2026-10-19.md.
The camera stopped after decoding one code (by design, one scan at a time)
but was only ever started on mount, so it stayed dead until staff navigated
away and back. The parent now owns the lifecycle via a paused prop: Scan
pauses while busy or any sheet is open (camera re-arms when the sheet
closes), Login pauses while busy (re-arms after a failed scan). scannedRef
guards duplicate callbacks between decode and stop.
- Scanner: invoke onResult through a ref refreshed each render; the camera
callback captured the mount-time closure, so scans kept running session
check-in even with the Welcome toggle on (manual entry was unaffected)
- new RPC set_registration_checked_in(id, bool): admin-only; on un-check,
deletes the event's 'checkin' points_log rows and applies the negative
delta via _award_points('admin') so leaderboard + audit stay consistent;
re-check awards nothing; returns points_removed
- admin Registrations toggle now calls the RPC, refreshes rows and toasts
the removed points
- supabase/tests/set_registration_checked_in_tests.sql: 15 assertions
The staff scanner checked attendees in silently, and the default session
mode never prints — so a welcome-desk scan could check someone in with no
badge and no confirmation.
- new read-only RPC preview_welcome_checkin(qr): resolves the attendee and
reports already + will_print (mirrors the exact welcome_checkin enqueue
condition: first check-in AND a layout exists). Staff/admin only; checks
nobody in, enqueues nothing.
- attendee Scan screen previews first and shows a Yes/No sheet: "You are
checking in [Name]. By confirming, you will print this person's label."
Only Yes runs welcome_checkin. Session check-in unchanged (never prints).
- badge_print_tests.sql +8 assertions (109 total); ScanPage + welcome specs
drive the confirm step; new CONV-CHECKIN-003 (No cancels, Yes checks in).
- docs: rpcs.md, printing.md, releases/2026-10-19.md.
Live bundle index-DRSsD1hj.js / index-4X1LaDjo.css byte-identical to a clean
local build of 6bde90a; previous index-CRttiV1E.js now 404. Drift guard passed
against the 1e3c969 baseline, backup + rollback tag
convivo-app:rollback-fbpolish-6bde90a-20261018T162520Z, only convivo-app
recreated, unrelated containers unchanged, 45/45 mocked checks vs production.
Catch-up note for the organizer display-name fetch added with ab25c10:
GET /organizers/<slug>/ returns the organisation name (multi-lingual object
or string), which the sidecar resolves via pickPretixName and stores on
events.company during each Pretix sync so badges can bind a Company field.
There is no separate company field on the organizer resource.
Three attendee-app polish items from hands-on testing (Sabrina). All
presentation-layer: no migration, no RPC, no admin/sidecar change.
- Session detail collapsed multi-paragraph descriptions into one block. The
feed carries real newlines (the sidecar passes Sessionize description through
untouched), so this was pure CSS: new .sd-desc uses white-space: pre-line.
The AI feedback summary gets the same via .feedback-review .fr-text.
- Staff saw "Your session feedback" on Break/Lunch cards, because
_assign_service_session_speakers makes every staff member a speaker of every
service slot. showFeedback = !isService now gates all three feedback surfaces
(review block, Give-feedback button, "not checked in" note). The sheet itself
stays openable for service sessions.
- Removed the "Demo clock" badge from the Home header. The simulated clock is an
internal demo aid; attendees were never meant to see it. useEvent() still
exposes clockMode and the admin toggle is unchanged.
Tests: three new API-mocked cases in convivo-admin-entry.spec.ts (service
feedback suppression, multi-line description via pre-line CSS + exact textContent
+ rendered-height comparison, no demo-clock badge per clock mode). 45/45 green
against the local dev server; attendee build clean.
Docs synced: screens.md, app-structure.md, backend/tests.md, next-steps.md, plus
a release record at docs/releases/2026-10-18.md noting that items 1/3/7 of the
report were already shipped (ef0446d, 999527b) and that this change is not yet
deployed.
The Now/Next cards fall back to a concurrent-session list when the user
has no pick for that specific slot, and always appended a 'No pick yet —
tap a session in the Agenda to choose.' hint. With picks on other slots
this contradicted the 'My picks today' list right below (screenshot).
ConcurrentList now takes hasPicks and renders the hint only while the
user has no picks at all.
e2e: two new 'Home session picks' cases (hint hidden with a pick on the
other slot; still shown with none, asserted per card). 43/43 local.
Docs: screens.md nudge rule, tests.md regression note.
Relocate the four full-resolution mascot source PNGs out of the root
Manfred/ folder into assets/manfred/ (a non-build-context source dir,
like mockup/), renamed from their ChatGPT export names to pose names:
manfred-{waving,confident,coffee,celebrating}.png. git mv preserves
history (all four recorded as renames).
These originals are never shipped (Vite serves only apps/convivo/public/),
so the served 224px WebP poses are untouched and the attendee bundle is
byte-identical. Add assets/manfred/README.md with the pose table and a
regeneration command, and note a pre-existing cosmetic mismatch: the
deployed WebP filenames are rotated relative to their content (harmless —
Profile picks a pose at random and e2e asserts the filename).
Docs: fix the stale Manfred/ pointer in releases/2026-10-10.md and
cross-reference the source dir from frontend/screens.md.
- docs/prod-parity-plan.md: audit + phased plan, now marked EXECUTED with the
autonomous decisions (target=HEAD, data preserved, bonus shipped at 0,
whole-tree deploy).
- docs/releases/2026-10-16.md: append the parity release record (schema +
ledger + whole-tree code deploy, backups/rollback tags, 151/151 e2e, 46-assert
live rollback smoke, autosync preserved, dev==prod==repo).
- e2e/admin-schedule.spec.ts: drop the stale 'Evaluate' disabled assertion
(button removed from the codebase in 6bad96c).
- groupAgenda drops orphan service slots (no session row), so every Service Session card consistently shows header + session row; list, slot count and Home Now/Next agree
- Extract the session detail bottom sheet into shared components/SessionDetail.tsx; Home's My-picks chips now open it in place instead of routing to the Agenda (App passes openFeedback so Give-feedback works there too)
- Sheet subtitle shows the slot name only when it adds information: auto-named 'Slot 10:15-11:00' no longer repeats the time range, and service names equal to the session title are skipped
- e2e: orphan-slot test + Home session picks test (exact subtitle assertion) in convivo-admin-entry.spec.ts, 41/41 green; speaker-portal 19/19; docs + release record 2026-10-16.md
- New shared BadgeRender module (resolveText/resolveQr/BadgeElementBody/BadgePagePreview/fitScale) reused by the badge editor and the new read-only preview modal
- Registrations: Badge button on every row opens a live preview of that attendee's badge; grayed out with a Uiverse-style APPE-red tooltip when the event has no badge configured
- Contacts + Registrations: per-column multi-select filters (LinkedIn/Visibility/Admin; Type/Ticket/Checked in) with Excel-style live counts, plus general search (contacts: first/last/email; registrations: +type)
- New Tooltip and ColumnFilter primitives in ui.tsx (portal-based, escape/outside-click close)
- e2e: registration-badge-preview.spec.ts (13) + table-filters.spec.ts (13), all green; docs synced
Support script and URL sources, automatic Sessionize polling, staff-linked service sessions, chronological agenda blocks, and inline Placeholders. Fix demo mode to use the active event date and document deployed behavior with regression coverage.
- Nginx Proxy Manager admin login ([email protected] / appepassword) stored
base64-encoded as {IP,user,pass}, same format as the other creds.
- Noted NPM's admin UI is on port 81 in this instance (8181/8182 unbound)
and how to reset it (wipe npm_data volume).
- Updated the tunnel command to the full port set (incl. Portainer 9000/9443
and NPM via 8081->81) with a local-URL table.
- Portainer admin login (admin/appepassword) stored base64-encoded as
{IP,user,pass}, same format as the VM creds.
- Note on the one-time setup token (from 'docker logs portainer').
- Added a Running services table (all host-exposed ports on the VM) and
corrected the status line: the full stack is deployed on the VM.
- Key auth is now set up (id_ed25519 in [email protected] authorized_keys);
passwordless login verified.
- Added the convivo-vm alias and a ready-to-copy ssh -L tunnel command for
reaching the deployed stack (apps :3000/:3001, sidecar :3002, Kong :54321,
Postgres :54322, Studio :54323) from a laptop.
- New docs/deployment.md documents the remote VM (the target for the
appe.at subdomains). Credentials are stored base64-encoded and decode
to a JSON object with IP, user, and pass.
- Verified the credentials work (SSH login) on 2026-08-25.
- Linked from docs/README.md (hub) and docs/next-steps.md (subdomains).
- Migration 20260834000000: events.use_realtime_clock (boolean, default false)
- Admin: Real-time clock toggle in the Events create/edit modal
- Convivo: useEvent picks new Date() vs simulated DEFAULT_NOW from the flag;
Home shows a 'Demo clock' badge only in simulated mode
- Docs: app-structure, admin-app, schema, next-steps
Service sessions (new slot semantics):
- Sidecar maps isServiceSession OR isPlenumSession -> service_session
(Excel path also matches 'plenum' in Session Format).
- checkin_attendee rejects service sessions; Scan check-in dropdown
excludes them.
- New _assign_service_session_speakers helper links every registered
staff member as a speaker of a service session; both sync RPCs call
it (and the API sync now actually types slots from is_service_session).
- No material requirement + no mic emoji for service sessions.
Home redesign:
- Now/Next cards show all concurrent sessions as sub-sections when
there's no pick (1/2/3 sessions -> 1/2/3 sub-sections), with a
"Nothing scheduled" fallback for empty slots.
- My picks today lists every pick (slot order) + empty state.
- Demo clock EVENT_DATE fixed to 2026-02-20 (matches seed) so a slot
is live at 10:20.
Feedback loop:
- Attendee pending-feedback pill on Home (checked into an over session,
not its speaker, no feedback yet); clears on submit.
- Speaker sees rating + AI summary for their own session in the Agenda
sheet only after it's over.
Migration 20260833000000_service_sessions_feedback.sql. Docs updated.
- Introduced a new Node HTTP service (sidecar) to sync event agendas from Sessionize into Convivo.
- Implemented two import paths: API sync and Excel import for session and speaker data.
- Added necessary database migrations for sessionize integration, including new columns and audit tables.
- Created functions for handling speaker and session imports, ensuring proper error handling and logging.
- Established row-level security and grants for new functions to restrict access to service-role only.
- Replace the 'Set active' button / 'Active' pill in the Events table with a
toggle switch. Activating an event deactivates all others (enforced by the
existing DB trigger + partial unique index); deactivating just turns it off.
- Add deactivateEvent() API helper.
- Update docs (admin-app.md, next-steps.md).
- Sponsor lookup popup can now link an existing sponsor (dropdown + pre-fill)
or create a new one; save upserts the sponsor linked to the contact and sets
the registration type to sponsor.
- Remove the Interfaces feature end-to-end: admin nav button + Sync view, sync
API helpers + SyncRun type, sync-trigger Edge Function, mock-api + its
docker-compose service, and a migration dropping the sync RPCs, helpers, and
sync_runs table.
- Update docs (architecture, backend, frontend, README, roadmap, next-steps).
- registrations.type is now a Postgres ENUM (registration_type)
- session_speakers trigger auto-promotes attendee -> speaker (never overrides staff/sponsor)
- new welcome_checkin RPC: staff marks an attendee present at the event
- admin Registrations: QR token is final (no reset); failed sponsor change opens in-place sponsor lookup
- Convivo Home: Now/Next cards always render; red pending-material pill + popup for speakers
- Convivo Agenda: speakers can delete their material to re-upload
- Convivo Scan: staff Session/Welcome check-in toggle (uiverse switch)
- seed: staff (Bruno/Rita) get a password so staff QR login works after reset
When a staff QR is detected, the confirm step now shows a password field
instead of the email field. Login uses the resolved contact's email + the
entered staff password (signInWithPassword). Attendees are unchanged (QR +
ticket email). Docs updated (screens.md, architecture.md).
- contacts.password now auto-syncs to auth.users.encrypted_password via
trg_contact_password_sync, so setting a password on the contact row in the
Supabase UI makes it work with signInWithPassword immediately (fixes staff
like Bruno not being able to log in with a UI-set password). One-time
reconciliation in the migration.
- Staff excluded from the leaderboard: _sync_leaderboard skips/removes staff
rows, get_leaderboard() filters type='staff', seed no longer inserts staff.
Affects the attendee Leaderboard and the admin Dashboard 'Top points'.
- Home/Agenda/Profile identical for all roles: Home quick-action always
'Scan & connect' (no 'Check-in' relabel), footer role badge removed, tab
label always 'Scan' (staff keep check-in via the Scan screen mode toggle).
- Profile: removed the duplicate Staff pill (type pill already shows Staff).
- Agenda session sheet: 'Download material' moved to the bottom of the button
stack with spacing.
- Docs updated (schema, rpcs, seed, screens, architecture, next-steps).
Datamodel:
- Move qr_token from contacts to registrations (per event); new migration
20260826000000. lanyard_lookup / create_connection_request / checkin_attendee
resolve via registrations + active event.
- reset_qr_token -> reset_registration_qr_token (fixes ambiguous 'email' col).
- upsert_contact drops the token arg; create_registration generates + syncs it.
- Pretix sync writes the token to the registration (keeps it on re-sync).
Registration types:
- Distinct pill colors; red reserved for Staff (both apps).
- Roles capitalized everywhere (Attendee/Speaker/Sponsor/Staff); 'Attendee'
hidden only at the Home footer.
- Reset-token button moved from Contacts to Registrations (per registration).
Sessions (APPE Admin):
- Slot types capitalized; material submitted/not-submitted state.
- Speaker selection = multi-select search dropdown.
- Fix 'a session must have a speaker' on edit (diff-based setSessionSpeakers)
and the file-upload bug (speaker save no longer aborts first).
APPE Admin:
- Sponsors contact lookup = search field (filter + pick).
Convivo App:
- Other people's QR codes hidden; connection detail sheet shows public info +
points.
- Connect red dot recalculates immediately on accept/decline/send.
- 'My picks today' = 2 rows (current + next); 'tap to change' links to Agenda.
Docs updated across backend + frontend.