Conversation
… flag Add flagpole-backed feature flag for gating the Copy Setup Instructions button on onboarding surfaces.
4 tasks
wedamija
approved these changes
Feb 11, 2026
jaydgoss
added a commit
that referenced
this pull request
Feb 12, 2026
…urfaces (#108058) ## Summary - Adds a "Copy setup instructions" button to all onboarding empty states, letting users copy setup instructions as Markdown for use with LLMs - Adds `stepsToMarkdown` conversion utility with `reactNodeToText` and `simpleHtmlToMarkdown` helpers - Integrates `OnboardingCopyMarkdownButton` into 12 onboarding surfaces and `CopyMarkdownButton` into 2 crons guides - Registers `setup_guide.copy_as_markdown` analytics event - Button is gated behind `onboarding-copy-setup-instructions` feature flag via `CopySetupInstructionsGate` wrapper Stacks on #108057 (state management refactor). ## Feature flag The button is gated by `organizations:onboarding-copy-setup-instructions`: - Flag registration: #108066 - Flagpole config (sentry org only): [sentry-options-automator#6452](getsentry/sentry-options-automator#6452) ## Screenshots (sample) Showing a few representative surfaces — the button appears on all 14 onboarding surfaces: issues, performance, profiling, crons (landing + quickstart), logs, metrics, agents, MCP, performance sidebar, replay sidebar, feedback sidebar, profiling sidebar, and feature flag sidebar. | Issues onboarding | Tooltip on hover | |---|---| |  |  | | Crons monitor quickstart | Performance sidebar | |---|---| |  |  | ## Test plan - [x] `stepsToMarkdown.spec.tsx` — comprehensive tests for markdown conversion - [x] Verify "Copy setup instructions" button appears on all onboarding surfaces - [x] Verify copied markdown includes correct tab selections and auth tokens - [x] Verify crons guides copy markdown correctly from innerHTML
jaydgoss
added a commit
that referenced
this pull request
Feb 12, 2026
… flag (#108066) ## Summary - Registers the `organizations:onboarding-copy-setup-instructions` feature flag in `temporary.py` using `FeatureHandlerStrategy.FLAGPOLE` with `api_expose=True` - This flag gates the new "Copy setup instructions" button being added to onboarding surfaces in PR #108058 ## Related - Feature PR: #108058 (copy button implementation) - Flagpole config: separate PR in [sentry-options-automator](getsentry/sentry-options-automator#6452) ## Test plan - Verify feature flag is registered and exposed to the API - No functional changes — flag is not yet consumed until #108058 merges
jaydgoss
added a commit
that referenced
this pull request
Feb 12, 2026
…urfaces (#108058) ## Summary - Adds a "Copy setup instructions" button to all onboarding empty states, letting users copy setup instructions as Markdown for use with LLMs - Adds `stepsToMarkdown` conversion utility with `reactNodeToText` and `simpleHtmlToMarkdown` helpers - Integrates `OnboardingCopyMarkdownButton` into 12 onboarding surfaces and `CopyMarkdownButton` into 2 crons guides - Registers `setup_guide.copy_as_markdown` analytics event - Button is gated behind `onboarding-copy-setup-instructions` feature flag via `CopySetupInstructionsGate` wrapper Stacks on #108057 (state management refactor). ## Feature flag The button is gated by `organizations:onboarding-copy-setup-instructions`: - Flag registration: #108066 - Flagpole config (sentry org only): [sentry-options-automator#6452](getsentry/sentry-options-automator#6452) ## Screenshots (sample) Showing a few representative surfaces — the button appears on all 14 onboarding surfaces: issues, performance, profiling, crons (landing + quickstart), logs, metrics, agents, MCP, performance sidebar, replay sidebar, feedback sidebar, profiling sidebar, and feature flag sidebar. | Issues onboarding | Tooltip on hover | |---|---| |  |  | | Crons monitor quickstart | Performance sidebar | |---|---| |  |  | ## Test plan - [x] `stepsToMarkdown.spec.tsx` — comprehensive tests for markdown conversion - [x] Verify "Copy setup instructions" button appears on all onboarding surfaces - [x] Verify copied markdown includes correct tab selections and auth tokens - [x] Verify crons guides copy markdown correctly from innerHTML
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
organizations:onboarding-copy-setup-instructionsfeature flag intemporary.pyusingFeatureHandlerStrategy.FLAGPOLEwithapi_expose=TrueRelated
Test plan