fix: remove work/personal onboarding telemetry (#24021)

Following on from #23989 #24018 

- We also no longer want to collect `IsBusiness` demographic data
- Newsletter fields no longer allow `nil` as a value, instead default to
false

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeremy Ruppel
2026-04-03 14:26:35 -04:00
committed by GitHub
co-authored by Claude Sonnet 4.6
parent ec83065b59
commit 01b8cdb00d
9 changed files with 19 additions and 52 deletions
+4 -7
View File
@@ -144,14 +144,11 @@ type CreateFirstUserTrialInfo struct {
Developers string `json:"developers"`
}
// CreateFirstUserOnboardingInfo contains optional demographic and
// newsletter preference data collected during first user setup.
// Pointer fields allow an explicit "no" answer to be distinguished
// from a skipped question, which matters for the telemetry schema.
// CreateFirstUserOnboardingInfo contains optional newsletter preference
// data collected during first user setup.
type CreateFirstUserOnboardingInfo struct {
IsBusiness *bool `json:"is_business"`
NewsletterMarketing *bool `json:"newsletter_marketing"`
NewsletterReleases *bool `json:"newsletter_releases"`
NewsletterMarketing bool `json:"newsletter_marketing"`
NewsletterReleases bool `json:"newsletter_releases"`
}
// CreateFirstUserResponse contains IDs for newly created user info.