Skip to content

feat(onboarding): Register onboarding-copy-setup-instructions feature flag#108066

Merged
jaydgoss merged 1 commit intomasterfrom
jaygoss/onb-2-onboarding-copy-setup-instructions-flag
Feb 11, 2026
Merged

feat(onboarding): Register onboarding-copy-setup-instructions feature flag#108066
jaydgoss merged 1 commit intomasterfrom
jaygoss/onb-2-onboarding-copy-setup-instructions-flag

Conversation

@jaydgoss
Copy link
Member

@jaydgoss jaydgoss commented Feb 11, 2026

Summary

Related

Test plan

… flag

Add flagpole-backed feature flag for gating the Copy Setup Instructions
button on onboarding surfaces.
@linear
Copy link

linear bot commented Feb 11, 2026

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 11, 2026
@jaydgoss jaydgoss requested a review from a team February 11, 2026 20:06
@jaydgoss jaydgoss merged commit 2639ea4 into master Feb 11, 2026
77 checks passed
@jaydgoss jaydgoss deleted the jaygoss/onb-2-onboarding-copy-setup-instructions-flag branch February 11, 2026 23:48
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 |
|---|---|
| ![Issues onboarding](https://iili.io/q9opDDQ.png) |
![Tooltip](https://iili.io/q9oyA5G.png) |

| Crons monitor quickstart | Performance sidebar |
|---|---|
| ![Crons quickstart](https://iili.io/q9oyaX2.png) | ![Performance
sidebar](https://iili.io/q9oyEge.png) |

## 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 |
|---|---|
| ![Issues onboarding](https://iili.io/q9opDDQ.png) |
![Tooltip](https://iili.io/q9oyA5G.png) |

| Crons monitor quickstart | Performance sidebar |
|---|---|
| ![Crons quickstart](https://iili.io/q9oyaX2.png) | ![Performance
sidebar](https://iili.io/q9oyEge.png) |

## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-code-assisted Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants