Post-event reporting + talk networking incentives
- Talk networking: per-event talk_networking_bonus awarded when two people who shared a checked-in talk accept a connection (accept_connection re-created, shared_talk flag, get_talk_cohort RPC, points_log category check widened); Convivo Networking sub-tab inside the Connect screen (Home quick action deep-links in; Connect button reflects existing connection state and is disabled for sent/connected/declined); admin Events view bonus input (0-10). - Reports: sidecar POST /export (CSV / multi-sheet XLSX / PDF report via new pdfkit dep); APPE Admin Reports view (any event: on-screen summary, session feedback summary, top-5, CSV/Excel/PDF downloads); Activity session-feedback per-session aggregate header. - Also carried: @appe.at admin trigger + default password, bulk contact delete, session level/area + event-level feedback, agenda level/area filters, admin password self-service, schedule level/area fields. - 18/18 RPC tests; both apps build; exports verified end-to-end.
This commit is contained in:
1 parent
08ab41898b
commit
3adc0fd58f
35 files changed
+3973
-54
No files matched your search
+50
-2
@@ -44,9 +44,18 @@ current phase.
|
||||
> **Real-time clock toggle** (a per-event `events.use_realtime_clock` flag,
|
||||
> toggled in the admin Events view, switches the attendee app between the real
|
||||
> system clock and the simulated mid-event clock for Live/Next/Done status; the
|
||||
> Home header shows a 🎬 Demo clock badge only in simulated mode).
|
||||
> Home header shows a 🎬 Demo clock badge only in simulated mode), and
|
||||
> **Post-event reporting + talk networking incentives** (a per-event
|
||||
> `talk_networking_bonus` awarded when two people who shared a checked-in talk
|
||||
> accept a connection, a Convivo **Networking** sub-tab inside the Connect
|
||||
> screen that lists the "also attended" cohort per talk (the Home "Networking"
|
||||
> quick action deep-links into it), a new APPE Admin **Reports** view with an
|
||||
> on-screen post-event summary + session-feedback summary and CSV / Excel / PDF
|
||||
> export served by a new sidecar `POST /export` endpoint, and a per-session
|
||||
> aggregate header in the Activity session-feedback tab).
|
||||
> Remaining work is cross-cutting (deployment, testing, and the ticket/Pretix
|
||||
> sync that will consume the speaker links by email).
|
||||
> sync that will consume the speaker links by email). **Badge printing was
|
||||
> evaluated and skipped by decision** (no printing feature was built).
|
||||
|
||||
## Done
|
||||
|
||||
@@ -494,6 +503,45 @@ drives slot status (Live/Next/Done) from the **real system clock** or the
|
||||
slot.
|
||||
- **Migration:** [`20260834000000_event_realtime_clock.sql`](../../supabase/migrations/20260834000000_event_realtime_clock.sql).
|
||||
|
||||
## Post-event reporting + talk networking incentives — ✅ complete
|
||||
|
||||
A round (migration `20260920000000_talk_networking.sql` + app + sidecar changes),
|
||||
verified end-to-end (18/18 RPC tests, all three export formats). **Badge
|
||||
printing was evaluated and skipped by decision** — no printing feature was built.
|
||||
|
||||
**Talk networking incentives.**
|
||||
- `events.talk_networking_bonus` (integer, default `2`; `0` disables) — the
|
||||
bonus each party earns when two people who were checked into the **same
|
||||
session (talk)** accept a connection. Awarded with the new `talk_networking`
|
||||
points category (the `points_log.category` CHECK was widened to include it).
|
||||
- `accept_connection` was re-created to compute the shared-check-in overlap and
|
||||
award the bonus (through `_award_points`, so the leaderboard sync + staff
|
||||
exclusion are inherited), and to return a `shared_talk` flag. One-shot, so it
|
||||
can never double-award; check-ins after acceptance don't retro-award.
|
||||
- `get_talk_cohort(p_session_id)` — the other attendees (staff excluded, self
|
||||
excluded) checked into a session, for the Networking screen.
|
||||
- **Convivo app:** a **Networking** sub-tab inside the Connect screen (the
|
||||
Home "Networking" quick action deep-links into it) lists, per talk the user
|
||||
is checked into, the "also attended" cohort with a Connect button; the
|
||||
Profile points breakdown shows the `Talk networking` category.
|
||||
- **APPE Admin:** a **Talk networking bonus** input (0–10) in the Events
|
||||
create/edit modal.
|
||||
|
||||
**Post-event reporting / export.**
|
||||
- **Sidecar `POST /export`** (`{ event_id, format: csv|xlsx|pdf, tables? }`)
|
||||
fetches the event's full dataset (service role) and renders it: a combined
|
||||
**CSV** (a `table` column), a multi-sheet **XLSX** (one sheet per table), or
|
||||
a structured **PDF** post-event report (new `pdfkit` dependency). Returns
|
||||
`{ filename, mime, content_base64 }`; unknown event → 404, empty tables → a
|
||||
valid file with headers only.
|
||||
- **APPE Admin Reports view** — works for **any** event (active or past): an
|
||||
on-screen summary (registrations by type, check-ins, connections, session +
|
||||
event feedback averages, points by category, top-5 leaderboard), a **session
|
||||
feedback summary** table (per-session average + response count), and CSV /
|
||||
Excel / PDF download buttons (base64 → browser download).
|
||||
- **Activity → Session feedback** gains a compact **per-session aggregate
|
||||
header** (average + count per session).
|
||||
|
||||
## Cross-cutting / later
|
||||
|
||||
- **Subdomains** — `convivo.appe.at`, `admin.appe.at`, `db.appe.at` don't exist
|
||||
|
||||
Reference in new issue
Block a user