Skip to content

chore(ads): remove the empty display-ad slots and the EX.CO player - #7540

Merged
idoshamun merged 2 commits into
mainfrom
chore/remove-programmatic-ad-slots
Nov 30, 2026
Merged

idoshamun merged 2 commits into
mainfrom
chore/remove-programmatic-ad-slots

Conversation

@idoshamun

@idoshamun idoshamun commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Requested by Ido · project thread

Changes

Nothing has filled the programmatic display-ad anchors since Content Ignite was removed on 2026-11-05 (#7242, #7244, #7246). Both kill switches, read_ads and organic_ads, were off, so the slots rendered nothing in production. This removes the framework:

  • Deletes ProgrammaticAd, ReadAdSlot, read/slots.ts, useReadAdSlots, PhoneTopAdStrip, ReadTopLeaderboard, useTimedRelease and splitContentForAds, plus their specs.
  • Removes the read_ads and organic_ads flags from featureManagement.ts.
  • Post page (/posts/[id]): drops the organic slot wiring and the phone strip banner.
  • /articles (ReadPostContent): renders the TLDR and body as plain blocks with no slots, and the header no longer pins with a leaderboard for 10 seconds.
  • Removes the ad props threaded through PostContent, BasePostContent, PostHybridColumn/PostHybridContent (ads, contentLeading, renderSummarySegments, aboveComments, commentAds, getWidgetRailAd/getRailAd), the rail slot wrapper and trailing in PostWidgets, and comment interleaving in PostComments, PostEngagements and PostHybridDiscussion.
  • Drops the --phone-top-ad-height offsets (nothing sets the variable any more).
  • Storybook post-hybrid: removes the ad slot folder (AdInventory, AdPages, adSlot) and the programmatic controls.

It also removes the EX.CO video player:

  • Deletes PostExcoPlayerWidget (rail and inline placements), ExcoPlayer, ExcoPlayerFrame, exco.ts, excoFrame.ts, useExcoPlayerLogging, the player's CSS overrides and the /embed/exco page the extension loaded it through (with its CSP header rule and bare-embed route entry).
  • Removes the exco_player flag and stops selecting excoPlaylistId on the post query. The API field stays for now, because extension builds already in the wild still request it.
  • Removes EX.CO (GVL 444) from the TCF vendors the consent banner declares. The marketing sites' embed mirrors this list by hand and needs the same change.
  • ads.txt is unchanged.

The remaining internal ads (direct-sold sidebar card, ad as comment) are unchanged. hideInternalAd stays on PostEngagements for the /articles template.

Verification: pnpm typecheck (shared, webapp, extension) and typecheck:strict:changed pass. oxlint and oxfmt are clean on the changed files; the only lint findings left in the storybook files existed before this PR. After the EX.CO commit, typecheck (webapp, extension) and the strict changed-files check pass again, oxlint/oxfmt are clean, shared tests for components/post and lib pass (765 tests), and the full webapp suite passes (712 tests).

Events

Removes the EX.CO player events, which nothing else logs: video player load, video player error, video player blocked, video progress, video ad progress, video sound, video sticky (target type video player). The player's ad breaks also stop sending AdActions with ad_provider_id exco.

Experiment

No new experiments.

Manual Testing

Not run in a browser. With both flags off, production already rendered none of the display slots. The EX.CO player disappears from the post page rail and inline placement wherever exco_player was on.

Preview domain

https://chore-remove-programmatic-ad-slo.preview.app.daily.dev


Generated by Claude Code

Nothing has filled these anchors since Content Ignite was removed on
2026-11-05, and both kill switches (read_ads, organic_ads) were off, so
the slots rendered nothing in production. Removes the slot framework
(ProgrammaticAd, ReadAdSlot, slots map, phone strip, top leaderboard,
content splitter), the two GrowthBook flags, the ad props threaded through
the post page, PostContent, the hybrid column, PostWidgets and the comment
thread, the --phone-top-ad-height offsets, and the storybook ad-slot
stories. The internal direct-sold ads are untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FodmVtwjhcXLFHfc3EtuDP
@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
daily-webapp Ready Ready Preview Nov 30, 2026 12:45pm UTC
storybook Ready Ready Preview Nov 30, 2026 12:45pm UTC

Request Review

Drops the player widget (rail and inline placements), the /embed/exco
frame the extension loaded it through, its styles, the exco_player flag,
the video log events and the excoPlaylistId selection on the post query.
EX.CO also leaves the TCF vendor list the consent banner declares.
ads.txt is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FodmVtwjhcXLFHfc3EtuDP
@idoshamun idoshamun changed the title chore(ads): remove the empty programmatic display-ad slots chore(ads): remove the empty display-ad slots and the EX.CO player Nov 30, 2026
@idoshamun
idoshamun enabled auto-merge (squash) November 30, 2026 12:41
@idoshamun
idoshamun merged commit 8bb629b into main Nov 30, 2026
14 checks passed
@idoshamun
idoshamun deleted the chore/remove-programmatic-ad-slots branch November 30, 2026 12:45

This branch was successfully deployed

2 active deployments
Preview – daily-webapp — afe35dd0 Deployed Nov 30, 2026 by vercel[bot]
Preview – storybook — afe35dd0 Deployed Nov 30, 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