docs: renumber phases (admin app = Phase 2, Pretix = Phase 3)
This commit is contained in:
1 parent
4abdc7691b
commit
0cbfb25714
4 files changed
+26
-22
No files matched your search
@@ -6,7 +6,7 @@
|
|||||||
> - **Phase 0** — Dockerized Supabase core (Postgres + GoTrue + PostgREST + Realtime + Kong + Studio) with the full schema, RLS, and transactional points RPCs.
|
> - **Phase 0** — Dockerized Supabase core (Postgres + GoTrue + PostgREST + Realtime + Kong + Studio) with the full schema, RLS, and transactional points RPCs.
|
||||||
> - **Phase 1** — Attendee web PWA: login (QR + email), Home, Agenda, Scan/Connect, staff Check-in, Feedback, live Leaderboard, Profile.
|
> - **Phase 1** — Attendee web PWA: login (QR + email), Home, Agenda, Scan/Connect, staff Check-in, Feedback, live Leaderboard, Profile.
|
||||||
>
|
>
|
||||||
> Next: Phase 2 (Pretix ticketing interface), Phase 3 (Admin app), Phase 4 (Sessionize interface).
|
> Next: Phase 2 (Admin app), Phase 3 (Pretix ticketing interface), Phase 4 (Sessionize interface).
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -256,8 +256,8 @@ Login = **QR code** (typed or scanned) + **email**. The QR token is the password
|
|||||||
|---|---|---|
|
|---|---|---|
|
||||||
| **0** | Dockerized Supabase core: schema, RLS, transactional points RPCs, seed | ✅ |
|
| **0** | Dockerized Supabase core: schema, RLS, transactional points RPCs, seed | ✅ |
|
||||||
| **1** | Attendee web PWA: login, Home, Agenda, Scan/Connect, Check-in, Feedback, Leaderboard, Profile | ✅ |
|
| **1** | Attendee web PWA: login, Home, Agenda, Scan/Connect, Check-in, Feedback, Leaderboard, Profile | ✅ |
|
||||||
| **2** | **Pretix** interface — sync tickets → attendees (QR tokens, roles) | ⬜ next |
|
| **2** | **Admin app** (admin.appe.at) — manage attendees, sessions, points, event | ⬜ next |
|
||||||
| **3** | **Admin app** (admin.appe.at) — manage attendees, sessions, points, event | ⬜ |
|
| **3** | **Pretix** interface — sync tickets → attendees (QR tokens, roles) | ⬜ |
|
||||||
| **4** | **Sessionize** interface — sync the real agenda (slots, sessions, speakers) | ⬜ |
|
| **4** | **Sessionize** interface — sync the real agenda (slots, sessions, speakers) | ⬜ |
|
||||||
|
|
||||||
> **Subdomains** (`convivo.appe.at`, `admin.appe.at`, `db.appe.at`, `pretix.eu`, `sessionize.com`) do not exist yet — everything runs on **localhost** for now.
|
> **Subdomains** (`convivo.appe.at`, `admin.appe.at`, `db.appe.at`, `pretix.eu`, `sessionize.com`) do not exist yet — everything runs on **localhost** for now.
|
||||||
|
|||||||
+1
-1
@@ -115,7 +115,7 @@ full DML at the Postgres level, but **RLS narrows it** to the policies above.
|
|||||||
the check-in RPC.
|
the check-in RPC.
|
||||||
- **Admin** — full read on everything, and the only role with **direct** write
|
- **Admin** — full read on everything, and the only role with **direct** write
|
||||||
access to `profiles` / `slots` / `sessions` (this is what the future Admin app
|
access to `profiles` / `slots` / `sessions` (this is what the future Admin app
|
||||||
in Phase 3 will use).
|
in Phase 2 will use).
|
||||||
|
|
||||||
## Things to revisit later
|
## Things to revisit later
|
||||||
|
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ Post-session feedback.
|
|||||||
|
|
||||||
### `adjust_points(p_profile_id, p_delta, p_reason)` → `void`
|
### `adjust_points(p_profile_id, p_delta, p_reason)` → `void`
|
||||||
**Admin-only** manual points adjustment (category `admin`). Used by the future
|
**Admin-only** manual points adjustment (category `admin`). Used by the future
|
||||||
Admin app (Phase 3).
|
Admin app (Phase 2).
|
||||||
|
|
||||||
## Role helper functions
|
## Role helper functions
|
||||||
|
|
||||||
|
|||||||
+21
-17
@@ -1,8 +1,12 @@
|
|||||||
# Next Steps
|
# Next Steps
|
||||||
|
|
||||||
What's done, what's next, and the open decisions. Phases follow the original
|
What's done, what's next, and the open decisions. Phase order:
|
||||||
whiteboard: **0** Supabase core → **1** attendee app → **2** Pretix interface →
|
**0** Supabase core → **1** attendee app → **2** admin app → **3** Pretix
|
||||||
**3** admin app → **4** Sessionize interface.
|
interface → **4** Sessionize interface.
|
||||||
|
|
||||||
|
> **Renumbered:** the admin app is now **Phase 2** (built before the ticketing
|
||||||
|
> sync), and the Pretix interface is **Phase 3**. (Originally the whiteboard had
|
||||||
|
> Pretix as Phase 2 and the admin app as Phase 3.)
|
||||||
|
|
||||||
> **Current state:** Phase 0 + Phase 1 are **complete and verified** (browser-
|
> **Current state:** Phase 0 + Phase 1 are **complete and verified** (browser-
|
||||||
> tested end-to-end, Docker-verified, pushed to `git.lago.dev/Lago/Convivo.git`).
|
> tested end-to-end, Docker-verified, pushed to `git.lago.dev/Lago/Convivo.git`).
|
||||||
@@ -27,7 +31,20 @@ whiteboard: **0** Supabase core → **1** attendee app → **2** Pretix interfac
|
|||||||
|
|
||||||
## Next
|
## Next
|
||||||
|
|
||||||
### Phase 2 — Pretix interface ⬜ (next)
|
### Phase 2 — Admin app (admin.appe.at) ⬜ (next)
|
||||||
|
A separate web app for event organizers, using the **admin** role (which already
|
||||||
|
has direct write access to `profiles` / `slots` / `sessions` via RLS — see
|
||||||
|
[backend/rls.md](./backend/rls.md)).
|
||||||
|
|
||||||
|
Likely scope:
|
||||||
|
- Manage **attendees** (view, edit role/company, reset QR, adjust points via
|
||||||
|
`adjust_points`).
|
||||||
|
- Manage **schedule** (slots + sessions) — create/edit/delete.
|
||||||
|
- **Live overview** — who's checked in, connection activity, leaderboard.
|
||||||
|
- Reuse the same Supabase core + anon/service key pattern; a new `apps/admin`
|
||||||
|
PWA.
|
||||||
|
|
||||||
|
### Phase 3 — Pretix interface ⬜
|
||||||
Sync **tickets → attendees** from [Pretix](https://pretix.eu) (the ticketing
|
Sync **tickets → attendees** from [Pretix](https://pretix.eu) (the ticketing
|
||||||
system). This replaces the hand-written seed with real ticket data.
|
system). This replaces the hand-written seed with real ticket data.
|
||||||
|
|
||||||
@@ -49,19 +66,6 @@ Likely scope:
|
|||||||
2. Push (webhook on new order) vs pull (scheduled sync)?
|
2. Push (webhook on new order) vs pull (scheduled sync)?
|
||||||
3. Where does the sync job run (Supabase Edge Function vs a separate container)?
|
3. Where does the sync job run (Supabase Edge Function vs a separate container)?
|
||||||
|
|
||||||
### Phase 3 — Admin app (admin.appe.at) ⬜
|
|
||||||
A separate web app for event organizers, using the **admin** role (which already
|
|
||||||
has direct write access to `profiles` / `slots` / `sessions` via RLS — see
|
|
||||||
[backend/rls.md](./backend/rls.md)).
|
|
||||||
|
|
||||||
Likely scope:
|
|
||||||
- Manage **attendees** (view, edit role/company, reset QR, adjust points via
|
|
||||||
`adjust_points`).
|
|
||||||
- Manage **schedule** (slots + sessions) — create/edit/delete.
|
|
||||||
- **Live overview** — who's checked in, connection activity, leaderboard.
|
|
||||||
- Reuse the same Supabase core + anon/service key pattern; a new `apps/admin`
|
|
||||||
PWA.
|
|
||||||
|
|
||||||
### Phase 4 — Sessionize interface ⬜
|
### Phase 4 — Sessionize interface ⬜
|
||||||
Sync the **real agenda** (slots, sessions, speakers, rooms) from
|
Sync the **real agenda** (slots, sessions, speakers, rooms) from
|
||||||
[Sessionize](https://sessionize.com) instead of the hand-written seed.
|
[Sessionize](https://sessionize.com) instead of the hand-written seed.
|
||||||
|
|||||||
Reference in new issue
Block a user