WS 2423 - Remove podcastEpisodeLinkedData toggle#13883
Merged
Louis-Matsika merged 4 commits intolatestfrom Apr 9, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Removes the podcastEpisodeLinkedData feature toggle so podcast episode pages always emit PodcastEpisode linked data, and cleans up associated toggle config/docs/tests.
Changes:
- Remove
podcastEpisodeLinkedDatatoggle usage in the on-demand audio layout soPodcastEpisodeschema emission is unconditional for podcast episode pages. - Remove the toggle from toggle configs and the toggles README.
- Update on-demand audio tests/snapshots to remove toggle-on/off branching for linked data.
Reviewed changes
Copilot reviewed 7 out of 19 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| ws-nextjs-app/pages/[service]/onDemandAudio/OnDemandAudioLayout.tsx | Removes toggle-gated logic; always enables PodcastEpisode schema for podcast episode pages. |
| ws-nextjs-app/pages/[service]/onDemandAudio/index.test.tsx | Removes toggle-specific test setup/branch; keeps snapshot coverage for PodcastEpisode schema. |
| ws-nextjs-app/pages/[service]/onDemandAudio/snapshots/index.test.tsx.snap | Removes snapshot corresponding to the toggle-off scenario. |
| src/app/lib/config/toggles/testConfig.js | Removes podcastEpisodeLinkedData from test toggle config. |
| src/app/lib/config/toggles/localConfig.js | Removes podcastEpisodeLinkedData from local toggle config. |
| src/app/lib/config/toggles/liveConfig.js | Removes podcastEpisodeLinkedData from live toggle config. |
| src/app/lib/config/toggles/README.md | Removes podcastEpisodeLinkedData from documented toggle list. |
| src/app/lib/config/toggles/snapshots/index.test.js.snap | Removes podcastEpisodeLinkedData from toggle config snapshots. |
| .yarn/cache/fsevents-patch-6b67494872-10.zip | Yarn cache artefact added (binary). |
| .yarn/cache/@unrs-resolver-binding-linux-x64-gnu-npm-1.11.0-f4a171e974-10.zip | Yarn cache artefact updated/added (binary). |
| .yarn/cache/@img-sharp-linux-x64-npm-0.34.5-06b002e5f6-10.zip | Yarn cache artefact updated/added (binary). |
| .yarn/cache/@img-sharp-libvips-linux-x64-npm-1.2.4-105fd6d44d-10.zip | Yarn cache artefact updated/added (binary). |
| .yarn/cache/@esbuild-linux-x64-npm-0.27.2-11f1a3d9db-10.zip | Yarn cache artefact updated/added (binary). |
amoore108
approved these changes
Apr 8, 2026
hotinglok
approved these changes
Apr 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves JIRA: WS-2423
Summary
Removes the
podcastEpisodeLinkedDatatoggleChanges
PodcastEpisodeschema for podcast episode pages.PodcastEpisodeschema.podcastEpisodeLinkedDatafrom test toggle config.podcastEpisodeLinkedDatafrom local toggle config.podcastEpisodeLinkedDatafrom live toggle config.podcastEpisodeLinkedDatafrom documented toggle list.podcastEpisodeLinkedDatafrom toggle config snapshots.Testing
To check that linked data still comes through visit a podcast episode page e.g.
http://localhost:7081/russian/podcasts/p076qqzl/p0nbvf7d?renderer_env=livein the browser console, search for the script
application/ld+jsonthe field
mainEntity @typeshould be present and have a value ofPodcastEpisodeUseful Links