Skip to content

fix: 🐛 hide podcast platform buttons when the episode has no URL - #358

Merged
flexbox merged 1 commit into
mainfrom
fix/podcast-missing-platform-urls
Sep 23, 2026
Merged

flexbox merged 1 commit into
mainfrom
fix/podcast-missing-platform-urls

Conversation

@flexbox

@flexbox flexbox commented Sep 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • Podcast episode cards now only render the Spotify / Apple Podcast buttons when the matching URL exists, and drop the whole button row when neither is set
  • Episode page hides the "Écouter l'épisode" card entirely when the episode has no listening URL, and renders each platform button conditionally
  • Transcript timecodes no longer build a undefined?t=... Spotify deep link: without spotify_url the timecode renders as plain text instead of a broken external link

Testing

  • Not run — visual/manual check pending: open a podcast episode with both URLs (buttons + clickable timecodes) and one without (no listen card, plain timecodes)
  • Suggested: npx nx lint web and npx nx build web

Spotify and Apple Podcast buttons rendered even when an episode had an
empty URL, so clicking them did nothing. Render each button only when
its URL is set, hide the "Écouter l'épisode" card when neither exists,
and show transcript timecodes as plain text when there is no Spotify URL.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
banner-preview Building Building Preview Sep 23, 2026 7:23pm UTC
design-weshipit-today Building Building Preview Sep 23, 2026 7:23pm UTC
next-davidl-fr Building Building Preview Sep 23, 2026 7:23pm UTC
weshipit-today Building Building Preview Sep 23, 2026 7:23pm UTC

This branch was successfully deployed

4 active deployments
Preview – design-weshipit-today — 5a6287ad Deployed Sep 23, 2026 by vercel[bot]
Preview – banner-preview — 5a6287ad Deployed Sep 23, 2026 by vercel[bot]
Preview – next-davidl-fr — 5a6287ad Deployed Sep 23, 2026 by vercel[bot]
Preview – weshipit-today — 5a6287ad Deployed Sep 23, 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