How aabbhii/pdf-study- works
This is a student and faculty campus-management portal: users sign in, enter a protected dashboard, and work with academic schedules, announcements, resources, events, projects, study tools, and AI utilities. The graph emphasizes those domain areas and the shared API/auth layers. Several feature pages and integrations were not sampled; their presence is supported by the route table and file tree, but uncertain implementation links are omitted.
Main entry points: App.tsx Routes and access · client.ts API and mock client · DashboardPage.tsx Dashboard · StudyPage.tsx Study workspace
Components 32
Application Shell
- Routes and access
src/App.tsx - Sign-in
src/pages/LoginPage.tsx
Academic Hub
- Dashboard
src/pages/DashboardPage.tsx - Timetable
src/pages/TimetablePage.tsx - Announcements
src/pages/AnnouncementsPage.tsx - Events calendar
src/pages/EventsPage.tsx - Administration
src/pages/AdminPage.tsx
Projects & Resources
- Learning resources
src/pages/ResourcesPage.tsx - Project hub
src/pages/ProjectsPage.tsx - Project details
src/pages/ProjectDetailPage.tsx - Global search
src/components/search/GlobalSearchBar.tsx
Learning Tools
- Study workspace
src/pages/Study/StudyPage.tsx - Q&A mode
src/pages/Study/QAMode.tsx - Study mode
src/pages/Study/StudyMode.tsx - AI Studio
src/pages/AIStudioPage.tsx - Audio transcription
src/components/ai/AudioTranscriber.tsx - Video generation
src/components/ai/VideoGenerator.tsx
Shared Services
- Authentication state
src/context/AuthContext.tsx - AI service
src/api/aiService.ts - API and mock client
src/api/client.ts - Announcement API
src/api/announcements.ts - Classroom API
src/api/classrooms.ts - Events API
src/api/events.ts - Timetable API
src/api/timetable.ts - Projects API
src/api/projects.ts - Resources API
src/api/resources.ts - Study API
src/api/study.ts - Authentication API
src/api/auth.ts - Browser mock state
src/api/client.ts - Shared UI primitives
src/components/common - Domain types
src/types/index.ts
Other components
- Campus user
Connections 42
- Campus user → Routes and access: uses
src/App.tsx - Routes and access → Authentication state: provides auth
src/App.tsx - Routes and access → Sign-in: routes to
src/App.tsx - Routes and access → Dashboard: routes to
src/App.tsx - Routes and access → Timetable: routes to
src/App.tsx - Routes and access → Announcements: routes to
src/App.tsx - Routes and access → Events calendar: routes to
src/App.tsx - Routes and access → Administration: guards route
src/App.tsx - Routes and access → Learning resources: routes to
src/App.tsx - Routes and access → Project hub: routes to
src/App.tsx - Routes and access → Project details: routes to
src/App.tsx - Routes and access → Study workspace: routes to
src/App.tsx - Routes and access → AI Studio: routes to
src/App.tsx - Authentication state → Authentication API: authenticates with
src/context/AuthContext.tsx - Dashboard → Timetable API: loads schedule
src/pages/DashboardPage.tsx - Dashboard → Events API: loads events
src/pages/DashboardPage.tsx - Dashboard → Announcement API: loads notices
src/pages/DashboardPage.tsx - Events calendar → Events API: manages events
src/pages/EventsPage.tsx - Project hub → Projects API: manages projects
src/pages/ProjectsPage.tsx - Project hub → Classroom API: loads classrooms
src/pages/ProjectsPage.tsx - Project details → Projects API: updates membership
src/pages/ProjectDetailPage.tsx - Project details → Classroom API: loads classrooms
src/pages/ProjectDetailPage.tsx - Learning resources → Resources API: manages resources
src/pages/ResourcesPage.tsx - Global search → Resources API: searches resources
src/components/search/GlobalSearchBar.tsx - Global search → Announcement API: searches notices
src/components/search/GlobalSearchBar.tsx - Global search → Projects API: searches projects
src/components/search/GlobalSearchBar.tsx - Study workspace → Q&A mode: selects mode
src/pages/Study/StudyPage.tsx - Study workspace → Study mode: selects mode
src/pages/Study/StudyPage.tsx - Study workspace → Study API: loads study data
src/pages/Study/StudyPage.tsx - Q&A mode → Study API: uses study data
src/pages/Study/QAMode.tsx - Q&A mode → Classroom API: loads classrooms
src/pages/Study/QAMode.tsx - Study mode → Study API: uses study data
src/pages/Study/StudyMode.tsx - Video generation → AI service: requests generation
src/components/ai/VideoGenerator.tsx - Announcement API → API and mock client: uses client
src/api/announcements.ts - Classroom API → API and mock client: uses client
src/api/classrooms.ts - Projects API → API and mock client: uses client
src/api/projects.ts - Resources API → API and mock client: uses client
src/api/resources.ts - Study API → API and mock client: uses client
src/api/study.ts - Authentication API → API and mock client: uses client
src/api/auth.ts - API and mock client → Browser mock state: reads and writes
src/api/client.ts - AI Studio → Audio transcription: offers tool
- AI Studio → Video generation: offers tool