How usamausman/timetable works
Main System Components
a) Client-Side Application Layer
• SvelteKit Frontend (Main application framework)
• PWA Components
• UI Components
• State Management
• Service Workers
b) External Integration Layer
• Calendar Export Services
• University of Leeds Timetable System
• Geolocation Services (for class locations)
Component Relationships
Frontend Components (Top Layer):
• Form Component
• Grid Component (Timetable Display)
• Class Component
• Modal Component
• Button Component
• Input Component
• Options Component
State Management (Middle Layer):
• Svelte Stores
• Helper Functions
• Class Management
• Timetable Logic
PWA Features (Bottom Layer):
• Service Worker
• Offline Storage
• Push Notifications
• Cache Management
Interaction Flows
• User Interface → State Management
• State Management → Service Worker
• Service Worker → External Services
• Service Worker → Cache Storage
Technical Details
Annotations for:
• SvelteKit routing structure
• TypeScript integration
• Service worker caching strategy
• State management pattern using Svelte stores