Skip to content

fix(onboarding): Add missing logs/metrics snippets to JS onboarding variants#115425

Draft
cleptric wants to merge 3 commits into
masterfrom
mhoffmann/fix-js-onboarding-logs-metrics-snippets
Draft

fix(onboarding): Add missing logs/metrics snippets to JS onboarding variants#115425
cleptric wants to merge 3 commits into
masterfrom
mhoffmann/fix-js-onboarding-logs-metrics-snippets

Conversation

@cleptric
Copy link
Copy Markdown
Member

@cleptric cleptric commented May 12, 2026

Several JavaScript onboarding variants did not update code snippets when
toggling the Logs or Metrics product selections, even though these products
are declared as available.

Base JavaScript (javascript/utils.tsx)

Init config was missing enableLogs: true, verify snippet was missing a
Sentry.logger.info() example, and nextSteps was missing a Logs
documentation link — for both loader-script and npm/yarn modes.

Vue (javascript-vue/onboarding.tsx)

Verify snippet was missing the logs code block (only had metrics).

SolidStart (javascript-solidstart/)

Client-side getDynamicParts and server-side init snippet were both
missing enableLogs: true. NextSteps was missing a metrics entry.

TanStack Start (javascript-tanstackstart-react/onboarding.tsx)

Verify snippet was missing the logs code block. Had no nextSteps
function at all (no logs or metrics entries).

The base JavaScript onboarding did not react to logs or metrics product
selection changes, unlike all other JS framework variants (React, Angular,
Vue, Svelte). Add enableLogs to init config, a logger example to the
verify snippet, and logs next-step links for both loader-script and
npm/yarn install modes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 12, 2026
cleptric and others added 2 commits May 12, 2026 23:17
…, TanStack Start

Vue was missing logs in its verify snippet. SolidStart was missing
enableLogs in both client and server init configs and metrics in
nextSteps. TanStack Start was missing logs in its verify snippet and
had no nextSteps at all.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cleptric cleptric changed the title fix(onboarding): Update JS snippets when logs or metrics are toggled fix(onboarding): Add missing logs/metrics snippets to JS onboarding variants May 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

Metric Before After Delta
Coverage 93.50% 93.50% ±0%
Typed 135,324 135,327 🟢 +3
Untyped 9,411 9,412 🔴 +1
🔍 1 new type safety issue introduced

any-typed symbols (1 new)

File Line Detail
static/app/gettingStartedDocs/javascript-tanstackstart-react/onboarding.tsx 645 steps (var)

This is informational only and does not block the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant