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:
Lago committed 2026-09-21 22:34:25 +02:00
1 parent 08ab41898b
commit 3adc0fd58f
35 files changed
+3973 -54

No files matched your search

+32 -4
View File
@@ -12,10 +12,11 @@ from `useAuth()` (`contact` + `registration`).
| Home | `Home.tsx` | tab (default) |
| Agenda | `Agenda.tsx` | tab |
| Scan | `Scan.tsx` | tab (staff get an Attendee/Staff mode toggle inside) |
| Connections | `Connections.tsx` | tab |
| Connections | `Connections.tsx` | tab (hosts a **Networking** sub-tab; Home's "Networking" quick action deep-links into it) |
| Profile | `Profile.tsx` | tab |
| Leaderboard | `Leaderboard.tsx` | from Home (points pill / quick action) |
| Feedback | `Feedback.tsx` | full-screen takeover from Agenda |
| EventFeedback | `EventFeedback.tsx` | full-screen takeover from Home ("Rate this event") |
## Login
@@ -156,7 +157,8 @@ Data: `useEvent()` (for the session list) + the RPCs above.
## Connections
Two tabs: **My connections** and **Requests** (with a count badge).
Three sub-tabs: **My connections**, **Requests** (with a count badge), and
**🗣 Networking** (see [Networking](#networking-a-sub-tab-of-connections)).
- **My connections** — accepted connections (the other person's name +
registration type). **Clicking a row** opens a bottom **sheet** with that
@@ -167,8 +169,9 @@ Two tabs: **My connections** and **Requests** (with a count badge).
buttons (`acceptConnection` / `rejectConnection`), and outgoing (`from_email =
me`, pending) shown as "Sent". The person block is also clickable (same detail
sheet).
- Accepting awards +5 to both (see
[../backend/rpcs.md#accept_connectionp_connection_id--connections](../backend/rpcs.md#accept_connectionp_connection_id--connections)).
- Accepting awards +5 to both, **plus the per-event talk networking bonus** when
the two parties shared a checked-in talk (see
[../backend/rpcs.md#accept_connectionp_connection_id](../backend/rpcs.md#accept_connectionp_connection_id)).
- **Red dot** — any interaction with the connection logic (accept / decline / send)
dispatches a `connections-changed` window event; the Shell listens and
**recalculates the Connect red dot immediately** (it stays while any incoming
@@ -178,6 +181,31 @@ Two tabs: **My connections** and **Requests** (with a count badge).
Data: `getMyConnections()` + `getPublicContacts()` (names + types) +
`getLeaderboard()` (points for the detail sheet).
## Networking (a sub-tab of Connections)
A **sub-tab inside the Connect screen** (the third of My connections / Requests /
🗣 Networking; the screen header switches to "Networking" while it is active)
that rewards **networking around talks**. The Home "Networking" quick action
deep-links straight into it. Rendered by the `NetworkingPanel` component
(`Networking.tsx`). For every talk the user was checked into, it lists the
**other attendees who were also in that talk** (the "talk cohort") so the user
can make a connection.
- **Your talks** — the sessions the user is checked into (`getMyCheckins()`),
shown as cards (title, room, speakers).
- **Also attended** — for each talk, the other checked-in participants
(`get_talk_cohort(sessionId)` — staff excluded, self excluded), each with a
name + registration-type badge and a **Connect** button (the same
`createConnectionRequest` flow as the Scan screen).
- **Bonus** — when the event's `talk_networking_bonus > 0`, the header shows
"Connect with them to earn +N pts (shared talk)". Accepting a connection with
a shared talk awards the bonus (see
[../backend/rpcs.md#accept_connectionp_connection_id](../backend/rpcs.md#accept_connectionp_connection_id)).
- **Empty states** — "You haven't been checked into a talk yet…" (no check-ins)
and "No one else was checked in here yet." (a talk with no other attendees).
Data: `getMyCheckins()` + `getTalkCohort()` + the agenda (via `useEvent()`).
## Feedback
A **full-screen takeover** (no tab bar), opened from the Agenda session sheet.