Skip to content

Fix ZeroClick ad display text#648

Merged
jahooma merged 1 commit into
mainfrom
jahooma/fix-zero-click-ads
May 11, 2026
Merged

Fix ZeroClick ad display text#648
jahooma merged 1 commit into
mainfrom
jahooma/fix-zero-click-ads

Conversation

@jahooma
Copy link
Copy Markdown
Contributor

@jahooma jahooma commented May 11, 2026

Updates ZeroClick ad normalization so the main description uses offer content first, subtitle only as a fallback, and then the normalized title. Stores the brand name in the normalized title field when available, so no-URL ad rows display the shorter brand label instead of the long offer title. Adds provider regression coverage for content-vs-subtitle behavior and brand-title persistence. Validated with bun run --cwd web test -- src/lib/ad-providers/__tests__/zeroclick.test.ts, bun test cli/src/components/__tests__/choice-ad-banner.test.tsx, bun run --cwd web typecheck, and bun run --cwd cli typecheck.

@jahooma jahooma merged commit c299104 into main May 11, 2026
20 checks passed
@jahooma jahooma deleted the jahooma/fix-zero-click-ads branch May 11, 2026 23:58
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