Events: toggle switch to activate/deactivate (single-active)
- Replace the 'Set active' button / 'Active' pill in the Events table with a toggle switch. Activating an event deactivates all others (enforced by the existing DB trigger + partial unique index); deactivating just turns it off. - Add deactivateEvent() API helper. - Update docs (admin-app.md, next-steps.md).
This commit is contained in:
1 parent
a54ce69c4d
commit
8054d0ace2
4 files changed
+21
-20
No files matched your search
+1
-1
@@ -131,7 +131,7 @@ rebuilt the views on the new model:
|
||||
- **Schedule** — slots (with type) + sessions (speakers 1:N, material upload,
|
||||
`average_feedback`, `ai_generated_feedback` + "Evaluate" stub button).
|
||||
- **Activity** — check-ins / connections / feedback (per active event).
|
||||
- **Event management** — create event, set active (only one), edit
|
||||
- **Event management** — create event, toggle active/inactive (only one active at a time), edit
|
||||
dates/location.
|
||||
|
||||
### Phase 5 — Convivo App ✅
|
||||
|
||||
Reference in new issue
Block a user