How imaginewecreatethis-byte/wb-t-c-progress-monitoring-system works
WB-T&C is a role-based capstone/thesis progress portal. Students register, submit requirements, and track progress; teachers and admins review submissions, manage accounts, and share course-scoped galleries, while admins can issue clearances. The browser UI is primarily orchestrated by src/script.js, with db.js handling Supabase access and separate document-analysis and viewing modules. README capabilities supplement the sampled code; some UI-to-module wiring is not visible in the excerpts, so those links are omitted or marked unverified.
Main entry points: script.js Portal workflows · db.js Data access · userpage.html Student portal · adminpage.html Teacher console
Components 21
Portal workflows
- Portal workflows
src/script.js - Sign-in and registration
db.js - Requirement submissions
db.js - Course gallery
src/script.js - Clearance release
src/script.js - Account administration
src/script.js - Notifications
src/script.js
Review and documents
- Progress analysis
src/analyzer.js - Review actions
src/script.js - File viewer
src/viewer.js
Data services
- Data access
db.js - Supabase
- Submission storage
- Database policies
supabase
Role interfaces
- Student portal
pages/userpage.html - Teacher console
pages/adminpage.html - Admin console
pages/superadminpage.html - Icon helpers
assets/icons.js
Other components
- Student
- Teacher
- Admin
Connections 21
- Student → Student portal: uses
README.md - Teacher → Teacher console: uses
README.md - Admin → Admin console: uses
README.md - Student portal → Portal workflows: opens
- Teacher console → Portal workflows: opens
- Admin console → Portal workflows: opens
- Portal workflows → Sign-in and registration: authenticates
src/script.js - Portal workflows → Requirement submissions: manages
- Portal workflows → Progress analysis: checks documents
- Portal workflows → Review actions: handles reviews
src/script.js - Portal workflows → Course gallery: filters gallery
src/script.js - Portal workflows → Clearance release: releases clearance
src/script.js - Portal workflows → Account administration: manages accounts
src/script.js - Portal workflows → Notifications: shows notices
src/script.js - Portal workflows → Icon helpers: renders icons
src/script.js - Sign-in and registration → Data access: uses
db.js - Requirement submissions → Data access: uses
db.js - Data access → Supabase: creates client
db.js - Data access → Submission storage: reads and writes
db.js - File viewer → Progress analysis: loads ZIP helper
src/viewer.js - Database policies → Supabase: configures schema