diff --git a/quadratic-client/src/routes/teams.$teamUuid.settings.tsx b/quadratic-client/src/routes/teams.$teamUuid.settings.tsx index 5d88df23be..9b877c8c71 100644 --- a/quadratic-client/src/routes/teams.$teamUuid.settings.tsx +++ b/quadratic-client/src/routes/teams.$teamUuid.settings.tsx @@ -3,6 +3,7 @@ import { SettingControl } from '@/dashboard/components/SettingControl'; import { useDashboardRouteLoaderData } from '@/routes/_dashboard'; import { getActionUpdateTeam, type TeamAction } from '@/routes/teams.$teamUuid'; import { useGlobalSnackbar } from '@/shared/components/GlobalSnackbarProvider'; +import { CheckIcon } from '@/shared/components/Icons'; import { Type } from '@/shared/components/Type'; import { ROUTES } from '@/shared/constants/routes'; import { DOCUMENTATION_ANALYTICS_AI } from '@/shared/constants/urls'; @@ -115,23 +116,36 @@ export const Component = () => { Privacy - - Help improve AI results by allowing Quadratic to store and analyze user prompts.{' '} - - Learn more - - . - - } - onCheckedChange={(checked) => { - handleUpdatePreference('analyticsAi', checked); - }} - checked={optimisticSettings.analyticsAi} - className="rounded border border-border p-3 shadow-sm" - /> +
+ + Help improve AI results by allowing Quadratic to store and analyze user prompts.{' '} + + Learn more + + . + + } + onCheckedChange={(checked) => { + handleUpdatePreference('analyticsAi', checked); + }} + checked={optimisticSettings.analyticsAi} + className="rounded border border-border px-3 py-2 shadow-sm" + /> +

+ When using AI features your data is sent to our providers, all of which have a zero-data data retention + policy. These include: +

+
    + {['OpenAI', 'Anthropic', 'AWS Bedrock'].map((item, i) => ( +
  • + {item}: zero-day data retention +
  • + ))} +
+
)} @@ -139,12 +153,15 @@ export const Component = () => { ); }; -function Row(props: { children: ReactNode; className?: string }) { +function Row(props: { children: ReactNode[]; className?: string }) { + if (props.children.length !== 2) { + throw new Error('Row must have exactly two children'); + } + return ( -
- {props.children} +
+
{props.children[0]}
+
{props.children[1]}
); }