How kodusta/softito-wheel-and-write works
Sınıf Çarkı supports a teacher-led classroom workflow and a student status-reporting view: teachers manage the roster and attendance, spin to select a student, record the outcome, and track participation; students select their identity and report when coding is finished. App coordinates the views and state, including QR access and class-status alerts. Local browser storage and Firebase provide persistence and status synchronization. Component wiring is shown in sampled source; other README-described capabilities are included where visible, but unsampled implementation details are not inferred.
Main entry points: App.jsx App coordinator · firebase.js Status data adapter · ResultModal.jsx Result modal · StudentList.jsx Student list
Components 14
Classroom users
- Teacher
- Student
Application workflow
- App coordinator
src/App.jsx - Student status view
src/App.jsx - Roster and attendance
src/App.jsx - QR access
src/App.jsx
Interface components
- Student list
src/components/StudentList.jsx - Lucky wheel
src/components/Wheel.jsx - Selection history
src/components/HistoryPanel.jsx - Result modal
src/components/ResultModal.jsx - Confetti effect
src/components/Confetti.jsx
Status and persistence
- Status data adapter
src/firebase.js - Browser storage
- Firebase Firestore
Connections 14
- Teacher → App coordinator: uses teacher view
README.md - Student → Student status view: reports completion
README.md - App coordinator → Student status view: routes by role
src/App.jsx - App coordinator → Roster and attendance: manages class
src/App.jsx - App coordinator → QR access: offers QR access
README.md - App coordinator → Student list: renders and updates
src/App.jsx - App coordinator → Lucky wheel: renders wheel
src/App.jsx - App coordinator → Selection history: renders history
src/App.jsx - App coordinator → Result modal: renders result
src/App.jsx - Result modal → Confetti effect: renders effect
src/components/ResultModal.jsx - App coordinator → Status data adapter: updates and subscribes
src/App.jsx - App coordinator → Browser storage: persists app state
README.md - Status data adapter → Firebase Firestore: reads and writes
src/firebase.js - Status data adapter → Browser storage: simulates status sync
src/firebase.js