Refresh first-launch telemetry banner copy (#1445)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Brennan Benson 2026-05-05 11:47:57 -07:00 committed by GitHub
parent 6a7cd2c9ae
commit 0a2e5aa8f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 7 deletions

View File

@ -103,7 +103,7 @@ export function FirstLaunchBanner({
// `relative` is load-bearing: the absolutely-positioned ✕ anchors to
// this container.
<div
className="fixed left-1/2 top-2 z-40 flex w-[min(46.5rem,calc(100vw-2rem))] -translate-x-1/2 items-start gap-4 rounded-lg border border-border bg-card/95 py-3 pl-4 pr-3 shadow-lg backdrop-blur"
className="fixed left-1/2 top-2 z-40 flex w-[min(44.625rem,calc(100vw-2rem))] -translate-x-1/2 items-start gap-4 rounded-lg border border-border bg-card/95 py-3 pl-4 pr-3 shadow-lg backdrop-blur"
role="region"
aria-label="Telemetry notice"
aria-live="polite"
@ -111,11 +111,11 @@ export function FirstLaunchBanner({
{/* Text column title + body stack on the left, takes remaining
width so the action column never pushes copy into a wrap. */}
<div className="flex-1 space-y-0.5 pr-1 text-sm">
<p className="font-medium leading-snug">Help us figure out what to build next</p>
<p className="font-medium leading-snug">Help us decide what to build next</p>
<p className="text-xs leading-snug text-muted-foreground">
We&apos;d like to start sending anonymous counts of which features you use and where
things break no file contents, prompts, terminal output, or anything that identifies
you. Change this anytime in Settings &rarr; Privacy &amp; Telemetry.{' '}
Anonymous counts of which features you use help us prioritize what to build. No file
contents, prompts, terminal output, or anything that identifies you. Change anytime in
Settings &rarr; Privacy &amp; Telemetry.{' '}
<button
type="button"
className="underline underline-offset-2 hover:text-foreground"
@ -133,8 +133,14 @@ export function FirstLaunchBanner({
choice. stays in the corner as a familiar escape and to
satisfy keyboard/notification-style dismiss expectations. */}
<div className="flex shrink-0 items-center gap-2 self-center pr-6">
<Button variant="outline" size="sm" onClick={handleTurnOff} disabled={inFlight}>
Turn off
<Button
variant="outline"
size="sm"
onClick={handleTurnOff}
disabled={inFlight}
className="border-border/60 text-muted-foreground"
>
Opt out
</Button>
<Button size="sm" onClick={handleAcknowledge} disabled={inFlight}>
Got it