docs: update all documentation for reschedule modal, time blockers UI, and booking flow improvements
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -19,6 +19,11 @@ Nail salon booking platform — Go 1.25 backend + SvelteKit 5 frontend + Docker.
|
||||
- **Admin notifications**: priority-sorted queue with bell icon, `/notifications` page, acknowledge flow
|
||||
- **User notification preferences**: per-channel toggles (email, SMS, browser) in account settings
|
||||
- **Enriched edit requests**: side-by-side original vs proposed booking snapshots (time, services, prices, durations, user details) for admin review
|
||||
- **Admin reschedule modal**: full reschedule UI on Today page with real-time available slot lookup, conflict detection, and one-click confirmation
|
||||
- **Time blockers UI**: admin can create/manage one-off and recurring time blockers directly from the Admin dashboard, with overlap detection against existing bookings
|
||||
- **Today page enhancements**: interactive daily calendar grid with visual time blockers, today stats summary, responsive layout improvements
|
||||
- **Auto-select availability**: all booking flows (self-service, admin create, edit request) automatically select the first available date when data loads
|
||||
- **Shared time slot utilities**: extracted common time slot generation, lunch protection, and formatting logic into a reusable module
|
||||
|
||||
## Project Structure
|
||||
|
||||
@@ -34,7 +39,11 @@ Crussell/
|
||||
├─ frontend/ # SvelteKit 5 SPA (static build)
|
||||
│ └─ src/lib/components/
|
||||
│ ├─ payments/ # PaymentModal (admin), UserPaymentModal (user)
|
||||
│ └─ booking/ # BookingFlow (5-step wizard)
|
||||
│ ├─ booking/ # BookingFlow (5-step wizard), DatePicker, TimeSlotPicker, TimeSlotList, SelectedTimeSummary
|
||||
│ ├─ admin/ # BookingCreateModal, RescheduleModal, TimeBlockers, WeeklySchedule, HolidayHours, etc.
|
||||
│ ├─ today/ # TodayCalendar (interactive grid), CurrentAppointment, PendingApprovals, TodayStats
|
||||
│ └─ account/ # EditRequestModal, UserBookingModal
|
||||
├─ frontend/src/lib/utils/ # Shared utilities (timeSlots.ts)
|
||||
├─ sabredav/ # PHP + Composer for DAV
|
||||
├─ nginx/ # Nginx reverse-proxy for HTTP & HTTPS
|
||||
├─ init-scripts/ # PostgreSQL init SQL
|
||||
@@ -90,7 +99,7 @@ cd backend && go build -o bin/backend ./main.go
|
||||
# Frontend
|
||||
cd frontend && npm ci && npm run build
|
||||
|
||||
# Tests (438/441 passing, 3 skipped)
|
||||
# Tests (444/447 passing, 3 skipped)
|
||||
cd backend && go test -tags "test,dev" ./...
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user