Redesign Phases 3-6: multi-event model, APPE Admin, Convivo App behaviors, APPE branding

- Phase 3: new migration 20260824000000_redesign.sql (contacts/events/registrations/sponsors, slot types, session speakers + feedback/material), seed rewrite
- Phase 4: APPE Admin rebrand + Contacts/Registrations/Sponsors/Schedule/Activity/Events views
- Phase 5: Convivo App (24h login, 5s polling, QR type badge, red dot, speaker material)
- Phase 6: APPE favicon + PWA icons for both apps
- Docs: schema/rpcs/rls/seed/screens/api-client/admin-app/architecture/next-steps/README/roadmap updated
This commit is contained in:
Lago committed 2026-08-23 02:53:16 +02:00
1 parent 5adb5785aa
commit 22f5f1d317
64 files changed
+4593 -1371

No files matched your search

+19 -14
View File
@@ -4,15 +4,16 @@ What's done, what's next, and the open decisions. The full roadmap lives in the
root [`roadmap.md`](../roadmap.md); this file is the working detail for the
current phase.
> **Current state:** Phases 0–2 are complete and verified. The project is now in
> the **Redesign** (Phases 3–6), driven by a new multi-event data model. We work
> through the redesign phase by phase and stop for review at the end of each.
> **Current state:** Phases 0–6 are complete and verified, including the full
> **Redesign** (Phases 3–6) on the new multi-event data model. The next work is
> the **Pretix** (Phase 7) and **Sessionize** (Phase 8) interfaces.
## Done
### Phase 0 — Dockerized Supabase core ✅
- Full schema (9 tables), RLS on every table, transactional points RPCs.
- Seed: 6 slots, 18 sessions, 13 demo users (QR token = auth password).
- Full schema (13 tables), RLS on every table, transactional points RPCs.
- Seed: 1 event, 6 slots, 18 sessions, 14 contacts, 13 registrations, 3 sponsors
(QR token = auth password).
- Runs via the Supabase CLI (`supabase start` / `supabase db reset`).
- Details: [backend/README.md](./backend/README.md).
@@ -40,11 +41,15 @@ A separate desktop-first web app on :3001, guarded to the admin role.
- Details: [frontend/admin-app.md](./frontend/admin-app.md).
> **Note:** Phases 0–2 built the `profiles`-based single-event model. Phase 3
> **replaces** that schema.
> **replaced** that schema; Phase 4 rebuilt this console on the new model and
> rebranded it to **APPE Admin**.
## The Redesign (Phases 3–6)
## The Redesign (Phases 3–6) — ✅ complete
### Phase 3 — Data model 🔨 (in progress)
All four redesign phases are done and browser-verified. The specs below are kept
as the record of what was built.
### Phase 3 — Data model ✅
A new migration (`20260824000000_redesign.sql`) + seed rewrite. The `profiles`
table is dropped; everything is re-scoped to **event + contact**.
@@ -95,9 +100,9 @@ table is dropped; everything is re-scoped to **event + contact**.
- New `materials` storage bucket (read for event attendees, write for
speakers/admins).
### Phase 4 — APPE Admin ⬜
Rebrand "Convivo Admin" → **APPE Admin** (title, sidebar, manifest, docs) and
rebuild the views on the new model:
### Phase 4 — APPE Admin ✅
Rebranded "Convivo Admin" → **APPE Admin** (title, sidebar, manifest, docs) and
rebuilt the views on the new model:
- **Dashboard** — active event card (name, dates, location, aggregates) + top
points + recent activity; graceful "no active event".
- **Contacts** — table (email, name, LinkedIn, visibility toggles, `is_admin`,
@@ -112,7 +117,7 @@ rebuild the views on the new model:
- **Event management** — create event, set active (only one), edit
dates/location.
### Phase 5 — Convivo App ⬜
### Phase 5 — Convivo App ✅
- **Login ≥24h** — `jwt_expiry` = 86400 in `config.toml`; session persists in
localStorage.
- **5s visibility-aware polling** — poll schedule/connections/points every 5s
@@ -129,9 +134,9 @@ rebuild the views on the new model:
- **Browser-accessible** — responsive layout works in a desktop browser.
- **No active event** — graceful empty state.
### Phase 6 — Branding ⬜
### Phase 6 — Branding ✅
- `https://www.appe.at/assets/appe_full.png` as favicon + PWA icon (192/512)
for **both** apps. Update `index.html` + `manifest.webmanifest` + `public/`.
for **both** apps. Updated `index.html` + `manifest.webmanifest` + `public/`.
## Later (post-redesign)