Skip to content

Restructure Learning Hub navigation and add video landing pages - #2804

Open
GeekTrainer wants to merge 4 commits into
github:mainfrom
GeekTrainer:geektrainer/symmetrical-telegram
Open

Restructure Learning Hub navigation and add video landing pages#2804
GeekTrainer wants to merge 4 commits into
github:mainfrom
GeekTrainer:geektrainer/symmetrical-telegram

Conversation

@GeekTrainer

Copy link
Copy Markdown
Contributor

Summary

Restructures the Learning Hub so its navigation reads by intent — understand → learn → practice → watch → look up — and adds video landing pages. Today the sidebar is a flat pile of top-level groups mixing concepts, a course, a workshop, a cookbook, and outbound links, which doesn't scale as new content lands.

Sidebar → five intent-based groups

  • Fundamentals — the existing concept articles (unchanged).
  • Courses — the CLI for Beginners course nests here, with a marked insertion point for upcoming courses.
  • Workshops — renamed from "Copilot Workshops"; the four harness tracks are unchanged.
  • Video content — new; in-hub video landing pages that embed the playlists.
  • Additional resources — merges the Cookbook, Glossary, and the outbound browse links into one group.

All groups (and nested sub-groups) are collapsed by default; the active page's group still auto-expands. No URLs change — only labels and nesting — so no redirects are needed.

Video landing pages

  • learning-hub/videos/cli-for-beginnersGitHub Copilot CLI for beginners
  • learning-hub/videos/copilot-appGitHub Copilot app for beginners

Each lists every episode with a natively embedded, playable YouTube player (privacy-friendly youtube-nocookie.com, lazy-loaded), a short description, and an install link for the respective harness.

Supporting changes

  • Rewrote the Learning Hub landing page (index.md) to mirror the five sections.
  • Added a frame-src directive (youtube-nocookie.com, youtube.com) to the Content Security Policy in Head.astro so the embeds are allowed.
  • Made the site header position: sticky so toolbars no longer float over content while scrolling.
  • Added a small .video-embed responsive-embed rule to global.css.

Validation

  • npm run website:data + npm run build pass; the new video pages and localized fallbacks build with no unresolved sidebar slugs.

Related

This PR is intended to land first; PR #2800 (Advanced Copilot CLI) will stack on top of it, nesting its course under the new Courses group.

GeekTrainer and others added 3 commits August 25, 2026 13:17
Regroup the Learning Hub sidebar and landing page into five
intent-based sections — Fundamentals, Courses, Workshops, Video
content, and Additional resources — so navigation reads as
understand -> learn -> practice -> watch -> look up.

- astro.config.mjs: add Courses group (nesting the existing CLI for
  Beginners course, with a marked insertion point for Advanced CLI
  and App for Beginners); rename "Copilot Workshops" -> "Workshops";
  add a Video content group; merge Cookbook, Glossary, and the
  outbound browse links into a single Additional resources group.
- learning-hub/index.md: rewrite the landing page into the same five
  sections so prose and sidebar stay in sync.
- Add learning-hub/videos/cli-for-beginners.md: an in-hub facade page
  linking out to the CLI for Beginners YouTube playlist.

No URLs change (labels/nesting only), so no redirects are needed.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 0fc507be-cdc6-48e3-a1d4-71f9366f3ff7
- Add embedded YouTube video landing pages for the GitHub Copilot CLI
  for beginners and GitHub Copilot app for beginners playlists, each
  listing every episode with a native player and a short description.
- Wire both video pages into the Video content sidebar group.
- Collapse all Learning Hub sidebar groups (and nested sub-groups) by
  default; the active page's group still auto-expands.
- Allow YouTube embeds by adding a frame-src directive
  (youtube-nocookie.com, youtube.com) to the Content Security Policy.
- Pin the site header (position: sticky) so toolbars no longer float
  over content when scrolling.
- Refine landing-page copy for the Courses and Video content sections.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 0fc507be-cdc6-48e3-a1d4-71f9366f3ff7
Each video landing page now links to install its respective harness —
the CLI page to the Copilot CLI install docs, the app page to the
GitHub Copilot app landing page — so viewers can set up before watching.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 0fc507be-cdc6-48e3-a1d4-71f9366f3ff7
Copilot AI balanced review requested due to automatic review settings August 25, 2026 21:10
@github-actions github-actions Bot added new-submission PR adds at least one new contribution website-update PR touches website content or code labels Aug 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restructures Learning Hub navigation around learning intent and introduces embedded video-series pages.

Changes:

  • Reorganizes sidebar and landing-page sections.
  • Adds Copilot CLI and Copilot app video pages.
  • Enables responsive YouTube embeds and sticky header behavior.
Show a summary per file
File Description
website/astro.config.mjs Defines the reorganized sidebar.
website/src/components/Head.astro Permits YouTube frames in CSP.
website/src/content/docs/learning-hub/index.md Mirrors the new navigation structure.
website/src/content/docs/learning-hub/videos/cli-for-beginners.md Adds the CLI video series.
website/src/content/docs/learning-hub/videos/copilot-app.md Adds the Copilot app video series.
website/src/styles/global.css Styles responsive video embeds.
website/src/styles/starlight-overrides.css Makes the header sticky.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 7/7 changed files
  • Comments generated: 3
  • Review effort level: Balanced

Comment thread website/src/content/docs/learning-hub/videos/copilot-app.md Outdated
Comment thread website/src/content/docs/learning-hub/videos/cli-for-beginners.md Outdated
Comment thread website/src/content/docs/learning-hub/index.md Outdated
- Promote the six episode headings on each video page from h3 to h2 so
  the heading hierarchy doesn't skip a level after the h1 title (fixes
  a screen-reader navigation issue).
- Link both the CLI and app video series from the landing page's Video
  content section, so neither destination is sidebar-only.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 0fc507be-cdc6-48e3-a1d4-71f9366f3ff7
Copilot AI review requested due to automatic review settings August 25, 2026 22:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 7/7 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-submission PR adds at least one new contribution website-update PR touches website content or code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants