Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(onboarding): Generic copy DSN #83088

Merged
merged 3 commits into from
Jan 8, 2025

Conversation

ArthurKnaus
Copy link
Member

@ArthurKnaus ArthurKnaus commented Jan 8, 2025

Move the "copy DSN" section into manual configuration.
Add it to every platform doc that instructs to use the wizard.
Screenshot 2025-01-08 at 12 55 36

Closes #80179

@ArthurKnaus ArthurKnaus requested a review from a team as a code owner January 8, 2025 11:57
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 8, 2025
@shellmayr shellmayr changed the title feat(onboarding): Generic copy DNS feat(onboarding): Generic copy DSN Jan 8, 2025
@@ -111,6 +112,9 @@ const onboarding: OnboardingConfig = {
</List>
),
},
{
description: <CopyDnsField params={params} />,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is supposed to be CopyDsnField, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haha, classic 🙈 thx for pointing out!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

happens to all of us 😄

</p>
<TextCopyInput
onCopy={() =>
trackAnalytics('onboarding.nextjs-dsn-copied', {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this always supposed to be this analytics string - I suppose when used in e.g. SvelteKit, we don't want to track this as nextjs-dsn-copied, right?

Copy link
Member

@shellmayr shellmayr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ArthurKnaus ArthurKnaus enabled auto-merge (squash) January 8, 2025 12:12
@ArthurKnaus ArthurKnaus merged commit 23036d1 into master Jan 8, 2025
43 checks passed
@ArthurKnaus ArthurKnaus deleted the aknaus/feat/onboarding/generic-copy-dns branch January 8, 2025 12:22
@ArthurKnaus ArthurKnaus restored the aknaus/feat/onboarding/generic-copy-dns branch January 8, 2025 14:11
andrewshie-sentry pushed a commit that referenced this pull request Jan 22, 2025
Move the "copy DSN" section into manual configuration.
Add it to every platform doc that instructs to use the wizard.

Closes #80179
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generic "Here is your DSN" for onboarding
2 participants