How technoyashvardhan/slotsync-cs works
SlotSync CS is a browser-based departmental timetable and free-slot scheduling application. Users load or import schedule data, explore weekly and department-wide availability, and reserve one-off or recurring sessions after conflict checks. The README also documents CSV/PDF reporting and Gemini-assisted timetable questions and booking suggestions. The supplied excerpts confirm the app’s CSV parsing and demo-data loading, booking conflict checks, schedule inversion logic, and Gemini API calls; several view-to-service connections are documented capabilities but their implementation wiring was not sampled.
Main entry points: App.tsx Application Shell · timeUtils.ts Time Utilities · csvParser.ts CSV Parser · BookingModal.tsx Booking Form
Components 19
Application UI
- Application Shell
src/App.tsx - Dashboard
src/components/DashboardView.tsx - Free-Slot Finder
src/components/SlotFinderView.tsx - Weekly Timetable
src/components/WeeklyTimetableView.tsx - Schedule Matrix
src/components/TimelineVisualizer.tsx - Data Center
src/components/DataManagementView.tsx
Schedule Engine
- Schedule Types
src/types/schedule.ts - CSV Parser
src/utils/csvParser.ts - Slot Inversion
src/utils/scheduleEngine.ts - Time Utilities
src/utils/timeUtils.ts - Demo Schedule
src/data/mockData.ts
Booking and Conflicts
- Booking Form
src/components/BookingModal.tsx - Conflict Checker
src/utils/conflictChecker.ts
AI and Reporting
- AI Copilot
src/components/GeminiAssistantModal.tsx - Gemini Service
src/services/geminiService.ts - Markdown Renderer
src/components/MarkdownView.tsx - Schedule Export
src/utils/exportUtils.ts
Other components
- Department User
- Google Gemini API
Connections 23
- Department User → Application Shell: uses
- Application Shell → Dashboard: shows
- Application Shell → Free-Slot Finder: shows
- Application Shell → Weekly Timetable: shows
- Application Shell → Schedule Matrix: shows
- Application Shell → Data Center: shows
- Application Shell → Booking Form: opens
- Application Shell → AI Copilot: opens
- Application Shell → CSV Parser: parses schedule
- Application Shell → Demo Schedule: loads demo
- CSV Parser → Time Utilities: validates times
- CSV Parser → Schedule Types: produces rows
- Slot Inversion → Time Utilities: formats slots
- Free-Slot Finder → Slot Inversion: finds openings
- Booking Form → Conflict Checker: checks availability
- Conflict Checker → Time Utilities: checks intervals
- Booking Form → Schedule Types: uses schedule data
- Schedule Matrix → Schedule Types: renders schedule
- Weekly Timetable → Time Utilities: gets week dates
- AI Copilot → Gemini Service: requests assistance
- Gemini Service → Google Gemini API: sends prompts
- Gemini Service → Markdown Renderer: returns response
- Data Center → Schedule Export: exports reports