How violetcoode/noticeiq works
NoticeIQ is a campus information and student-task application. The main user workflow is authentication, capturing a notice, AI-assisted extraction into structured tasks, and viewing or updating those tasks in the dashboard. The app also exposes calendar, analytics, campus identity, and document-vault features, plus Gmail and push-notification integrations. Edges reflect shown calls or README claims; several screens and backend functions are indexed but not excerpted, so their internal wiring is not inferred.
Main entry points: supabase.js Supabase access · App.jsx App shell · Dashboard.jsx Task dashboard · gemini.js Notice extraction
Components 25
Application
- App shell
src/App.jsx - Authentication
src/screens/AuthScreen.jsx
Notice Workflow
- Notice capture
src/screens/Capture.jsx - Task dashboard
src/screens/Dashboard.jsx - Task views
src/components/TaskCard.jsx - Calendar
src/screens/CalendarScreen.jsx - Analytics
src/screens/AnalyticsScreen.jsx - Search
src/components/SearchModal.jsx
Services and Data
- Notice extraction
src/services/gemini.js - Groq fallback
src/services/groq.js - Gmail integration
src/services/gmail.js - Push notifications
src/services/notifications.js - Supabase access
src/services/supabase.js - Supabase backend
- Date utilities
src/utils/dateUtils.js - Input security
src/utils/securityUtils.js - Edge notice extraction
supabase/functions/extract-notice/index.ts - Gmail sync
supabase/functions/gmail-sync/index.ts - Alert checks
supabase/functions/check-alerts/index.ts - Reminder checks
supabase/functions/check-reminders/index.ts
Campus Features
- Campus vault
src/screens/CampusVault.jsx - Digital student ID
src/components/DigitalStudentId.jsx - Room finder
src/components/RoomFinder.jsx - Public ID verification
src/components/PublicVerifyScreen.jsx
Other components
- Student or staff
Connections 31
- Student or staff → Authentication: signs in
src/screens/AuthScreen.jsx - Student or staff → Notice capture: submits notice
README.md - Notice capture → Notice extraction: extracts notice
src/services/gemini.js - Notice extraction → Groq fallback: uses fallback
src/services/gemini.js - Notice extraction → Edge notice extraction: invokes function
src/services/gemini.js - App shell → Authentication: renders
src/App.jsx - App shell → Task dashboard: renders
src/App.jsx - App shell → Campus vault: renders
src/App.jsx - App shell → Supabase access: creates notice
src/App.jsx - App shell → Gmail integration: exchanges OAuth code
src/App.jsx - Task dashboard → Supabase access: updates tasks
src/screens/Dashboard.jsx - Task dashboard → Task views: renders task views
src/screens/Dashboard.jsx - Task dashboard → Gmail integration: checks connection
src/screens/Dashboard.jsx - Task dashboard → Push notifications: registers alerts
src/screens/Dashboard.jsx - Search → Date utilities: formats deadlines
src/components/SearchModal.jsx - Supabase access → Supabase backend: reads and writes
src/services/supabase.js - Push notifications → Supabase access: saves subscription
src/services/notifications.js - Authentication → Supabase access: authenticates
src/screens/AuthScreen.jsx - Campus vault → Digital student ID: renders identity
src/screens/CampusVault.jsx - Campus vault → Room finder: renders finder
src/screens/CampusVault.jsx - Digital student ID → Supabase access: loads profile and photo
src/components/DigitalStudentId.jsx - Public ID verification → Supabase access: verifies identity
src/components/PublicVerifyScreen.jsx - Notice capture → Input security: sanitizes input
src/screens/Capture.jsx - Notice extraction → Input security: sanitizes notice
src/services/gemini.js - Supabase access → Date utilities: parses deadlines
src/services/supabase.js - Gmail sync → Supabase backend: syncs mail data
- Alert checks → Supabase backend: checks alert data
- Reminder checks → Supabase backend: checks reminders
- Student or staff → Search: searches notices
README.md - Student or staff → Calendar: reviews schedule
README.md - Student or staff → Analytics: views insights
README.md