Skip to content

feat(onboarding): Add "Copy DSN" button to post-project creation instructions#101424

Merged
priscilawebdev merged 6 commits into
masterfrom
priscila/feat/onboarding/add-copy-dsn-button-as-trailing-item-first-config-step
Oct 16, 2025
Merged

feat(onboarding): Add "Copy DSN" button to post-project creation instructions#101424
priscilawebdev merged 6 commits into
masterfrom
priscila/feat/onboarding/add-copy-dsn-button-as-trailing-item-first-config-step

Conversation

@priscilawebdev

@priscilawebdev priscilawebdev commented Oct 14, 2025

Copy link
Copy Markdown
Member

Problem

We got some internal feedback that it’s not always easy to spot the DSN in the code snippet. People have to manually select and copy it, which can be a bit annoying.

Solution

This PR adds a “Copy DSN” button that lets users copy the project DSN with a single click The button always shows up in the “Configure” step of instructions displayed after project-creation

Screen.Recording.2025-10-16.at.07.50.37.mov

closes https://linear.app/getsentry/issue/TET-1235/add-quick-copy-paste-option-for-dsn-from-pages

@linear

linear Bot commented Oct 14, 2025

Copy link
Copy Markdown

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 14, 2025
Comment thread static/app/views/profiling/onboarding.tsx Outdated
Comment thread static/app/views/performance/onboarding.tsx Outdated
Comment thread static/app/views/insights/mcp/views/onboarding.tsx Outdated
Comment thread static/app/views/insights/agents/views/onboarding.tsx Outdated
Comment thread static/app/views/explore/logs/logsOnboarding.tsx Outdated
Comment thread static/app/components/replaysOnboarding/replayOnboardingLayout.tsx Outdated
Comment thread static/app/components/profiling/profilingOnboardingSidebar.tsx Outdated
Comment thread static/app/components/performanceOnboarding/sidebar.tsx Outdated
Comment thread static/app/components/feedback/feedbackOnboarding/feedbackOnboardingLayout.tsx Outdated
@priscilawebdev priscilawebdev marked this pull request as ready for review October 14, 2025 12:02
@priscilawebdev priscilawebdev requested review from a team as code owners October 14, 2025 12:02
@priscilawebdev priscilawebdev requested review from a team October 14, 2025 12:02
@priscilawebdev priscilawebdev requested a review from a team as a code owner October 14, 2025 12:02
@priscilawebdev priscilawebdev changed the title feat(onboarding): Add Copy DSN button to all configure steps feat(onboarding): Add Copy DSN button to all onboarding's configure step Oct 14, 2025
Comment thread static/app/components/guidedSteps/guidedSteps.tsx Outdated
@priscilawebdev priscilawebdev marked this pull request as draft October 15, 2025 10:41
@priscilawebdev priscilawebdev force-pushed the priscila/feat/onboarding/add-copy-dsn-button-as-trailing-item-first-config-step branch from 7c00d95 to 6b07737 Compare October 16, 2025 05:44
@priscilawebdev priscilawebdev removed request for a team and michellewzhang October 16, 2025 05:45
@priscilawebdev priscilawebdev changed the title feat(onboarding): Add Copy DSN button to all onboarding's configure step feat(onboarding): Add "Copy DSN" button to post-project creation instructions Oct 16, 2025
<Flex justify="between" align="center" gap="sm">
{stepTitle}
{trailingItemsContent}
</Flex>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug: Flex Layout Risk: Safari Text Selection Bug

Introducing Flex layout for non-collapsible step headers with trailing items contradicts an existing comment about avoiding flex/grid due to Safari text selection issues (#79958), potentially reintroducing that bug.

Fix in Cursor Fix in Web

@ArthurKnaus ArthurKnaus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀

@priscilawebdev priscilawebdev merged commit 64c521d into master Oct 16, 2025
46 checks passed
@priscilawebdev priscilawebdev deleted the priscila/feat/onboarding/add-copy-dsn-button-as-trailing-item-first-config-step branch October 16, 2025 08:07
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 31, 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.

3 participants