Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): note anonymous usage data in onboarding and link the privacy policy #16564

Mergedjuliusmarmingemerged 2 commits intojulius/privacy-policy-telemetry fromrefs/pull/16564/headmerged by juliusmarminge View on GitHub

Showing 4 changed files with 36 additions and 1 deletion (loading 1).

x
0 of 4 viewed, 4 left
16 additions and 1 deletionapps/web/src/components/onboarding/WelcomeWizard.tsxModified
View file
@@ -36,6 +36,7 @@
import { TYPOGRAPHY_ADVANCED_STORAGE_KEY } from "../../appearanceFonts";
import { useLocalStorage } from "../../hooks/useLocalStorage";
import { hasCloudPublicConfig } from "../../cloud/publicConfig";
+import { PRIVACY_POLICY_URL } from "../../legalLinks";
import { useT3ConnectAuthPrompt } from "../clerk/useT3ConnectAuthPrompt";
import { useCompleteOnboarding } from "../../onboarding/firstRun";
import {
@@ -414,8 +415,22 @@
</Collapsible>
</div>
</div>
- <div className="mt-6 flex items-center justify-end gap-3">
+ <div className="mt-6 flex flex-col-reverse gap-4 sm:flex-row sm:items-center sm:justify-between sm:gap-6">
+ <p className="min-w-0 text-xs leading-relaxed text-muted-foreground">
+ T3 Code collects anonymous usage data to help us improve it. To read more about how your
+ data is used and how to opt out, see our{" "}
+ <a
+ className="underline underline-offset-2 hover:text-foreground"
+ href={PRIVACY_POLICY_URL}
+ target="_blank"
+ rel="noreferrer noopener"
+ >
+ privacy policy
+ </a>
+ .
+ </p>
<Button
+ className="shrink-0 self-end"