Files
Convivo/docs
Lago 698bf13551 Staff exclusions + contact-password auth sync
- 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).
2026-08-23 18:27:01 +02:00
..

Convivo — Documentation

Living documentation for Convivo — a conference networking app that turns a conference into a game. This folder is the single source of truth for how the system works; the root README.md is the quick-start.

Status: Phases 0–8 are complete and verified. The Redesign (Phases 3–6) is done: the new multi-event data model is live, the admin app is rebranded to APPE Admin, the Convivo App has all the new behaviors, and both apps carry the APPE branding. Phases 7–8 added the Pretix + Sessionize interfaces (sync RPCs, sync-trigger Edge Function, mock API, APPE Admin Interfaces view). See the root roadmap.md and next-steps.md.

Where things live

Topic Read this
System overview, tech stack, data flows, ports architecture.md
Backend (Supabase core) — overview backend/README.md
Supabase local stack, ports, how it runs backend/supabase-core.md
Database schema (all tables) backend/schema.md
Transactional points RPCs (the business logic) backend/rpcs.md
Row Level Security policies backend/rls.md
Interfaces (Pretix + Sessionize sync) backend/interfaces.md
Seed data + demo accounts backend/seed.md
Docker (app image + compose) backend/docker.md
Frontend — overview (both apps) frontend/README.md
Attendee app: structure, state, contexts, routing frontend/app-structure.md
Attendee app: every screen (Login, Home, Agenda, Scan, …) frontend/screens.md
API client (how the app talks to Supabase) frontend/api-client.md
Admin console (views, auth guard, QR reset, points, schedule) frontend/admin-app.md
What's next (Redesign Phases 3–6 + later + open items) next-steps.md

Reading order

  1. New to the project? Start with architecture.md, then backend/README.md and frontend/README.md.
  2. Working on the database / points logic? Go to backend/schema.md → backend/rpcs.md → backend/rls.md.
  3. Working on the UI? Go to frontend/app-structure.md → frontend/screens.md → frontend/api-client.md. For the admin console, read frontend/admin-app.md.
  4. Planning the next phase? Read next-steps.md.

Conventions