How robiparvez/technical-lead works
Technical Lead Study Guide is a static interview-preparation app. Readers browse topic-based questions, search or filter the question index, mark questions as known, and view animated diagrams; a separate quiz workflow builds randomized rounds, records answers and scores, and supports review. The graph focuses on these reader-facing flows and their persistence/rendering layers. Some major pages and components were not excerpted, so documented capabilities are represented where supported, while uncertain implementation links are omitted.
Main entry points: Diagram.tsx Diagram player · index.ts Topic and search index · QuizRunner.tsx Quiz runner · shared.tsx Diagram primitives
Components 29
Study guide
- App shell
src/components/Shell.tsx - Topic navigation
src/components/TopicNav.tsx - Topic pages
src/app/topics/[slug]/page.tsx - Question rail
src/components/QuestionRail.tsx - Study index
src/app/page.tsx - Search input
src/components/SearchBox.tsx - Search and results
src/components/SearchResults.tsx - References
src/app/references/page.tsx - Topic content
src/data/topics - Topic and search index
src/data/index.ts
Quiz practice
- Quiz index page
src/app/quiz/page.tsx - Quiz listing
src/components/QuizIndex.tsx - Quiz attempt page
src/app/quiz/[slug]/page.tsx - Quiz runner
src/components/QuizRunner.tsx - Round and points logic
src/lib/quiz.ts - Quiz score state
src/lib/scores.ts - Points table
src/components/PointsTable.tsx - Result mark
src/components/ResultMark.tsx
Reader state
- Known-question state
src/lib/progress.ts - Local storage adapter
src/lib/storage.ts - Theme switch
src/components/ThemeSwitch.tsx
Diagram rendering
- Diagram player
src/components/Diagram.tsx - Spec compositions
src/components/diagrams/SpecDiagram.tsx - Hand-built diagrams
src/components/diagrams/StaticDiagrams.tsx - Request flow
src/components/diagrams/RequestFlow.tsx - Saga flow
src/components/diagrams/SagaFlow.tsx - CI/CD flow
src/components/diagrams/CiCdFlow.tsx - Diagram primitives
src/components/diagrams/shared.tsx
Other components
- Reader
Connections 42
- Reader → App shell: opens app
- App shell → Topic navigation: renders
src/app/layout.tsx - App shell → Search input: renders
src/app/layout.tsx - Reader → Study index: opens index
src/app/page.tsx - Study index → Topic and search index: builds index
src/app/page.tsx - Study index → Search and results: renders
src/app/page.tsx - Search input → Search and results: updates query
src/components/SearchBox.tsx - Search and results → Topic and search index: filters entries
src/components/SearchResults.tsx - Search and results → Known-question state: reads known state
src/components/SearchResults.tsx - Topic navigation → Known-question state: reads progress
src/components/TopicNav.tsx - Reader → Topic pages: opens topic
src/app/topics/[slug]/page.tsx - Topic pages → Topic and search index: loads topic
src/app/topics/[slug]/page.tsx - Topic pages → Question rail: renders questions
src/app/topics/[slug]/page.tsx - Question rail → Known-question state: toggles known
src/components/QuestionRail.tsx - Question rail → Diagram player: renders diagrams
src/components/QuestionRail.tsx - Reader → References: opens references
README.md - Reader → Quiz index page: opens quizzes
src/app/quiz/page.tsx - Quiz index page → Topic and search index: loads topics
src/app/quiz/page.tsx - Quiz index page → Quiz listing: renders listing
src/app/quiz/page.tsx - Quiz listing → Round and points logic: uses quiz rules
src/components/QuizIndex.tsx - Quiz listing → Quiz score state: reads scores
src/components/QuizIndex.tsx - Reader → Quiz attempt page: starts quiz
src/app/quiz/[slug]/page.tsx - Quiz attempt page → Topic and search index: loads topic
src/app/quiz/[slug]/page.tsx - Quiz attempt page → Quiz runner: renders attempt
src/app/quiz/[slug]/page.tsx - Quiz runner → Round and points logic: builds round
src/components/QuizRunner.tsx - Quiz runner → Quiz score state: records answers
src/components/QuizRunner.tsx - Quiz runner → Points table: renders scoring
src/components/QuizRunner.tsx - Quiz runner → Result mark: renders result
src/components/QuizRunner.tsx - Known-question state → Local storage adapter: persists state
src/lib/progress.ts - Quiz score state → Local storage adapter: persists scores
src/lib/scores.ts - Theme switch → Local storage adapter: saves preference
src/components/ThemeSwitch.tsx - Diagram player → Spec compositions: renders specs
src/components/Diagram.tsx - Diagram player → Hand-built diagrams: selects composition
src/components/Diagram.tsx - Diagram player → Request flow: selects composition
src/components/Diagram.tsx - Diagram player → Saga flow: selects composition
src/components/Diagram.tsx - Diagram player → CI/CD flow: selects composition
src/components/Diagram.tsx - Spec compositions → Diagram primitives: uses primitives
src/components/diagrams/SpecDiagram.tsx - Hand-built diagrams → Diagram primitives: uses primitives
src/components/diagrams/StaticDiagrams.tsx - Request flow → Diagram primitives: uses primitives
src/components/diagrams/RequestFlow.tsx - Saga flow → Diagram primitives: uses primitives
src/components/diagrams/SagaFlow.tsx - CI/CD flow → Diagram primitives: uses primitives
src/components/diagrams/CiCdFlow.tsx - Topic content → Topic and search index: loaded by
src/data/index.ts