How kwrsahil/learning-roadmap works
Learning Roadmap is a React tracker for a 13-week, 65-session curriculum. Users browse sessions, open a session to record status, study time, checklist progress and learning notes, then review due material and monitor completion. The app assembles Home, Plan, Review and Progress views around shared progress state. Curriculum content is split by subject; progress calculations and date utilities support the workflow, while persistence handles migration and portable backups. The README describes local browser storage, but sampled storage code also calls a local server API; unsampled server behavior is not detailed here.
Main entry points: roadmap.js Roadmap assembly · App.jsx App shell · progress.js Progress calculations · useLearningProgress.js Progress state
Components 23
App experience
- React entry
src/main.jsx - App shell
src/App.jsx - Home view
src/pages/HomePage.jsx - Plan view
src/pages/PlanPage.jsx - Review view
src/pages/ReviewPage.jsx - Progress view
src/pages/ProgressPage.jsx - Session detail
src/components/SessionDialog.jsx - Session row
src/components/SessionRow.jsx - Subject chip
src/components/SubjectChip.jsx
Curriculum data
- Roadmap assembly
src/data/roadmap.js - Personal syllabus
src/data/subjects/personal-integration.js - Math syllabus
src/data/subjects/mathematics.js - Programming syllabus
src/data/subjects/programming.js - Software syllabus
src/data/subjects/software-development.js - CS syllabus
src/data/subjects/computer-science.js - Subject metadata
src/data/subjects.js
Progress domain
- Progress state
src/hooks/useLearningProgress.js - Progress calculations
src/utils/progress.js - Date utilities
src/utils/dates.js
Persistence
- Progress persistence
src/utils/storage.js - Legacy ID map
src/data/legacyIdMap.js - Save API server
server/index.js
Other components
- Learner
Connections 40
- Learner → React entry: opens app
README.md - React entry → App shell: renders
src/main.jsx - App shell → Progress state: uses state
src/App.jsx - App shell → Date utilities: gets current week
src/App.jsx - App shell → Progress calculations: builds review queues
src/App.jsx - App shell → Home view: renders
src/App.jsx - App shell → Plan view: renders
src/App.jsx - App shell → Review view: renders
src/App.jsx - App shell → Progress view: renders
src/App.jsx - App shell → Session detail: renders
src/App.jsx - Home view → Roadmap assembly: reads sessions
src/pages/HomePage.jsx - Home view → Progress calculations: calculates summaries
src/pages/HomePage.jsx - Plan view → Roadmap assembly: filters sessions
src/pages/PlanPage.jsx - Plan view → Progress calculations: reads status
src/pages/PlanPage.jsx - Plan view → Session row: renders rows
src/pages/PlanPage.jsx - Session row → Subject chip: renders
src/components/SessionRow.jsx - Session row → Progress calculations: reads checklist
src/components/SessionRow.jsx - Review view → Subject chip: renders
src/pages/ReviewPage.jsx - Progress view → Roadmap assembly: reads sessions
src/pages/ProgressPage.jsx - Progress view → Progress calculations: calculates totals
src/pages/ProgressPage.jsx - Progress view → Progress persistence: exports backups
src/pages/ProgressPage.jsx - Session detail → Subject chip: renders
src/components/SessionDialog.jsx - Session detail → Progress calculations: calculates session details
src/components/SessionDialog.jsx - Session detail → Progress state: invokes supplied handlers
README.md - Roadmap assembly → Personal syllabus: combines
src/data/roadmap.js - Roadmap assembly → Math syllabus: combines
src/data/roadmap.js - Roadmap assembly → Programming syllabus: combines
src/data/roadmap.js - Roadmap assembly → Software syllabus: combines
src/data/roadmap.js - Roadmap assembly → CS syllabus: combines
src/data/roadmap.js - Progress state → Roadmap assembly: loads sessions
src/hooks/useLearningProgress.js - Progress state → Progress calculations: uses helpers
src/hooks/useLearningProgress.js - Progress state → Date utilities: gets today
src/hooks/useLearningProgress.js - Progress state → Progress persistence: loads and saves
src/hooks/useLearningProgress.js - Progress calculations → Date utilities: computes review dates
src/utils/progress.js - Progress calculations → Subject metadata: uses subject metadata
src/utils/progress.js - Subject chip → Subject metadata: reads labels and colors
src/components/SubjectChip.jsx - Progress persistence → Roadmap assembly: validates session IDs
src/utils/storage.js - Progress persistence → Legacy ID map: maps legacy IDs
src/utils/storage.js - Progress persistence → Progress calculations: normalizes records
src/utils/storage.js - Progress persistence → Save API server: requests progress API
src/utils/storage.js