Existing-sponsor link + remove Interfaces (Pretix/Sessionize)

- 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).
This commit is contained in:
Lago committed 2026-08-24 09:11:25 +02:00
1 parent 1cbbd1b529
commit a54ce69c4d
27 files changed
+147 -1150

No files matched your search

+2 -6
View File
@@ -4,12 +4,10 @@ Living documentation for **Convivo** — a conference networking app that turns
conference into a game. This folder is the single source of truth for *how the
system works*; the root [`README.md`](../README.md) is the quick-start.
> **Status:** Phases 0–8 are complete and verified. The **Redesign** (Phases
> **Status:** Phases 0–6 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
> apps carry the APPE branding. See the root
> [`roadmap.md`](../roadmap.md) and [next-steps.md](./next-steps.md).
## Where things live
@@ -22,7 +20,6 @@ system works*; the root [`README.md`](../README.md) is the quick-start.
| Database schema (all tables) | [backend/schema.md](./backend/schema.md) |
| Transactional points RPCs (the business logic) | [backend/rpcs.md](./backend/rpcs.md) |
| Row Level Security policies | [backend/rls.md](./backend/rls.md) |
| **Interfaces (Pretix + Sessionize sync)** | [backend/interfaces.md](./backend/interfaces.md) |
| Seed data + demo accounts | [backend/seed.md](./backend/seed.md) |
| Docker (app image + compose) | [backend/docker.md](./backend/docker.md) |
| **Frontend — overview (both apps)** | [frontend/README.md](./frontend/README.md) |
@@ -52,7 +49,6 @@ system works*; the root [`README.md`](../README.md) is the quick-start.
- **Code is the source of truth.** If a doc and the code disagree, the code wins —
fix the doc. Key files:
- Schema + RPCs + RLS (the Redesign, **current**): [`supabase/migrations/20260824000000_redesign.sql`](../supabase/migrations/20260824000000_redesign.sql)
- Interfaces (Pretix + Sessionize sync): [`supabase/migrations/20260825000000_interfaces.sql`](../supabase/migrations/20260825000000_interfaces.sql) + [`supabase/functions/sync-trigger/`](../supabase/functions/sync-trigger/)
- Earlier migrations (applied, then replaced by the Redesign): [`20260822000000_init.sql`](../supabase/migrations/20260822000000_init.sql), [`20260823000000_admin_app.sql`](../supabase/migrations/20260823000000_admin_app.sql)
- Seed: [`supabase/seed.sql`](../supabase/seed.sql)
- Attendee app source: [`apps/convivo/src/`](../apps/convivo/src/)