feat(shell): linear-style frame and deeper scout video sources#25

open8
feat/scout-from-links
feat/linear-shell
opened6d agobySScreen
View on GitHubTwo-way sync enabledPR last imported 3d ago

Summary

Two gaps remained after the links work: the app frame still padded every page into a narrow column under a floating top bar, and Scout without a YouTube key only ever saw each channel's latest 15 videos. The content panel now runs full width under a flush top bar with an aligned sidebar, videos can be read through a local coding agent (Claude Code or opencode), and channels, playlists and goal-search creators are listed keyless from YouTube's own pages, up to 200 videos each.

text
1<App>
2 <SidebarRail> full height, aligned with the panel
3 <ContentPanel> full width, inset
4 <TopBar> flush against the panel top
5 <route pages> calmer motion, styled dropdowns everywhere
diff
1 listChannelVideos(handle)
2- no key -> RSS feed, latest 15
3+ no key -> scrape /videos page + continuations, up to 200
4+ -> RSS feed fallback, latest 15
5 listPlaylistVideos(id) same pattern: page scrape, feed fallback
6 discoverYouTubeFromFeeds goal search scrapes each creator's /videos

Stack

  1. #24 feat(scout): build a roadmap from a youtube channel, playlist or videos
  2. feat/linear-shell (this PR)

Evidence

  • Before: padded column, floating top bar.
  • After: full-width panel, flush bar, aligned rail.
  • Learn empty state, before and after the panel-top fix:
  • Workspace on a phone viewport, before and after:
  • Sidebar highlight motion: sidebar-highlight.webm
  • bun run test 209 passed; bun run typecheck, bun run lint and bun run build all pass. New youtube-channel-page.test.ts covers the page scrape, continuations and fallbacks.
  • Live keyless checks: @mattpocockuk listed 146 channel videos spanning 2020 to now (was capped at 15); a real playlist returned titles, creators, durations and dates; goal search ranked 20 picks from the full catalogue.

Merge Danger

Door: two-way

The shell is a visual rework that reverts cleanly. The keyless scrape only adds a path that falls back to the old 15-item feed on any failure, and the YouTube key path is untouched.

Blast Radius: app-wide layout plus Scout discovery

Every page renders inside the new frame. Scout's link and goal flows gain the scrape step; a broken page shape degrades to today's behaviour, not an empty list.

Created with SWE-2 and other models in T3 Code.

Checks

1 successful · 1 skipped
All checks passed
a2d89d5

Added 8 commits

  • fix(shell): flush top bar, aligned sidebar and calmer page motion08b7c11
  • feat(shell): linear-style frame with a full-width content panel76a9f07
  • feat(scout): read videos with a local coding agent9687072
  • style: drop em dash from a commenta2d89d5
  • feat(scout): list whole channels without a youtube keya9c1e0a
  • fix(scout): use the glaze dropdown and name the chosen readerbce8db7
  • feat(scout): list playlists and goal channels keyless tooc811931
  • fix(shell): keep learn loading and empty states off the panel topd686bec
Synced from GitHub

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 8d20ab03-ce26-40c2-9a7c-c4a0701870f3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share