Refresh first-launch telemetry banner copy (#1445)
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
parent
6a7cd2c9ae
commit
0a2e5aa8f7
|
|
@ -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'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 → Privacy & 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 → Privacy & 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
|
||||
|
|
|
|||
Loading…
Reference in New Issue