Commit ad72151
committed
feat: implement comprehensive meeting attendance tracking system
- Add database schema for meetings, meeting events, and attendance
- New enums: meeting_status, meeting_event_type, attendance_event_type, scan_method
- All enums use lowercase_snake_case to match project conventions
- New tables: meeting, meeting_event, attendance with proper relations
- Indexes on meeting_id and user_id for performance
- Implement server-side logic
- Meeting state management (upcoming/ongoing/recess/finished)
- QR token utilities (already from phase 1)
- Add admin UI for meetings management
- List/create meetings page with status badges
- Meeting detail page with event timeline and status transitions
- Attendees page with filtering, search, and CSV export
- QR code scanner page for check-in/check-out using qr-scanner library
- Manual check-in/check-out functionality
- Features
- Automatic toggle between check_in/check_out based on current status
- Meeting recess support with optional bulk check-out
- Real-time attendance tracking with timestamps
- Export attendance data to CSV
- Comprehensive E2E tests for all workflows
- Add translations (fi/en) for meetings UI
- Add navigation item for Meetings in admin sidebar
This is phase 2 of the QR code system - focuses on admin tools for
meeting attendance. Phase 1 (member QR verification) already merged.
Phase 3 (public attendance sharing) will come later.1 parent 2005214 commit ad72151
28 files changed
Lines changed: 3586 additions & 4 deletions
File tree
- drizzle
- meta
- e2e
- fixtures
- src
- lib
- i18n
- en
- fi
- server/db
- routes/[locale=locale]/(app)/admin/meetings
- [id]
- attendees
- export
- scan
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments