Repository navigation
feat(demo): Little Friend analytics on yable-demo.vercel.app - #91
Merged
Merged
Conversation
Production deployments of the React demo render the Little Friend tag (journey mode, with session replay) in the root layout. Previews, local dev and the e2e dev server render nothing, because the tag depends on VERCEL_ENV being production. - examples/react-demo/turbo.json declares VERCEL_ENV for the build task, so Turborepo keys its cache on it. Without it, a preview build and a production build of the same source share one cache entry, and either can replay the other's output. - install.copy after the hero install command is copied, github.click and npm.click for links to GitHub and npm. - data-lf click ids on the hero calls to action and the docs header. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
Merging with one red check this PR does not touch: |
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 React demo at yable-demo.vercel.app.
VERCEL_ENVisproduction. Previews, local dev and the e2e dev server load nothing.examples/react-demo/turbo.jsondeclaresVERCEL_ENVfor the build task. Without it, Turborepo gives a preview build and a production build of the same source one cache key, so either can replay the other's output (checked locally: a preview build was a full cache hit on the production output).install.copyafter the hero install command is copied.github.clickandnpm.clickfor outbound links to GitHub and npm.data-lfclick ids on the hero calls to action and the docs header.Checked locally:
pnpm lint,tsc --noEmitin the demo, prettier, and turbo builds withVERCEL_ENVset to preview (no tag) and production (tag on every page).🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.