Give the "no devices connected" alerts a title

Splits the placeholder text into an AlertTitle ("No devices connected
yet") and an AlertDescription for the rest, in both ButtplugConsole
and ReplayPlayer.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-01 19:06:28 +02:00
co-authored by Claude Sonnet 5
parent ea320548b6
commit 69e4fb286c
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -22,7 +22,7 @@ import { DeviceCard } from "./DeviceCard";
import { RecordControls } from "./RecordControls";
import { NameSessionDialog } from "./NameSessionDialog";
import { Card, CardContent } from "@/components/ui/card";
import { Alert, AlertDescription } from "@/components/ui/alert";
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
import { Info } from "lucide-react";
interface ActiveSession {
@@ -244,9 +244,9 @@ export function ButtplugConsole() {
{Object.keys(devices).length === 0 ? (
<Alert className="bp-glass">
<Info />
<AlertTitle>No devices connected yet</AlertTitle>
<AlertDescription>
No devices connected yet. Scan to discover nearby toys, then select one from your browser&apos;s
pairing prompt.
Scan to discover nearby toys, then select one from your browser&apos;s pairing prompt.
</AlertDescription>
</Alert>
) : (