Skip to content

Redesign the site around the media - #76

Open
argyleink wants to merge 7 commits into
mainfrom
propflip-media-redesign
Open

argyleink wants to merge 7 commits 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.

@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 19, 2026 3:04pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 155 files, which is 55 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

Commits

Reviewing files that changed from the base of the PR and between 76d19ed and 71ca32d.

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: 155

  • .github/workflows/ci.yml
  • 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/entities.ts
  • packages/starpod/src/lib/rehype-transcript-timestamps.d.mts
  • packages/starpod/src/lib/rehype-transcript-timestamps.mjs
  • 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/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
  • playwright.config.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-phone.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/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

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 <[email protected]>
Installing browsers with --with-deps pulled system packages from apt on
every run and took 20+ minutes on a slow mirror; the tests then ran all
three browsers serially on one worker. The image ships the browsers and
their libraries, and each browser now runs in its own job with two
workers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… there

- Firefox doesn't scroll a partly hidden control into view on focus, so a
  card's artwork could sit under the sticky toolbar. The explorer brings it
  in with scrollIntoView, which honours the scroll margin everywhere.
- The rail's synthetic throw used pointer id 1; Firefox's mouse is 0, and
  capturing another pointer throws, so the throw never started.
- The close-up check measures both boxes on every poll, and allows the
  ~2px by which Firefox resolves anchor(top) above the slot.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Phones
- Shell: gutters and bars clear the safe areas, one 48px tab bar in
  landscape, the rail starts collapsed.
- Player: a docked 96x54 picture, a card that closes by chevron, grabber
  or swipe, 44px targets, contrast on every size.
- Episode page: Watch is the default, section links land under the bar.

Other browsers
- Transcript timestamps take a mouse click: the speaker card opens from
  the name only and lets clicks through.
- Up next lays out in WebKit 26 and Firefox as it does in Chrome, by
  naming the board's slots in style where typed attr() is missing.
- Dragging a cover onto another slot reorders the queue everywhere.
- Without anchor positioning the dock is the player's only home.
- The section bar, reduced-motion section jumps and focus rings behave
  the same in Safari and Firefox.
- The Watch / Balanced / Read control no longer trips a ResizeObserver
  loop.

Explorer
- The close-up opens at once, the archive comes back on one curve, and
  titles keep their wrap through a flight.
The toolbar sticks at the top and its first row fits 320px, the chip row
steps aside while scrolling down, list rows show their whole facts line,
the filter field no longer zooms the page on an iPhone, and the clear
button takes a 44px tap.
Work in progress on three reports: the column beside the open card
shifting on click, a returning card stopping short and then snapping,
and no hover on the column's cards. Stopped mid-way and not checked by
eye; revert this commit to return to the last verified explorer.
Explorer
- Pressing a card in the column beside the open card leaves the column
  where it is; only keyboard focus scrolls a card into view.
- A card returning to the list eases to its width instead of snapping:
  its perspective now hands back over the swap.
- Cards grow on hover and keyboard focus, in the grid, the list and the
  column.
- The grid/list switch folds away while a card is open.
- On phones, Close and the cards no longer move out from under the
  finger, so the close-up can always be closed or swapped.

Rail
- Without typed attr(), one highlight slides between hovered, focused
  and current links, matching the old hover background.

This branch was successfully deployed

1 active deployment
Preview — 71ca32d6 Deployed Nov 19, 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.

2 participants