Skip to content

fix(billing): correct typo in credit pending banner copy - #68042

Merged
pawel-cebula merged 2 commits into
masterfrom
posthog-code/fix-billing-credits-banner-typo
Jul 3, 2026
Merged

fix(billing): correct typo in credit pending banner copy#68042
pawel-cebula merged 2 commits into
masterfrom
posthog-code/fix-billing-credits-banner-typo

Conversation

@posthog

@posthog posthog Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Problem

The credit-purchase "pending" banner had a copy typo. For customers paying by card on file (any collection_method other than send_invoice), the banner read "We'll will charge your card on file and we'll email you if there are any issues!" - note the duplicated "We'll will". A stray trailing double-quote after issues! also leaked into the rendered text. A paying customer flagged it via a support ticket.

Changes

Two tiny copy edits in frontend/src/scenes/billing/CreditCTAHero.tsx:

  • "We'll will charge" -> "We'll charge"
  • removed the stray trailing " after issues!

Final copy: "We'll charge your card on file and we'll email you if there are any issues!"

Purely cosmetic, no functional or data impact.

How did you test this code?

I (Claude) made the text-only edit and confirmed the surrounding JSX still reads correctly. No automated tests were added - this is a one-line copy fix with no logic change, so there's no realistic regression a test would catch that existing coverage doesn't.

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Docs update

No docs affected.

🤖 Agent context

Autonomy: Fully autonomous

Authored by Claude Code from a PostHog inbox report flagging a billing copy typo. The fix is a two-token text change in the credit pending banner - no logic, no API, no types touched. No skills were needed.


Created with PostHog Code from an inbox report.

Generated-By: PostHog Code
Task-Id: 73d13fd6-b4ce-4504-9088-5b5bcf1ca129
@posthog posthog Bot added the skip-agent-review Save $$$, skip auto agent reviews (Greptile) — use for trivial or chore PRs label Jul 2, 2026
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

🤖 CI report

Bundle size — 🟢 -6 B (-0.0%)

Uncompressed size of every built .js bundle, compared against the base branch.

Total: 81.55 MiB · 🟢 -6 B (-0.0%)

No file changed by more than 1000 B.

Posted automatically by build-bundle-size-report · uncompressed bytes from dist-report

Eager graph — within budget

How much code each root ships on the eager path — downloaded and parsed before the surface is interactive. Measured from the esbuild output chunks (post-tree-shake, static imports only); lazy import() / React.lazy chunks are not counted.

Root Eager (shipped) Δ vs base Budget
entry (logged-out pages, app bootstrap)
src/index.tsx
3.76 MiB · 695 files 🟢 -6 B (-0.0%) █████████░ 87.7% of 4.29 MiB
authenticated shell (every logged-in page)
src/scenes/AuthenticatedShell.tsx
11.52 MiB · 2,937 files 🟢 -6 B (-0.0%) █████████░ 89.5% of 12.87 MiB

🟢 node_modules/monaco-editor/ stays out of src/index.tsx
🟢 src/lib/components/ActivityLog/describers stays out of src/index.tsx
🟢 node_modules/monaco-editor/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/lib/components/ActivityLog/describers stays out of src/scenes/AuthenticatedShell.tsx

Largest files eagerly shipped from src/index.tsx
Size File
275.2 KiB ../node_modules/.pnpm/posthog-js@1.396.5/node_modules/posthog-js/dist/rrweb.js
266.9 KiB ../node_modules/.pnpm/@posthog+icons@0.37.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
224.5 KiB src/taxonomy/core-filter-definitions-by-group.json
211.3 KiB ../node_modules/.pnpm/posthog-js@1.396.5/node_modules/posthog-js/dist/module.js
126.8 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
105.9 KiB src/lib/api.ts
69.7 KiB src/products.tsx
61.7 KiB src/lib/lemon-ui/icons/icons.tsx
57.2 KiB src/lib/utils/eventUsageLogic.ts
39.6 KiB src/lib/KeaDevTools.tsx
Largest files eagerly shipped from src/scenes/AuthenticatedShell.tsx
Size File
458.3 KiB ../node_modules/.pnpm/@posthog+brand@0.3.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/driving-hogzilla.mjs
302.9 KiB ../node_modules/.pnpm/@posthog+brand@0.3.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/coffee-run.mjs
275.2 KiB ../node_modules/.pnpm/posthog-js@1.396.5/node_modules/posthog-js/dist/rrweb.js
266.9 KiB ../node_modules/.pnpm/@posthog+icons@0.37.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
253.2 KiB ../node_modules/.pnpm/@posthog+brand@0.3.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/chart-hog.mjs
239.2 KiB ../node_modules/.pnpm/@posthog+brand@0.3.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/x-ray.mjs
224.5 KiB src/taxonomy/core-filter-definitions-by-group.json
211.6 KiB ../node_modules/.pnpm/@posthog+brand@0.3.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/money.mjs
211.3 KiB ../node_modules/.pnpm/posthog-js@1.396.5/node_modules/posthog-js/dist/module.js
185.9 KiB ../node_modules/.pnpm/@posthog+brand@0.3.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/hogpatch.mjs

Posted automatically by check-eager-graph · sizes are eager output bytes (shipped, post-tree-shake) from the esbuild metafile · part of #32479

Dist folder size — 🟢 -298.40 MiB (-16.9%)

Total size of the built frontend/dist folder (all assets), compared against the base branch.

Total: 1464.54 MiB · 🟢 -298.40 MiB (-16.9%)

Generated-By: PostHog Code
Task-Id: 73d13fd6-b4ce-4504-9088-5b5bcf1ca129
@pawel-cebula
pawel-cebula self-requested a review July 3, 2026 06:28
@pawel-cebula
pawel-cebula marked this pull request as ready for review July 3, 2026 06:28
@pr-assigner-resolver-posthog
pr-assigner-resolver-posthog Bot requested a review from a team July 3, 2026 06:28
@pawel-cebula
pawel-cebula enabled auto-merge (squash) July 3, 2026 06:28
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🎭 Playwright report · View test results →

⚠️ 1 flaky test:

  • service filter passes serviceNames to API (chromium)

These issues are not necessarily caused by your changes.
Annoyed by this comment? Help fix flakies and failures and it'll disappear!

@pawel-cebula
pawel-cebula merged commit d7e2c28 into master Jul 3, 2026
247 of 257 checks passed
@pawel-cebula
pawel-cebula deleted the posthog-code/fix-billing-credits-banner-typo branch July 3, 2026 06:44
@deployment-status-posthog

deployment-status-posthog Bot commented Jul 3, 2026

Copy link
Copy Markdown

Deploy status

Environment Status Deployed At Workflow
dev ✅ Deployed 2026-07-03 07:13 UTC Run
prod-us ✅ Deployed 2026-07-03 07:23 UTC Run
prod-eu ✅ Deployed 2026-07-03 07:24 UTC Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-agent-review Save $$$, skip auto agent reviews (Greptile) — use for trivial or chore PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant