Add video support to the docs and embed the Discord Developers catalog #8604
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 344 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.350
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #8604"
general
weight: 0.35
markmandel
Builds out YouTube support for the documentation and uses it to place videos from the Discord Developers channel on the pages they pair with, per the "Video Content in Documentation" plan.
Components
----------
snippets/youtube.jsx — YouTubeEmbed gains two opt-in props:
Labels are normalized from the computed seconds rather than echoed back from the description, so an HH:MM:SS source renders as 0:00 / 1:26:10.
snippets/youtubeplaylist.jsx + styles/youtubeplaylist.css — new
YouTubePlaylistCarousel for an arbitrary playlist. Slides are thumbnail facades that swap in a real player on click, which keeps YouTube's pre-play chrome off the page and avoids booting a player per video on load. Includes scroll-snap paging with arrows, a subscribe CTA built from oEmbed channel data, and a one-hour localStorage cache that renders last-known data immediately and falls back to it if YouTube is unreachable. Playback pauses when another video starts, when the carousel moves, or when the tab is backgrounded (which covers "Watch on YouTube" opening a new tab).
Content
-------
Videos are placed following the existing convention — no video gets its own heading, and embeds sit in the intro block or at the end of a section, always ahead of trailing Next Steps / Resources / Change Log sections.
Videos over 5 minutes use showDuration, plus chapters where the description supplies timestamps; five long videos have none, so they show duration only and the dropdown degrades to nothing. Short videos use a plain embed. Chapter text was extracted from each description rather than retyped. The Community Invites chapters are trimmed at the colon, since that description writes each entry as "Short Title: full explanatory sentence."
Also adds a featured videos carousel to the docs home page, a Learn More section with the Server 101 playlist on the community guide, showDuration on the two existing 10-minute Server 101 embeds, and a change log entry announcing all of the above.