Skip to content

Remove dead Pipedrive chat widget from docs footer#783

Merged
AlexKantor87 merged 1 commit intomainfrom
remove-pipedrive-chat-widget
Apr 15, 2026
Merged

Remove dead Pipedrive chat widget from docs footer#783
AlexKantor87 merged 1 commit intomainfrom
remove-pipedrive-chat-widget

Conversation

@AlexKantor87
Copy link
Copy Markdown
Contributor

Summary

  • Removes the Pipedrive LeadBooster chat widget script from docs.kosli.com/layouts/partials/docs/footer.html.
  • We migrated off Pipedrive to HubSpot almost a year ago, but the LeadBooster loader was still embedded on every docs page — silently pinging an abandoned Pipedrive workspace (companyId 7960593) on every visit and rendering nothing visible (verified at https://docs.kosli.com/).
  • Side effect: unblocks Netlify deploys. The checklinks plugin has been timing out (ETIMEDOUT) on https://leadbooster-chat.pipedrive.com/assets/loader.js from Netlify's build infra, blocking every deploy. Removing the script tag means the URL is no longer in the built site.

Test plan

  • Netlify deploys docs-main successfully after merge
  • Visit https://docs.kosli.com/ — no chat bubble (same as before, since the widget wasn't rendering anyway)
  • DevTools → Network: no request to leadbooster-chat.pipedrive.com

🤖 Generated with Claude Code

We moved off Pipedrive to HubSpot almost a year ago, but the
LeadBooster loader script was still embedded on every docs page —
silently pinging an abandoned Pipedrive workspace
(companyId 7960593) on every visit and rendering nothing.

Also blocking Netlify deploys: the link checker times out on
leadbooster-chat.pipedrive.com from Netlify's build infra. Removing
the script tag fixes the deploy as a side effect.
@claude
Copy link
Copy Markdown
Contributor

claude bot commented Apr 15, 2026

Claude finished @AlexKantor87's task in 1m 39s —— View job


PR Review: Remove dead Pipedrive chat widget

  • Run static analysis (build, vet, mod tidy)
  • Review code changes
  • Post review feedback

Static Analysis

All checks pass:

  • go build ./... — clean
  • go vet ./... — clean
  • go mod tidy — no drift in go.mod / go.sum

(Expected, since this PR only touches an HTML partial.)

Code Review

Change: Removes 2 lines from docs.kosli.com/layouts/partials/docs/footer.html — the inline Pipedrive LeadBooster config script and its accompanying <script src="...loader.js" async> tag.

Verdict: LGTM — this is a clean, safe removal of dead third-party code.

Details:

  1. Correctness — The removed script was configuring and loading Pipedrive's LeadBooster chat widget (companyId: 7960593). Since the team migrated to HubSpot ~a year ago and the widget renders nothing on the live site, this is purely dead code. No other file in the repo references pipedriveLeadboosterConfig or LeadBooster.

  2. Side effects — Positive only. Removes an unnecessary external network request to leadbooster-chat.pipedrive.com on every docs page load, and unblocks Netlify deploys that were timing out on that URL.

  3. File hygiene — The old file was missing a trailing newline (the Pipedrive <script> was the last line without \n). After this removal, the file correctly ends with a newline. Nice fix.

  4. Security — Removing a third-party script from an abandoned vendor workspace is a security improvement — it eliminates a vector where a compromised/repurposed Pipedrive asset could inject code into the docs site.

  5. No test impact — This is a Hugo HTML partial; no Go tests are affected.

No issues found. Clean PR, well-scoped, good PR description with clear test plan.

@AlexKantor87 AlexKantor87 merged commit 299f0f0 into main Apr 15, 2026
18 checks passed
@AlexKantor87 AlexKantor87 deleted the remove-pipedrive-chat-widget branch April 15, 2026 12:04
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.

3 participants