Skip to content

Real GitHub captures in lesson 01's video - #14

Merged
thejesh23 merged 4 commits into
mainfrom
lesson-01-captures
Nov 21, 2026
Merged

thejesh23 merged 4 commits into
mainfrom
lesson-01-captures

Conversation

@thejesh23

Copy link
Copy Markdown
Owner

Replaces lesson 01's placeholder browser frames with real screenshots of GitHub, each with a yellow spotlight on what to click.

  • tools/capture_pages.py screenshots each browser scene's url in headless Chrome with a fresh, empty profile, so captures are logged out and contain no account, cookies or notifications. It supports height: and crop:, so the images can be regenerated when GitHub changes its UI.
  • The renderer shows image: captures in the browser frame, with an optional highlight: x,y,w,h spotlight. The renderer's own screenshots now use a throwaway Chrome profile too.
  • check_lessons.py fails if a capture is missing or a highlight falls outside it.
  • Lesson 01 scenes: the repo page with Star, then Fork, highlighted; the first-commits folder; the compare page's base/compare selectors (cropped to be readable); and a real merged first-commit PR (Test: first-commit bot rejects a missing quote #1), cropped to the bot's error comment, the fix, the 🎉 comment and the merge.
  • The commit dialog and the "Add file" button only exist when signed in, so scene 7 is now a slide listing the steps, and scene 5's caption says "In your fork".

🤖 Generated with Claude Code

thejesh23 and others added 4 commits November 21, 2026 04:52
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thejesh23
thejesh23 merged commit 644dba7 into main Nov 21, 2026
1 check passed
@thejesh23
thejesh23 deleted the lesson-01-captures branch November 21, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant