Skip to content

Redesign the site around the media - #76

Open
argyleink wants to merge 1 commit into
mainfrom
propflip-media-redesign
Open

argyleink wants to merge 1 commit into
mainfrom
propflip-media-redesign

Conversation

@argyleink

Copy link
Copy Markdown
Collaborator

Takes the video-first Stage redesign from #71 across the whole site, so the media stays at the centre wherever you are: a collapsible sidebar, an episode explorer on the home page, a player that follows you between pages, and an episode page with a resizable stage.

This branch was built on top of #71 and includes its three commits, squashed in here with @RobbieTheWagner credited as co-author. Merging this makes #71 redundant.

What changes

Shell

  • The sidebar folds to an icon rail and back. Hosts and the "Follow the show" links live in it. Search, nav icons, group headers, follow icons and host faces share one left edge.
  • The fold is a single PropFLIP flight over anchored-auto-layout, staggered with sibling-index().
  • Search stays on ⌘K / Ctrl+K and opens over anything, including the player card.

Home

  • An episode explorer replaces the plain list: grid and list views, sort and filters, and a close-up with a filmstrip. Cards fly between views, and leaving cards fade out, so nothing cuts.
  • Hover is a plain scale (1.06 on a tile, 1.12 on a list thumbnail, plus a row fill).

Player

  • One media engine behind an island that can be a dock, a pill, a corner picture or a full card with an Up next queue. It survives client-side navigation.
  • The progress ship and its particles from the current player are back, on the island's scrubber.
  • Pressing Play in an episode's hero starts the picture on its own stage; nothing flies in from elsewhere.

Episode page

  • A stage with Watch / Balanced / Read presets and a draggable divider, a sticky section bar, a live transcript, people cards and sponsors.

Motion and state

  • src/motion/propflip.ts: FLIP flights, with settle and viewport options. A flight no longer cancels the transitions an element lists in --also.
  • prop-for-that publishes media state and pointer position as custom properties. Pointer tracking is bound only while its element is hovered.
  • Scroll-state and anchor queries where the browser has them, with plain fallbacks elsewhere.

Testing

  • pnpm lint: clean.
  • pnpm test:unit: 229 passed.
  • pnpm build (includes astro check): passes.
  • Playwright, Chromium and WebKit: 166 passed, 7 skipped, 1 flaky (below).
  • Motion was checked frame by frame in headed Chrome at 2× density, at normal speed and under 6× CPU throttle: the sidebar fold in both directions, card hover, open and close of the close-up, view, sort and filter changes, hero Play, and the Watch / Balanced / Read control through a window resize.

Known gaps

  • Firefox was not run locally. Firefox and WebKit take the fallback path for the sidebar fold (it switches form without the flight).
  • Flaky test: episode.spec.ts "clicking a timestamp on episode 6 loads it into the player" fails on a cold dev server in Chromium and passes on retry.
  • Scroll reveal on grid tiles is removed. It kept about 56 extra composited layers on the home page, which at 2× density showed up as dropped tiles while hovering.
  • Start latency: opening or closing the close-up, or switching view, does 26–40ms of style and layout work before the first frame.
  • Long transcripts make heavy pages: episode 221 is about 4MB of HTML, because every timestamp chip carries its own utility classes. Worth moving to one CSS rule in a follow-up.
  • No error state for a stalled stream. If a stream stalls in WebKit, playback does not recover and nothing tells the listener. A "Couldn't play this episode" state with a retry is a follow-up.
  • RTL: the sidebar uses logical properties for its shared edge, but its layout as a whole is not right in RTL yet.

