Update readme

This commit is contained in:
2026-02-17 21:47:11 +00:00
parent bbb273c192
commit e20263b717
2 changed files with 10 additions and 1 deletions
+7
View File
@@ -36,9 +36,12 @@
- [x] `/api/admin/users` - List, view with booking history
- [x] `/api/admin/today` - Current/next appointment, today's appointments, pending approvals
- [x] `/api/admin/notifications` - GET/acknowledge endpoint wired, but:
- [x] **Pending notification acknowledgment** - Acknowledged on confirm/cancel (not deleted)
- [x] **Cancelled booking notification** - Created when cancelling non-pending bookings
- [ ] Frontend UI to display notifications
- [ ] Push mechanism (currently only pull-based)
- [ ] User notifications (only admin notifications exist)
- [ ] User notification preferences (DB table ready)
#### Scheduling System
- [x] `/api/scheduling/default-hours` - GET public, PUT admin
@@ -284,6 +287,7 @@ admin_notification_reason: pending_booking | cancelled_booking | rescheduled_boo
| `payments` | Payment transactions |
| `business_settings` | Business configuration |
| `admin_notifications` | Admin notification queue |
| `user_notification_preferences` | User notification preferences (email/sms/push) |
### Key Functions
@@ -325,6 +329,7 @@ admin_notification_reason: pending_booking | cancelled_booking | rescheduled_boo
|------|-------------|
| **Notifications UI** | Frontend panel to display admin notifications |
| **Notifications push** | Real-time notification mechanism (WebSocket/polling) |
| **User notification preferences** | [x] DB table ready, waiting on user notification system |
| **User notifications** | Notification system for regular users (booking confirmations, reminders) |
| **Remove debug logs** | `console.log` in BookingFlow.svelte:600 and BookingCreateModal.svelte:224 |
| **S3/R2 image hosting** | Portfolio image storage with admin upload |
@@ -432,6 +437,8 @@ src/lib/components/
- **GDPR functions exist in SQL** (`anonymize_user`, `export_all_user_data`, `delete_guest_user`) but only `DELETE /api/user/account` is wired - need user data export and admin tax export endpoints
- **Debug console.logs** in `BookingFlow.svelte:600` and `BookingCreateModal.svelte:224` should be removed before production
- **Notifications** are pull-based only (no push/WebSocket). Admin endpoint exists but no frontend UI. No user-facing notification system yet.
- **Notification acknowledgment**: When a booking is confirmed, any pending notification is acknowledged. When cancelled, pending is acknowledged and cancelled_booking notification is only created if the booking was not in pending status (e.g. was confirmed or in_progress).
- **User notification preferences**: `user_notification_preferences` table exists with email/sms/push enabled flags, waiting on user notification system to be implemented.
---