Skip to content

Add video links to patterns#32

Merged
devill merged 3 commits into
mainfrom
add-video-links
Apr 8, 2026
Merged

Add video links to patterns#32
devill merged 3 commits into
mainfrom
add-video-links

Conversation

@devill
Copy link
Copy Markdown
Collaborator

@devill devill commented Apr 8, 2026

I'd like to suggest adding links to each pattern that is discussed in a talk or video. It can serve a double duty of making the patterns more accessible to people (they can watch the video instead of reading) and promoting the videos and the patterns within them

devill and others added 3 commits April 8, 2026 13:45
Patterns, anti-patterns, and obstacles can now declare a single video URL in
their YAML frontmatter, rendered on the detail page as a "Watch video" link
that opens in a new tab. YouTube timestamps live in the URL itself (e.g.
`?t=412s`), so no separate schema is needed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds video frontmatter to patterns explained in:

- Lada Kesseler's deep-dive talk (37 entries: 21 patterns, 10 obstacles,
  6 anti-patterns)
- Ivett Ördög's Habit Hooks talk (4 entries: habit-hooks, constrained-tests,
  approved-scenarios, approved-logs)
- Ivett Ördög's legacy migration story (1 entry: show-the-agent)

Each timestamp anchors to the point where a viewer can start watching and
get enough background to understand the pattern — usually before the term
itself is introduced, when the motivating story or foundational concepts
begin.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace the plain "Watch video" link with a polished thumbnail card
showing the YouTube preview image and the video title underneath, on
both the pattern detail page and the complete catalog detail view.
Also surface alternative titles and synonyms in the catalog detail.

Video titles are sourced via YouTube oEmbed at edit time through a
new scripts/fetch-video-titles.mjs script (npm run fetch:videos),
which writes website/lib/video-titles.json so the build stays
network-free and reproducible.
@devill devill requested a review from lexler April 8, 2026 16:30
@lexler
Copy link
Copy Markdown
Owner

lexler commented Apr 8, 2026

Thanks @devill! I was actually thinking about the same thing for a long time. Either timestamps like that or actually recording mini-videos for everything. This is an awesome start <3

@devill
Copy link
Copy Markdown
Collaborator Author

devill commented Apr 8, 2026

I'm glad you like it. Yes, recording mini videos could be a next step. I was actually considering doing some of them on NextIncrement.

@devill devill merged commit cbd93cf into main Apr 8, 2026
3 checks passed
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.

2 participants