Builds on the video-first Stage redesign (#71) and takes it across the
whole site: a collapsible sidebar, an episode explorer on the home page, a
player that stays with you between pages, and an episode page with a
resizable stage.

Shell
- Collapsible sidebar that folds to an icon rail, with the hosts and the
  follow links in it. The fold is one PropFLIP flight over anchored auto
  layout, staggered with sibling-index().
- Search stays on Cmd/Ctrl+K and opens over anything, the player card
  included.

Home
- An episode explorer in place of the plain list: grid and list views,
  sort and filters, and a close-up with a filmstrip. Cards fly between
  views instead of cutting.

Player
- One media engine behind an island that is a dock, a pill, a corner
  picture or a full card with an Up next queue, and that survives
  client-side navigation.
- The progress ship and its particles from the original player are on the
  island's scrubber.

Episode page
- A stage with Watch / Balanced / Read presets and a draggable divider, a
  sticky section bar, a live transcript, people cards and sponsors.

Motion and state
- motion/propflip.ts: FLIP flights with settle and viewport options.
- prop-for-that publishes media state and pointer position as custom
  properties; pointer tracking is bound only while its element is hovered.
- Scroll-state and anchor queries where supported, with plain fallbacks.

Tests
- Unit tests for the engine, queue, scrubber, flights and explorer query.
- Playwright specs for the shell, explorer, player and episode page.

Co-authored-by: Robert Wagner <rwwagner90@gmail.com>
@vercel

vercel Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
starpod Ready Ready Preview Nov 16, 2026 3:57pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 156 files, which is 56 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1101201e-c077-424f-95f3-eb10c3852f18
Commits

Reviewing files that changed from the base of the PR and between c9601ca and f049899.

Files ignored due to path filters: 25

  • packages/starpod/src/assets/avatar-dark.png is excluded by !**/*.png
  • packages/starpod/src/assets/avatar-light.png is excluded by !**/*.png
  • packages/starpod/src/assets/dots-dark.svg is excluded by !**/*.svg
  • packages/starpod/src/assets/dots-light.svg is excluded by !**/*.svg
  • packages/starpod/src/assets/forward-icon.svg is excluded by !**/*.svg
  • packages/starpod/src/assets/mute-icon.svg is excluded by !**/*.svg
  • packages/starpod/src/assets/rewind-icon.svg is excluded by !**/*.svg
  • packages/starpod/src/assets/rocket-dark.svg is excluded by !**/*.svg
  • packages/starpod/src/assets/rocket-light.svg is excluded by !**/*.svg
  • packages/starpod/src/assets/unmute-icon.svg is excluded by !**/*.svg
  • packages/starpod/src/svgs/404-dark.svg is excluded by !**/*.svg
  • packages/starpod/src/svgs/404-light.svg is excluded by !**/*.svg
  • packages/starpod/src/svgs/apple.svg is excluded by !**/*.svg
  • packages/starpod/src/svgs/overcast.svg is excluded by !**/*.svg
  • packages/starpod/src/svgs/pocket-casts.svg is excluded by !**/*.svg
  • packages/starpod/src/svgs/spotify.svg is excluded by !**/*.svg
  • packages/starpod/src/svgs/ufo-dark.svg is excluded by !**/*.svg
  • packages/starpod/src/svgs/ufo-light.svg is excluded by !**/*.svg
  • packages/starpod/src/svgs/youtube.svg is excluded by !**/*.svg
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • src/img/sponsors/cascadiajs.svg is excluded by !**/*.svg
  • src/img/sponsors/code-rabbit.svg is excluded by !**/*.svg
  • src/img/sponsors/gitkraken.svg is excluded by !**/*.svg
  • src/img/sponsors/norlan.svg is excluded by !**/*.svg
  • src/img/sponsors/warp.svg is excluded by !**/*.svg
Files selected for processing: 156

  • CLAUDE.md
  • packages/starpod/.impeccable/config.json
  • packages/starpod/.impeccable/design.json
  • packages/starpod/.impeccable/surfaces/src-layouts-layout-astro.md
  • packages/starpod/DESIGN.md
  • packages/starpod/PRODUCT.md
  • packages/starpod/README.md
  • packages/starpod/package.json
  • packages/starpod/src/components/AdPackageCard.astro
  • packages/starpod/src/components/Breadcrumbs.astro
  • packages/starpod/src/components/ContactForm.tsx
  • packages/starpod/src/components/Dots.astro
  • packages/starpod/src/components/EpisodeList.astro
  • packages/starpod/src/components/EpisodeStage.astro
  • packages/starpod/src/components/FullPlayButton.tsx
  • packages/starpod/src/components/Hosts.astro
  • packages/starpod/src/components/InfoCard.astro
  • packages/starpod/src/components/LargePlatforms.astro
  • packages/starpod/src/components/NotFoundContent.astro
  • packages/starpod/src/components/PageHeader.astro
  • packages/starpod/src/components/PersonFace.astro
  • packages/starpod/src/components/Platforms.astro
  • packages/starpod/src/components/Player.tsx
  • packages/starpod/src/components/SearchButton.tsx
  • packages/starpod/src/components/SearchDialog.tsx
  • packages/starpod/src/components/ShowArtwork.astro
  • packages/starpod/src/components/episode/BarPlay.tsx
  • packages/starpod/src/components/episode/CreatorsAndGuests.astro
  • packages/starpod/src/components/episode/LiveTurn.tsx
  • packages/starpod/src/components/episode/MarkdownTranscript.tsx
  • packages/starpod/src/components/episode/Onward.astro
  • packages/starpod/src/components/episode/People.astro
  • packages/starpod/src/components/episode/SectionBar.astro
  • packages/starpod/src/components/episode/SeekChip.tsx
  • packages/starpod/src/components/episode/ShowNotes.tsx
  • packages/starpod/src/components/episode/SpeakerCard.tsx
  • packages/starpod/src/components/episode/SponsorCards.astro
  • packages/starpod/src/components/episode/Sponsors.astro
  • packages/starpod/src/components/episode/Tiles.astro
  • packages/starpod/src/components/episode/Transcript.tsx
  • packages/starpod/src/components/episode/focus.ts
  • packages/starpod/src/components/episode/speaking-source.ts
  • packages/starpod/src/components/episode/speaking.ts
  • packages/starpod/src/components/episode/split.ts
  • packages/starpod/src/components/explorer/Card.astro
  • packages/starpod/src/components/explorer/Hero.astro
  • packages/starpod/src/components/explorer/Toolbar.astro
  • packages/starpod/src/components/explorer/archive.ts
  • packages/starpod/src/components/explorer/explorer.ts
  • packages/starpod/src/components/explorer/icons.tsx
  • packages/starpod/src/components/explorer/query.ts
  • packages/starpod/src/components/icons.tsx
  • packages/starpod/src/components/illustrations/404Illustration.astro
  • packages/starpod/src/components/illustrations/UFOIllustration.astro
  • packages/starpod/src/components/media/Island.tsx
  • packages/starpod/src/components/media/LiveScript.tsx
  • packages/starpod/src/components/media/MediumSwitch.tsx
  • packages/starpod/src/components/media/PlayGlyph.tsx
  • packages/starpod/src/components/media/PlayToggle.tsx
  • packages/starpod/src/components/media/Scrubber.tsx
  • packages/starpod/src/components/media/StageControls.tsx
  • packages/starpod/src/components/media/board.ts
  • packages/starpod/src/components/media/cue-cache.ts
  • packages/starpod/src/components/media/engine.ts
  • packages/starpod/src/components/media/pip.ts
  • packages/starpod/src/components/media/position.ts
  • packages/starpod/src/components/media/publish.ts
  • packages/starpod/src/components/media/shortcuts.ts
  • packages/starpod/src/components/media/stage-light.ts
  • packages/starpod/src/components/media/tone-worker.ts
  • packages/starpod/src/components/player/ForwardButton/index.tsx
  • packages/starpod/src/components/player/ForwardButton/styles.css
  • packages/starpod/src/components/player/MuteButton/index.tsx
  • packages/starpod/src/components/player/MuteButton/styles.css
  • packages/starpod/src/components/player/PlayButton.tsx
  • packages/starpod/src/components/player/PlaybackRateButton.tsx
  • packages/starpod/src/components/player/RewindButton/index.tsx
  • packages/starpod/src/components/player/RewindButton/styles.css
  • packages/starpod/src/components/player/Slider/index.tsx
  • packages/starpod/src/components/player/Slider/styles.css
  • packages/starpod/src/components/state.ts
  • packages/starpod/src/index.ts
  • packages/starpod/src/layouts/Layout.astro
  • packages/starpod/src/lib/cast.ts
  • packages/starpod/src/lib/cues.ts
  • packages/starpod/src/lib/episode-cues.ts
  • packages/starpod/src/lib/feed-media.ts
  • packages/starpod/src/lib/rehype-transcript-timestamps.d.mts
  • packages/starpod/src/lib/rehype-transcript-timestamps.mjs
  • packages/starpod/src/lib/rss.ts
  • packages/starpod/src/lib/seek-chip.d.mts
  • packages/starpod/src/lib/seek-chip.mjs
  • packages/starpod/src/lib/transcript.ts
  • packages/starpod/src/motion/propflip.css
  • packages/starpod/src/motion/propflip.ts
  • packages/starpod/src/pages/[episode].astro
  • packages/starpod/src/pages/about.astro
  • packages/starpod/src/pages/api/cues/[episode].json.ts
  • packages/starpod/src/pages/contact.astro
  • packages/starpod/src/pages/for-llms.astro
  • packages/starpod/src/pages/index.astro
  • packages/starpod/src/styles/buttons.css
  • packages/starpod/src/styles/episode.css
  • packages/starpod/src/styles/explorer.css
  • packages/starpod/src/styles/global.css
  • packages/starpod/src/styles/gradient-icon.css
  • packages/starpod/src/styles/interactions.css
  • packages/starpod/src/styles/people.css
  • packages/starpod/src/styles/player.css
  • packages/starpod/src/styles/rail.css
  • packages/starpod/src/styles/shell.css
  • packages/starpod/src/styles/stage.css
  • packages/starpod/src/styles/tailwind.css
  • packages/starpod/src/styles/tilt.css
  • packages/starpod/src/styles/tokens.css
  • packages/starpod/src/styles/worlds.css
  • packages/starpod/src/utils/config.ts
  • packages/starpod/src/utils/playable.ts
  • src/pages/sponsor.astro
  • starpod.config.ts
  • tests/e2e/episode.spec.ts
  • tests/e2e/explorer.spec.ts
  • tests/e2e/index.spec.ts
  • tests/e2e/player.spec.ts
  • tests/e2e/shell.spec.ts
  • tests/unit/ForwardButton.test.tsx
  • tests/unit/FullPlayButton.test.tsx
  • tests/unit/Island.test.tsx
  • tests/unit/MuteButton.test.tsx
  • tests/unit/PlayButton.test.tsx
  • tests/unit/PlayToggle.test.tsx
  • tests/unit/PlaybackRateButton.test.tsx
  • tests/unit/Player.test.tsx
  • tests/unit/RewindButton.test.tsx
  • tests/unit/Scrubber.test.tsx
  • tests/unit/SearchButton.test.tsx
  • tests/unit/SearchDialog.test.tsx
  • tests/unit/Slider.test.tsx
  • tests/unit/cast.test.ts
  • tests/unit/config.test.ts
  • tests/unit/cues.test.ts
  • tests/unit/delight.test.tsx
  • tests/unit/engine-recover.test.ts
  • tests/unit/explorer-query.test.ts
  • tests/unit/feed-media.test.ts
  • tests/unit/position.test.ts
  • tests/unit/propflip.test.ts
  • tests/unit/publish.test.ts
  • tests/unit/queue.test.tsx
  • tests/unit/rehype-transcript-timestamps.test.ts
  • tests/unit/seek-chip.test.tsx
  • tests/unit/stubs/astro-transitions-client.ts
  • tests/unit/test-setup.ts
  • tests/unit/tone-worker.test.ts
  • tests/unit/transcript.test.ts
  • vitest.config.ts

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

  • 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

This branch was successfully deployed

1 active deployment
Preview — f0498990 Deployed Nov 16, 2026 by vercel[bot]
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.

1 participant