Repository navigation
Add Little Friend analytics to whenny.dev - #24
Merged
Merged
Conversation
Production deployments render the Little Friend tag (journey mode, with session replay) in the root layout. Previews and local dev render nothing, because the tag depends on VERCEL_ENV being production. - install.copy fires after an install command is copied (home page command blocks, CLI lines, module chips, and the docs installation section and code blocks), with method create, cli or package. The command text is never sent. - github.click and npm.click for links to GitHub and npm. - data-lf click ids on the home nav, calls to action and footer. - CSP: script-src adds https://cdn.littlefriend.io, and a connect-src of 'self' https://in.littlefriend.io replaces the default-src fallback. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Little Friend (privacy-first analytics, journey mode with masked session replay) to the whenny.dev site in
apps/example.VERCEL_ENVisproduction. Previews and local dev load nothing.install.copyafter an install command is copied (home command blocks, CLI lines, module chips, docs installation and code blocks), withmethod: create, cli or package. The command text is never sent.github.clickandnpm.clickfor outbound links to GitHub and npm.data-lfclick ids on the home nav, calls to action and footer.script-srcaddshttps://cdn.littlefriend.io. Aconnect-src 'self' https://in.littlefriend.ioreplaces thedefault-srcfallback.Checked locally:
npm run build,npm run lint,npm run typecheck,tsc --noEmitin apps/example,TZ=UTC npm test(374 + 38 pass), and a production build that renders the tag. The core package tests fail in a non-UTC local time zone before and after this change; CI runs in UTC.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.