From 4b2f009233b06cdfb190d0fc06379dab9a9e5560 Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Mon, 13 Jul 2026 23:12:07 +0200 Subject: [PATCH] feat(settings): add Appearance content with show-timestamps toggle --- .../components/AppearanceContent.tsx | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 surfsense_web/app/dashboard/[workspace_id]/user-settings/components/AppearanceContent.tsx diff --git a/surfsense_web/app/dashboard/[workspace_id]/user-settings/components/AppearanceContent.tsx b/surfsense_web/app/dashboard/[workspace_id]/user-settings/components/AppearanceContent.tsx new file mode 100644 index 000000000..258a31dfe --- /dev/null +++ b/surfsense_web/app/dashboard/[workspace_id]/user-settings/components/AppearanceContent.tsx @@ -0,0 +1,43 @@ +"use client"; + +import { useAtom } from "jotai"; +import { showMessageTimestampsAtom } from "@/atoms/chat/show-timestamps.atom"; +import { Label } from "@/components/ui/label"; +import { Switch } from "@/components/ui/switch"; + +export function AppearanceContent() { + const [showTimestamps, setShowTimestamps] = useAtom(showMessageTimestampsAtom); + + return ( +
+
+
+

Chat

+

+ Control how messages are displayed in your conversations. +

+
+
+
+
+ +

+ Display the time under each message in a chat. Saved on this device. +

+
+ +
+
+
+
+ ); +}