Skip to content

Vercel Analytics, community Discord popup, Ko-fi support - #11

Merged
DevBehindYou merged 4 commits into
mainfrom
claude/youthful-pascal-0aez70
Oct 3, 2026
Merged

DevBehindYou merged 4 commits into
mainfrom
claude/youthful-pascal-0aez70

Conversation

@DevBehindYou

Copy link
Copy Markdown
Owner

Brings three website changes to main. They were on this branch but never merged, so the live site never got them.

Changes

Vercel Web Analytics

  • @vercel/analytics is added through src/components/SiteAnalytics.tsx in the root layout.
  • /controller is never reported: the component renders nothing there, and a beforeSend filter drops any event for that path.
  • The privacy policy gets a "Website analytics" section. It covers the website, not the app, and says the analytics use no cookies and store no IP address.

Community Discord popup (src/components/CommunityPopup.tsx)

  • A bottom-left framed card in the site's square style, linking to https://discord.gg/T4Vs7P3Qs.
  • It appears 5 s after every full page load or refresh. Closing it (× or Escape) lasts until the next load, and nothing is stored.
  • It isn't shown on /controller. It's inert and hidden from screen readers until shown, and respects reduced motion.

Ko-fi on the support page

  • https://ko-fi.com/devbehindyou is added next to Patreon, with a new "Two ways to support" section.
  • The steps explain how to send the account email on each platform. On Ko-fi the message must be marked private, so the email stays off the public page.
  • The home page Energy note, the footer and llms.txt now name both platforms.

Merge with main

  • Latest main is merged in (PR Blog pipeline: source of truth matches the current app (2.03.5) #10, including Tailwind 4).
  • The only conflict was package-lock.json. It was regenerated from main's lockfile with npm 11, which adds @vercel/analytics plus six optional Tailwind WebAssembly entries that npm 11 records. npm 10 stripped libc fields, so it wasn't used.

Verification

  • npm ci, npm audit --audit-level=high (0 vulnerabilities), npx tsc --noEmit, npm run build and npm run test:smoke (22/22) pass on the merged tree.
  • Browser check on a production build:
    • The popup appears after 5 s and the analytics script loads.
    • The support page has 3 Ko-fi links.
    • The privacy page has the analytics section.
    • Layout matches the pre-merge screenshots at 1440px and 390px.

After merging

  • Turn on Web Analytics in the Vercel project's Analytics tab, otherwise /_vercel/insights returns 404.
  • Make sure the Discord invite never expires and has no use limit.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GVCvBYmceuqXQkc8AFCw8h


Generated by Claude Code

Mounts @vercel/analytics in the root layout through a small client
wrapper. The Controller is left out twice: the component renders
nothing on /controller, and a beforeSend filter drops any event for
that path, so the secret address never reaches the dashboard.

The privacy policy now says the website (not the app) counts page
views with Vercel Web Analytics, what it records, and that it sets no
cookies and stores no IP address.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GVCvBYmceuqXQkc8AFCw8h
A small framed card invites visitors to the new Atomic Notes Community
Discord server. It appears 5 seconds after every full page load or
refresh; closing it (button or Escape) lasts until the next load, and
nothing is stored. Client-side navigation does not bring it back. It
never renders on the Controller.

Site-matched styling: ink frame with a signal glow, paper card, 4px
corners and a hard signal offset shadow. It is inert and hidden from
assistive tech until shown, and respects reduced motion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GVCvBYmceuqXQkc8AFCw8h
Adds Ko-fi (ko-fi.com/devbehindyou) as a second way to support the
project and earn early-supporter Atomic Coins. A new "Two ways to
support" section compares the platforms, the four steps explain how
to send the account email on each (a Patreon message, or a private
Ko-fi message so the email stays off the public page), and every
Patreon-only call to action now offers both.

The home page Energy note, the footer link and llms.txt name both
platforms too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GVCvBYmceuqXQkc8AFCw8h
@vercel

vercel Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
atomic-notes-community Ready Ready Preview Oct 3, 2026 2:32pm UTC

@DevBehindYou
DevBehindYou merged commit 09178d7 into main Oct 3, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — f3161276 Deployed Oct 3, 2026 by vercel[bot]
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.

2 participants