How zenxync/zenschola works
ZenSchola is a student dashboard for daily lectures, attendance, study links, notes, and student identification. The main workflow loads user and lecture data, presents the dashboard, and lets students record attendance or open lecture resources; settings and utility dialogs manage related preferences and links. Supabase is the documented data backend, while the README describes generated student-ID QR codes. Some dashboard and storage details are unsampled, so uncertain links are omitted or marked dashed.
Main entry points: main.jsx Dashboard · App.jsx App router · settings.jsx Settings · schedule-card.jsx Lecture card
Components 22
App flow
- App router
src/App.jsx - Dashboard
src/routes/main.jsx - Data fetching
src/functions.js - Greeting
src/routes/components/greeting.jsx - Quote
src/routes/components/quote.jsx - Navigation
src/routes/components/navbar.jsx
Lectures and attendance
- Attendance graph
src/routes/components/line-graph.jsx - Today schedule
src/routes/components/today-schedule-element.jsx - Lecture card
src/routes/components/schedule-card.jsx - Lecture badge
src/routes/components/lecture-code-badge.jsx - Lecture software
src/routes/components/lecture-software.jsx
Personal tools
- Scratch pad
src/routes/components/scratch-pad.jsx - Scratch editor
src/routes/components/scratch-box.jsx - Study utilities
src/routes/components/study-utilities-app.jsx - Add utility
src/routes/components/modals/add-study-utility.jsx - Edit utility
src/routes/components/modals/edit-study-utility.jsx - Student ID
src/routes/components/student-id.jsx
Settings and account
- Settings
src/routes/settings.jsx - Edit lecture links
src/routes/components/modals/edit-lecture-software.jsx
Other components
- Student
- Supabase
- ZenAccount
Connections 26
- Student → App router: opens
src/App.jsx - App router → Data fetching: loads data
src/App.jsx - Data fetching → Supabase: queries
src/functions.js - App router → Dashboard: routes to
src/App.jsx - App router → Settings: routes to
src/App.jsx - App router → Navigation: renders
src/App.jsx - App router → Add utility: renders
src/App.jsx - App router → Edit utility: renders
src/App.jsx - App router → Student ID: renders
src/App.jsx - Dashboard → Greeting: renders
src/routes/main.jsx - Dashboard → Quote: renders
src/routes/main.jsx - Dashboard → Attendance graph: renders
src/routes/main.jsx - Dashboard → Today schedule: renders
src/routes/main.jsx - Dashboard → Lecture card: renders
src/routes/main.jsx - Dashboard → Scratch pad: renders
src/routes/main.jsx - Dashboard → Study utilities: renders
src/routes/main.jsx - Scratch pad → Scratch editor: renders
src/routes/components/scratch-pad.jsx - Lecture card → Lecture badge: renders
src/routes/components/schedule-card.jsx - Lecture card → Supabase: records attendance
- Settings → Data fetching: loads lectures
src/routes/settings.jsx - Settings → Edit lecture links: renders
src/routes/settings.jsx - Edit lecture links → Supabase: updates links
src/routes/components/modals/edit-lecture-software.jsx - Add utility → Supabase: saves utility
- Edit utility → Supabase: updates utility
src/routes/components/modals/edit-study-utility.jsx - Settings → ZenAccount: redirects login
src/routes/settings.jsx - Dashboard → Lecture software: offers links