Skip to content

chore(docs): remove shrill.en.dev analytics script#614

Merged
jdx merged 1 commit intomainfrom
chore/remove-shrill-analytics
May 2, 2026
Merged

chore(docs): remove shrill.en.dev analytics script#614
jdx merged 1 commit intomainfrom
chore/remove-shrill-analytics

Conversation

@jdx
Copy link
Copy Markdown
Owner

@jdx jdx commented May 2, 2026

Removes the proxied shrill.en.dev analytics snippet from the VitePress docs config — the endpoint is going away.


Note

Low Risk
Low risk documentation-site change; it only removes a third-party analytics script include and should not affect core functionality beyond stopping analytics events.

Overview
Removes the shrill.en.dev analytics <script> (and its data-domain/data-api attributes) from the VitePress head config for the docs site, leaving only the existing OpenGraph/Twitter meta tags.

Reviewed by Cursor Bugbot for commit 52c5f7e. Bugbot is set up for automated code reviews on this repo. Configure here.

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented May 2, 2026

Greptile Summary

Removes the proxied analytics <script> tag (pointing to shrill.en.dev) from the VitePress head config since the endpoint is being decommissioned. No functional or behavioural changes beyond the analytics collection stopping.

Confidence Score: 5/5

Safe to merge — trivial one-line removal with no side effects.

Single-element removal from a static config array; no logic, no imports, no tests affected. No issues found.

No files require special attention.

Important Files Changed

Filename Overview
docs/.vitepress/config.mts Removes the defunct shrill.en.dev analytics script element from the VitePress head array; no logic changes.

Sequence Diagram

sequenceDiagram
    participant Browser
    participant DocsPage as usage.jdx.dev
    participant Analytics as shrill.en.dev (removed)

    Note over Browser, Analytics: Before this PR
    Browser->>DocsPage: Load page
    DocsPage-->>Browser: HTML (includes analytics script tag)
    Browser->>Analytics: POST /f5f1/event (pageview)
    Analytics-->>Browser: 200 OK

    Note over Browser, Analytics: After this PR
    Browser->>DocsPage: Load page
    DocsPage-->>Browser: HTML (no analytics script tag)
Loading

Reviews (1): Last reviewed commit: "chore(docs): remove shrill.en.dev analyt..." | Re-trigger Greptile

@codecov
Copy link
Copy Markdown

codecov Bot commented May 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.03%. Comparing base (cae041f) to head (52c5f7e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #614   +/-   ##
=======================================
  Coverage   79.03%   79.03%           
=======================================
  Files          48       48           
  Lines        7235     7235           
  Branches     7235     7235           
=======================================
  Hits         5718     5718           
  Misses       1140     1140           
  Partials      377      377           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes a script tag and a meta tag from the VitePress configuration. A suggestion was made to include a trailing comma on the final array element to minimize future diff noise and align with TypeScript style conventions.

src: "https://shrill.en.dev/shrill/script.js"
}
]
["meta", { name: "twitter:image", content: "https://usage.jdx.dev/android-chrome-512x512.png" }]
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.

medium

It is recommended to maintain the trailing comma for the last element in the array when it is followed by a newline. This practice improves maintainability by reducing diff noise in future changes and adheres to common TypeScript style guides, such as the Google TypeScript Style Guide.

    ["meta", { name: "twitter:image", content: "https://usage.jdx.dev/android-chrome-512x512.png" }],
References
  1. The Google TypeScript Style Guide recommends using trailing commas in container literals (such as object literals and array literals) whenever there is a line break between the final element and the closing bracket to minimize diff noise. (link)

@jdx jdx merged commit 874b964 into main May 2, 2026
12 checks passed
@jdx jdx deleted the chore/remove-shrill-analytics branch May 2, 2026 13:45
@mise-en-dev mise-en-dev mentioned this pull request May 2, 2026
jdx pushed a commit that referenced this pull request May 3, 2026
### 🚀 Features

- **(complete)** auto-completion for usage shebang scripts by
[@jdx](https://github.com/jdx) in
[#620](#620)

### 🐛 Bug Fixes

- **(docs)** stack banner and pin close button on mobile by
[@jdx](https://github.com/jdx) in
[#603](#603)

### 📚 Documentation

- **(site)** show release version and github stars by
[@jdx](https://github.com/jdx) in
[#604](#604)
- add cross-site announcement banner by [@jdx](https://github.com/jdx)
in [#600](#600)
- fix banner dark-mode contrast by [@jdx](https://github.com/jdx) in
[#601](#601)
- respect banner expires field by [@jdx](https://github.com/jdx) in
[#602](#602)
- prefix star count with ★ glyph and populate it on deploy by
[@jdx](https://github.com/jdx) in
[#606](#606)
- integrate Commander.js, oclif and yargs by
[@gaojunran](https://github.com/gaojunran) in
[#616](#616)
- integrate Typer and Click by
[@gaojunran](https://github.com/gaojunran) in
[#619](#619)

### 🔍 Other Changes

- **(docs)** remove shrill.en.dev analytics script by
[@jdx](https://github.com/jdx) in
[#614](#614)
- **(release)** append en.dev sponsor blurb to release notes by
[@jdx](https://github.com/jdx) in
[#598](#598)
- switch analytics from gtm to plausible by
[@jdx](https://github.com/jdx) in
[#609](#609)
- pin taiki-e/install-action to commit SHA by
[@jdx](https://github.com/jdx) in
[#610](#610)
- rename CLAUDE.md to AGENTS.md and symlink by
[@jdx](https://github.com/jdx) in
[#618](#618)

### 📦️ Dependency Updates

- bump communique to 1.1.2 by [@jdx](https://github.com/jdx) in
[#605](#605)
- lock file maintenance by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#607](#607)
- update autofix-ci/action action to v1.3.4 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#611](#611)
- update apple-actions/import-codesign-certs action to v7 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#612](#612)
- update taiki-e/install-action digest to fc9eae0 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#613](#613)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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