Skip to content

Add sidebar with recommended videos to video layout#1216

Merged
maiertech merged 4 commits intomainfrom
copilot/add-sidebar-recommended-videos
Mar 30, 2026
Merged

Add sidebar with recommended videos to video layout#1216
maiertech merged 4 commits intomainfrom
copilot/add-sidebar-recommended-videos

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 30, 2026

Video pages lacked the sidebar present on note and post pages. This adds a "More videos" sidebar showing 3 recommended videos, excluding the current one.

Changes

  • +layout.server.ts: Compute recommendedVideos by filtering out the current video from the sorted list and slicing to 3.
  • +layout.svelte: Wrap existing content in the two-column flex layout pattern (matching notes/posts), add <aside> with VideoList under a "More videos" heading using the ListVideo Lucide icon.
const recommendedVideos = videos.filter((v) => v.path !== video.path).slice(0, 3);

⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.

@railway-app
Copy link
Copy Markdown

railway-app bot commented Mar 30, 2026

🚅 Deployed to the website-pr-1216 environment in maiertech

Service Status Web Updated (UTC)
website 😴 Sleeping (View Logs) Web Mar 30, 2026 at 10:13 am

@railway-app railway-app bot temporarily deployed to maiertech / website-pr-1216 March 30, 2026 09:33 Destroyed
@railway-app railway-app bot temporarily deployed to maiertech / website-pr-1216 March 30, 2026 09:38 Destroyed
Copilot AI changed the title [WIP] Add sidebar with recommended videos to video layout Add sidebar with recommended videos to video layout Mar 30, 2026
Copilot AI requested a review from maiertech March 30, 2026 09:38
@railway-app railway-app bot temporarily deployed to maiertech / website-pr-1216 March 30, 2026 09:58 Destroyed
@railway-app railway-app bot temporarily deployed to maiertech / website-pr-1216 March 30, 2026 10:05 Destroyed
@maiertech maiertech marked this pull request as ready for review March 30, 2026 10:17
@maiertech maiertech merged commit aa9875e into main Mar 30, 2026
2 checks passed
@maiertech maiertech deleted the copilot/add-sidebar-recommended-videos branch March 30, 2026 10:17
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.

Add sidebar with recommended videos to video layout

2 participants