Commit Graph

2 Commits (45e42c3d3746f46c92bf4eb801a2cbab00e3d766)

Author SHA1 Message Date
Pau Costa Ferrer 45e42c3d37 Add booking modal and enhance reservation handling
- Create `BookingModal.svelte` for booking spaces with custom time slots or full-day durations.
- Add API endpoint to fetch reservations by space ID and date.
- Update `SpacesService` with enhanced validation rules and conflict checks for reservations.
- Extend WebSocket updates to include reservation data for real-time synchronization.
- Enable date-based filtering and status handling in UI components (`SpaceCard.svelte`, `FloorplanViewer.svelte`).
2026-03-28 15:33:34 +01:00
Pau Costa Ferrer f8af8cf2d7 Add building-level dashboard and interactive floorplan viewer
- Create `+page.svelte` for building-level dashboard with floor selection and layout preview.
- Add `FloorplanViewer.svelte` component with WebSocket integration for real-time space status updates.
- Extend `SpacesService` and API endpoints for building floors and floor details retrieval.
- Update dashboard UI with cleaner building and floor presentation.
- Improve loading states and error handling across dashboard and floor pages.
2026-03-28 15:20:17 +01:00