Skip to content

Make Web Vitals discoverable - #757

Merged
unjica merged 2 commits into
developfrom
codex/web-vitals-copy
Oct 11, 2026
Merged

unjica merged 2 commits into
developfrom
codex/web-vitals-copy

Conversation

@unjica

@unjica unjica commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Real-user Web Vitals already run in the browser SDK, but acquisition pages and setup docs do not explain how to use them. Add a homepage feature, browser Web Vitals sections on Sentry alternative / React / Next.js pages, and browser-only scope notes on Node.js and React Native pages.

Extend existing SDK, Next.js and dashboard docs with LCP/INP/CLS/TTFB, default capture, webVitals: false, Performance/Overview, p75 and slow pages, ingest units, lifecycle limitations and best-effort privacy protections. No new pages or SDK behavior changes. No FCP, visible p95, replay, synthetic monitoring, absolute privacy or competitor performance claims added.

Validation:

  • Lint and all seven workspace builds passed, including production type validation. Production API and all five SDK type-checks passed.
  • Tests: 1,411 passed, 128 DB integration tests skipped locally. Sandbox denies local PostgreSQL shared-memory creation; CI must run DB-enabled tests.
  • Broad type-checks found existing errors in unchanged test files: 106 API errors and six dashboard errors. No tests/configs weakened.
  • Built HTML checked for all eight edited documentation/acquisition routes; full diff self-reviewed.

Evidence: core web-vitals.ts contains browser guards and four metric callbacks; core index.ts enables capture by default and sends each metric through trackEvent; Next provider delegates to core; ingest meters one unit per event; Performance components show p75 and LCP/CLS by page path. Detailed evidence and final copy recorded in handoff FINAL_REPORT.md.

Base: develop. Remote CI pending publication. Do not merge or deploy.

unjica and others added 2 commits October 9, 2026 19:49
Surface existing browser Web Vitals on acquisition pages and document
default capture, opt-out, dashboard views, usage and privacy limits.
Clarify browser-only scope for Node.js and native React Native.
@unjica
unjica merged commit f08484a into develop Oct 11, 2026
7 checks passed
@unjica unjica mentioned this pull request Oct 11, 2026
2 tasks
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