diff --git a/surfsense_web/app/dashboard/[search_space_id]/user-settings/components/DesktopContent.tsx b/surfsense_web/app/dashboard/[search_space_id]/user-settings/components/DesktopContent.tsx index 3368066c1..97debca9d 100644 --- a/surfsense_web/app/dashboard/[search_space_id]/user-settings/components/DesktopContent.tsx +++ b/surfsense_web/app/dashboard/[search_space_id]/user-settings/components/DesktopContent.tsx @@ -2,7 +2,6 @@ import { useEffect, useState } from "react"; import { toast } from "sonner"; -import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { Label } from "@/components/ui/label"; import { Select, @@ -11,7 +10,8 @@ import { SelectTrigger, SelectValue, } from "@/components/ui/select"; -import { Spinner } from "@/components/ui/spinner"; +import { Separator } from "@/components/ui/separator"; +import { Skeleton } from "@/components/ui/skeleton"; import { Switch } from "@/components/ui/switch"; import type { SearchSpace } from "@/contracts/types/search-space.types"; import { useElectronAPI } from "@/hooks/use-platform"; @@ -77,8 +77,27 @@ export function DesktopContent() { if (loading) { return ( -
- +
+
+
+ + +
+ +
+ + + +
+
+ + +
+
+ + +
+
); } @@ -124,16 +143,16 @@ export function DesktopContent() { }; return ( -
- - - Default Search Space - +
+
+
+

Default Search Space

+

Choose which search space General Assist, Screenshot Assist, and Quick Assist use by default. - - - +

+
+
{searchSpaces.length > 0 ? (