1c0140292f1b8a8c4f91b2bc5be980d52ec39335
Integrate drag-to-create functionality with the full event creation pipeline: - Connect WeekView drag events to CreateEventModal via callback chain - Add event creation request callback through Calendar → RouteHandler → App - Implement proper timezone conversion throughout the entire flow - Fix pixels_to_time calculation (1px = 1 minute, not complex formula) - Add initial_start_time/initial_end_time props to CreateEventModal - Convert local times to UTC in both event creation and update functions - Ensure modal displays correct local times while backend receives UTC - Support both temporary drag events and real server events in modal The complete flow now works: drag selection → modal with correct times → proper UTC conversion → backend storage → correct display in calendar. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Calendar App
A full-stack calendar application built with Rust, featuring a Yew frontend and Axum backend with CalDAV integration.
Features
- Interactive calendar interface
- Event creation and management
- CalDAV server integration
- User authentication with JWT
- iCal format support
- Weekly recurrence patterns
- Responsive web design
Architecture
- Frontend: Yew (Rust WebAssembly)
- Backend: Axum (Rust async web framework)
- Protocol: CalDAV for calendar synchronization
- Database: SQLite (via migrations)
- Build Tool: Trunk for frontend bundling
Getting Started
Prerequisites
- Rust (latest stable version)
- Trunk (
cargo install trunk)
Development
-
Start the backend server:
cd backend cargo run -
Start the frontend development server:
trunk serve -
Open your browser to
http://localhost:8080
Building for Production
trunk build --release
Project Structure
src/- Frontend Yew applicationbackend/- Axum backend servermigrations/- Database schema migrationsdist/- Built frontend assets
Description
Languages
Rust
76.9%
CSS
22.4%
JavaScript
0.4%
Dockerfile
0.2%
HTML
0.1%