Commit 9b5bce5
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
- New tables: meeting, meeting_event, attendance with proper relations
- Indexes on meeting_id and user_id for performance
- Implement server-side logic
- Share token generation for meetings
- Secure redirect validation for auth flows
- Meeting state management (upcoming/ongoing/recess/finished)
- 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 3581245 commit 9b5bce5
30 files changed
Lines changed: 3849 additions & 4 deletions
File tree
- drizzle
- meta
- e2e
- fixtures
- src
- lib
- i18n
- en
- fi
- server
- attendance
- auth
- 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 | + | |
0 commit comments