Commit Graph

9 Commits

Author SHA1 Message Date
poduck
2a95b007e2 feat: Implement overlapping lane layout for Month View drop overlay 2025-11-27 20:22:57 -05:00
poduck
d54d9eee6b feat: Refine month view: fade non-current month days and add auto-scroll to drop overlay 2025-11-27 20:21:22 -05:00
poduck
d7cc83ebdd feat: Implement drag-and-drop in Month View with 'Day Snap' time slot overlay 2025-11-27 20:14:48 -05:00
poduck
373257469b Add scheduler improvements, API endpoints, and month calendar view
Backend:
- Add /api/customers/ endpoint (CustomerViewSet, CustomerSerializer)
- Add /api/services/ endpoint with Service model and migrations
- Add Resource.type field (STAFF, ROOM, EQUIPMENT) with migration
- Fix EventSerializer to return resource_id, customer_id, service_id
- Add date range filtering to EventViewSet (start_date, end_date params)
- Add create_demo_appointments management command
- Set default brand colors in business API

Frontend:
- Add calendar grid view for month mode in OwnerScheduler
- Fix sidebar navigation active link contrast (bg-white/10)
- Add default primaryColor/secondaryColor fallbacks in useBusiness
- Disable WebSocket (backend not implemented) to stop reconnect loop
- Fix Resource.type.toLowerCase() error by adding type to backend

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 20:09:04 -05:00
poduck
38c43d3f27 Relax CSP settings in local.py to fix Stripe Connect issues
- Convert CSP settings to lists
- Add 'unsafe-eval' and 'unsafe-inline' to script-src
- Add 'blob:' to default-src as fallback
- Update connect-src to include Stripe domains
2025-11-27 12:39:17 -05:00
poduck
4ca3144658 Add embedded Dev Quick Login to Login Page 2025-11-27 12:36:23 -05:00
poduck
06ed9e6f69 Fix Frontend Issues: CSP, Chart Height, and Logout
- Add CSP settings explicitly to local.py to ensure they are active
- Implement logout API endpoint (view and url) to fix 404
- Add min-height to chart container in PlatformDashboard to fix recharts error
2025-11-27 12:33:12 -05:00
poduck
249a9040d2 Implement Platform Superuser UI and Fix API Role Casing
- Update API to return lowercase roles for frontend compatibility
- Fix Tenant owner lookup in platform admin serializer
- Update frontend App.tsx to match tarball implementation
- Prioritize vite.config.js for HMR support
- Include pending CSP and CORS configuration updates
2025-11-27 02:16:05 -05:00
poduck
2e111364a2 Initial commit: SmoothSchedule multi-tenant scheduling platform
This commit includes:
- Django backend with multi-tenancy (django-tenants)
- React + TypeScript frontend with Vite
- Platform administration API with role-based access control
- Authentication system with token-based auth
- Quick login dev tools for testing different user roles
- CORS and CSRF configuration for local development
- Docker development environment setup

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 01:43:20 -05:00