I am going to check the files in the workspace to understand the existing project structure before creating our interactive visual Git lesson web application.
I am going to check package.json to see what dependencies are already installed in the project.
I am now going to install lucide-react for Git and UI iconography, framer-motion for branch animations and visualizations, and canvas-confetti to celebrate completing milestones and successful interactive challenges.
I will check src/index.css to inspect how styles and Tailwind CSS are set up.
I am now going to update index.html with an engaging page title, appropriate meta description, and styling preparation for our visual Git learning platform.
I will read index.html to see the existing content and structure so I can update the title properly.
I will now update index.html with our customized title and Google Fonts (Inter and JetBrains Mono) for authentic GitHub UI and coding terminal visualizations.
I am now going to update src/index.css to add clean custom CSS variables, typography adjustments, scrollbars, and GitHub-style theme utilities.
I am now going to create src/types/index.ts to define the TypeScript interfaces for commits, branches, pull requests, conventional commits syntax, semantic releases, lesson modules, and interactive quizzes.
I am now going to create src/data/lessons.ts, containing the curricular curriculum outlines, initial git commit histories for interactive simulators, and real-world developer scenarios for our chapters.
I will now create src/data/quiz.ts containing 8 practical mastery assessment questions with explanations covering GitHub workflows, Conventional Commits, Semantic Versioning, and automated release automation.
I will now create src/components/shared/TerminalView.tsx, a visual component that displays mock terminal interfaces with command formatting, typing effects, syntax highlights, and log animations.
I will remove the unused ExternalLink import in src/components/shared/TerminalView.tsx to fix the TypeScript error.
I am now going to create src/components/shared/GitNodeBadge.tsx, a component for displaying interactive Git commits, color-coded Conventional Commit prefix badges (e.g. feat, fix, BREAKING), SHA hashes, and squash summary counts.
I will now fix the typo in the property name highlightConventional in src/components/shared/GitNodeBadge.tsx.
I am now going to create src/components/chapters/Chapter1PRsVSMRs.tsx, an interactive chapter that explains the terminology and architectural relationships between local git commits, git branches, and GitHub Pull Requests vs Merge Requests.
I will now update src/components/chapters/Chapter1PRsVSMRs.tsx to properly import and use GitMerge from lucide-react.
I will now replace GitMergeIcon with GitMerge in src/components/chapters/Chapter1PRsVSMRs.tsx.
I am now going to create src/components/chapters/Chapter2SquashWorkflow.tsx, an interactive visualization featuring a dynamic Git tree graph where developers can toggle between Standard Merge Commit, Rebase & Merge, and Squash & Merge to experience visually why Squash workflows are preferred for automated releases.
I will now remove the unused imports (Flame and Trash2) in src/components/chapters/Chapter2SquashWorkflow.tsx to keep TypeScript clean.
I am now going to create src/components/chapters/Chapter3ConventionalCommits.tsx, featuring a live interactive Conventional Commits syntactic builder and a real-time transformation challenge where users refactor amateur Git messages into formal Conventional format.
I will now remove the unused imports (AlertCircle and Sparkles) from src/components/chapters/Chapter3ConventionalCommits.tsx.
I am now going to create src/components/chapters/Chapter4NamesAndTitles.tsx, dedicated to illuminating the critical distinction between local commit messages, feature branch names, and GitHub Pull Request titles within a Squash-Based workflow.
I will now fix the unused setLocalCommits state variable declaration in src/components/chapters/Chapter4NamesAndTitles.tsx.
I will now create src/components/chapters/Chapter5SemVer.tsx, featuring an interactive SemVer calculation laboratory and dynamic version dials that show how Conventional Commit types dictate MAJOR, MINOR, and PATCH version increments.
I will now remove the unused import AlertTriangle in src/components/chapters/Chapter5SemVer.tsx.
I will now create src/components/chapters/Chapter6NpmRelease.tsx, featuring an interactive simulation of an automated GitHub Actions CI/CD release pipeline, generating changelogs and publishing versions to a mock npm registry page.
I will remove the unused import CheckCircle2 in src/components/chapters/Chapter6NpmRelease.tsx.
I will now create src/components/sandbox/GrandSandbox.tsx, an end-to-end interactive freeplay sandbox where developers can create feature branches, commit messy code, open simulated GitHub Pull Requests, run squash-merges, and release packages to npm in real time.
I will now create src/components/quiz/QuizSection.tsx, an interactive knowledge assessment featuring explanatory feedback, real-time score tracking, and a customizable completion certificate to reward developer mastery.
I will remove the unused import HelpCircle in src/components/quiz/QuizSection.tsx.
I will now create src/components/cheatsheet/CheatSheetModal.tsx, a comprehensive developer cheat sheet providing instant, copyable reference material for daily workflows.
I will now create src/components/Navigation.tsx, providing the header bar with view toggles, learning progress meters, and quick access to the sandbox and cheat sheet.
I will now create src/components/ChapterSidebar.tsx, allowing developers to navigate between the 6 learning modules and review progress status.
I will now replace src/App.tsx with the comprehensive root application logic that binds the navigation header, module curriculum sidebar, interactive lesson components, sandbox simulators, quiz engine, and cheat sheet modal into an integrated developer learning platform.
I will now remove the unused React import in src/App.tsx.
I will now run build_project to test compilation and verify that there are no TypeScript or build errors.
I have created an interactive, visual web learning platform called GitRelease Labs designed to help developers build a robust mental model of modern release workflows on GitHub, Conventional Commits, Semantic Versioning (SemVer), and automated npm packaging.
✨ Key Features & Curated Learning Modules
-
Chapter 1: Commits vs. Pull Requests vs. Merge Requests
- Terminology Clarification: Interactive side-by-side comparison explaining that Merge Request (MR) is simply GitLab and Atlassian terminology for what GitHub originated as a Pull Request (PR)—they represent identical collaborative git review workflows.
- Layer Anatomy Diagram: Interactive layered visualizer separating atomic local Git Commits (SHA-1 hashes in git database) from Remote Feature Branches and GitHub Pull Request web layers (code reviews, status checks, CI automated gates, and discussions).
- Hands-On Challenge: An engaging flow-ordering lab where developers sequence the chronological steps from local edits to approved PR merges.
-
Chapter 2: The Squash-Based Workflow
- Why Squash Reign Supreme: Illustrates how messy exploratory commits (
"wip", "fix syntax typo", "address review comments") clutter standard merges and break automatic changelogs.
- Interactive Git Tree Graph Emulator: Lets users toggle directly between Create Merge Commit, Rebase and Merge, and Squash & Merge, watching animated Git commit beads compact and fuse into a single cohesive milestone commit on
main.
- Cleanup Simulation: An interactive experiment where developers customize a squash subject line and observe the immediate impact on production history readability and rollback safety.
-
Chapter 3: Conventional Commits Grammar
- Interactive Syntax Builder & Linter: Allows users to select prefixes (
feat, fix, docs, chore, refactor, breaking change), add an optional component scope, and compose clear descriptions while receiving live linter feedback.
- Refactoring Lab: Users are challenged to transform messy real-world commit messages into formal Conventional Commit strings to unlock chapter badges.
-
Chapter 4: The Crucial Distinction — Branch Title vs. Commit Message vs. PR Title
- The #1 Source of Confusion Resolved: Demonstrates why feature branch names (e.g.,
feat/user-login, JIRA-402/auth) are totally invisible to automated release bots.
Files built: index.html, src/index.css, src/types/index.ts, src/data/lessons.ts, src/data/quiz.ts, src/components/shared/TerminalView.tsx, src/components/shared/GitNodeBadge.tsx, src/components/chapters/Chapter1PRsVSMRs.tsx, src/components/chapters/Chapter2SquashWorkflow.tsx, src/components/chapters/Chapter3ConventionalCommits.tsx, src/components/chapters/Chapter4NamesAndTitles.tsx, src/components/chapters/Chapter5SemVer.tsx, src/components/chapters/Chapter6NpmRelease.tsx, src/components/sandbox/GrandSandbox.tsx, src/components/quiz/QuizSection.tsx, src/components/cheatsheet/CheatSheetModal.tsx, src/components/Navigation.tsx, src/components/ChapterSidebar.tsx, src/App.tsx