Skip to content

Add dbt State webinar page banner (GTM-1034590) - #9849

Merged
JKarlavige merged 2 commits into
currentfrom
gtm-1034590-dbt-state-banner
Aug 19, 2026
Merged

Add dbt State webinar page banner (GTM-1034590)#9849
JKarlavige merged 2 commits into
currentfrom
gtm-1034590-dbt-state-banner

Conversation

@JKarlavige

@JKarlavige JKarlavige commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

What

Adds a page-specific promo banner for the dbt State technical deep dive webinar (Sept 1 & 2) to the dbt State docs pages, per GTM-1034590.

The global announcement bar stays on the dbt Summit promo. This banner replaces it only on the 12 dbt State pages the docs team identified.

Banner copy follows the format of the previous page banner:

dbt State: See volatile SQL, Jinja macros, freshness checks, time travel, and more in action. Join our technical deep dive on Sept 1 & 2!

Preview links

Expect the dbt State webinar banner (not the dbt Summit bar) on all 12:

Page Preview
About dbt-state-about
Set up dbt-state-setup
Enable in jobs dbt-state-enable-jobs
Enable in Studio dbt-state-enable-studio
CI/CD dbt-state-cicd
Deferral dbt-state-deferral
Trial dbt-state-trial
Examples dbt-state-examples
Interface dbt-state-interface
Migration dbt-state-migration
Billing usage dbt-state-usage
Reference configs dbt-state-configs

Expect the global dbt Summit bar (control pages — confirms no over-matching, and that the expired Wizard banner removal landed):

Also worth a click: dbt-state-usage?version=2 — confirms the version query param doesn't break banner matching.

Commits

  1. Add dbt State webinar page banner — one new entry in website/page-banners.yml. No component, plugin, or CSS changes.
  2. Remove expired dbt Wizard webinar page banner — its webinar was July 22nd. Separate commit so it can be dropped or reverted independently. Those 15 dbt Wizard/AI pages now fall back to the global dbt Summit bar.

Notes

  • Banner path matching is exact pathname equality, so the nested pages are enumerated individually rather than matched by prefix.
  • Versioning on this site is a client-side query param that never changes the pathname, so the ?version=2 URLs in the ticket need no special handling.
  • & in text (injected via dangerouslySetInnerHTML) but a bare & in link (React escapes href attributes) is intentional, not an inconsistency.

Verification

Checked the server-rendered HTML on the preview deploy above — all 14 pages return 200, and the banner is present in the static markup rather than swapped in client-side:

  • 12/12 target pages: dbt State banner present, dbt Summit bar absent.
  • 2/2 control pages: global dbt Summit bar present, no dbt State banner.
  • Zero [page-banners] No page found for banner path warnings from the build plugin — every configured path resolves to a real page.
  • Webinar link resolves with utm params intact and opens in a new tab.

Follow-up (not in this PR)

Page banners have no expiry mechanism — no start_date/end_date in buildPageBanners. Entries render until someone deletes them by hand and the site rebuilds, which is how the Wizard banner outlived its webinar by a month. This banner will need manual removal after Sept 2. Adding date support to the plugin would prevent the recurrence; worth its own ticket.

🤖 Generated with Claude Code

JKarlavige and others added 2 commits August 19, 2026 10:20
Promote the dbt State technical deep dive webinar (Sept 1 & 2) on the
dbt State docs pages. The global announcement bar stays on the dbt Summit
promo, so this is scoped to the 12 dbt State pages the docs team picked:
the dbt-state-about category and everything nested under it, the billing
usage page, and the reference configs page.

Banner path matching is exact pathname equality, so the nested pages are
enumerated individually. Versioning is a client-side query param and never
changes the pathname, so the ?version=2 URLs in the ticket need no
special handling.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The dbt Wizard webinar it promotes was July 22nd, nearly a month ago.
Page banners have no expiry mechanism, so stale entries keep rendering
until removed by hand. The 15 dbt Wizard/AI pages now fall back to the
global dbt Summit announcement bar.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
docs-getdbt-com Ready Ready Preview Aug 19, 2026 2:52pm

Request Review

@JKarlavige
JKarlavige marked this pull request as ready for review August 19, 2026 14:56
@JKarlavige
JKarlavige requested a review from a team as a code owner August 19, 2026 14:56

@breezyfasano breezyfasano left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!!

@john-rock john-rock left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit: Confirmed specific routes show the state banner and others show the dbt Summit banner.

@JKarlavige
JKarlavige merged commit 4c0dbf3 into current Aug 19, 2026
7 checks passed
@JKarlavige
JKarlavige deleted the gtm-1034590-dbt-state-banner branch August 19, 2026 17:23
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.

4 participants