Skip to content

feat(onboarding): Add copy-as-markdown button to project creation and signup setup docs#109237

Open
jaydgoss wants to merge 7 commits intomasterfrom
jaygoss/onb-13-onboarding-add-copy-as-markdown-button-to-project-creation
Open

feat(onboarding): Add copy-as-markdown button to project creation and signup setup docs#109237
jaydgoss wants to merge 7 commits intomasterfrom
jaygoss/onb-13-onboarding-add-copy-as-markdown-button-to-project-creation

Conversation

@jaydgoss
Copy link
Member

@jaydgoss jaydgoss commented Feb 24, 2026

Summary

  • Makes useCopySetupInstructionsEnabled and CopySetupInstructionsGate accept an optional featureFlag parameter (defaults to existing flag, fully backward-compatible)
  • Exports PROJECT_CREATION_FEATURE_FLAG constant for the new onboarding-copy-setup-instructions-project-creation flag
  • Adds OnboardingCopyMarkdownButton to OnboardingLayout (shared by both the project creation getting-started page and the first-time signup wizard), positioned inline with the first step header via trailingItems

Related PRs

Test plan

  • Verify button appears on /projects/:projectId/getting-started/ when flag is enabled
  • Verify button appears on /onboarding/:step/ signup wizard when flag is enabled
  • Verify button does not appear when flag is disabled
  • Verify clicking button copies markdown to clipboard
  • Verify existing onboarding surfaces are unaffected (they use the default flag)

Refs ONB-13

@github-actions github-actions bot added Scope: Frontend Automatically applied to PRs that change frontend components Scope: Backend Automatically applied to PRs that change backend components labels Feb 24, 2026
@github-actions

This comment was marked as outdated.

@jaydgoss jaydgoss force-pushed the jaygoss/onb-13-onboarding-add-copy-as-markdown-button-to-project-creation branch from 1e3f693 to 47500fd Compare February 24, 2026 20:44
@jaydgoss jaydgoss changed the base branch from master to jaygoss/onb-13-feat-flag-copy-instructions-project-creation February 24, 2026 20:44
Base automatically changed from jaygoss/onb-13-feat-flag-copy-instructions-project-creation to master February 25, 2026 20:47
@jaydgoss jaydgoss force-pushed the jaygoss/onb-13-onboarding-add-copy-as-markdown-button-to-project-creation branch from 47500fd to fc93ec7 Compare February 25, 2026 20:51
jaydgoss and others added 2 commits February 25, 2026 15:53
…on gate

Add optional featureFlag parameter to useCopySetupInstructionsEnabled
and CopySetupInstructionsGate so project creation surfaces can use a
separate flag from the existing onboarding surfaces.

Refs ONB-13
Co-Authored-By: Claude <noreply@anthropic.com>
… signup setup docs

Add OnboardingCopyMarkdownButton to OnboardingLayout, which is shared
by both the project creation getting-started page and the first-time
signup wizard. Gated behind the new
onboarding-copy-setup-instructions-project-creation feature flag.

Refs ONB-13
Co-Authored-By: Claude <noreply@anthropic.com>
@jaydgoss jaydgoss force-pushed the jaygoss/onb-13-onboarding-add-copy-as-markdown-button-to-project-creation branch from fc93ec7 to 7257a0b Compare February 25, 2026 21:53
Place the "Copy instructions" button as trailingItems on the first
step so it sits in the same row as the "Install" heading, matching
the existing "Copy DSN" placement pattern on the Configure step.
@jaydgoss jaydgoss marked this pull request as ready for review February 25, 2026 22:51
@jaydgoss jaydgoss requested a review from a team as a code owner February 25, 2026 22:51
@jaydgoss jaydgoss requested review from a team February 25, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components 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