Skip to content

Drop Umami and the shields.io badge from the guide and docs site - #514

Merged
em3s merged 3 commits into
mainfrom
chore/issue-513-drop-external-runtime-deps
Oct 14, 2026
Merged

em3s merged 3 commits into
mainfrom
chore/issue-513-drop-external-runtime-deps

Conversation

@em3s

@em3s em3s commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

We're keeping GitHub as the only infrastructure once the repo is archived. Two things still call outside services at runtime: the hands-on social guide offers opt-in Umami analytics on its welcome step, and both the docs site nav and the guide header load a star badge from img.shields.io.

Closes #513

Changes

  • Drop utils/analytics.ts and the opt-in prompt from the guide. The welcome step now has a single "start" button, and Enter works there too since there's no consent choice to wait for
  • Remove the badge script from Head.astro and its CSS, so the nav shows a plain "GitHub" link
  • Remove the badge from the guide header, along with its static fallback SVG, api/github.ts, and the now unused dompurify dependency

The released hands-on-social-latest.zip, the guide's Google Fonts, and the README.md badges are left as they are.

How to Test

cd guides/build-your-social-app && npm run build && grep -rlE 'umami|shields' dist   # no output
cd ../../website && npm run build && grep -rl img.shields.io dist      # no output

I also loaded both in headless Chromium. The guide's start button moves to step 2 of 18, and the guide only reaches Google Fonts and GitHub avatars. The docs page makes no external requests in light or dark mode. tsc and ESLint on the guide report the same 2 errors and 28 warnings as main.

AI Assistance

  • This PR was written largely with AI assistance.
    • Tool / model: Claude Code (Claude Opus 5.5)

em3s and others added 3 commits October 14, 2026 11:55
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@em3s
em3s merged commit e1c890c into main Oct 14, 2026
3 checks passed
@em3s
em3s deleted the chore/issue-513-drop-external-runtime-deps branch October 14, 2026 03:07
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.

Drop Umami and the shields.io badge from the guide and docs site

1 participant