From 9e7ad7a9bdf9287e2bec1445f7a794400fb433c1 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 19 May 2026 18:15:21 -0500 Subject: [PATCH] change replay confg dialog to platform aware sheet --- web/src/pages/Replay.tsx | 118 +++++++++++++++++++-------------------- 1 file changed, 59 insertions(+), 59 deletions(-) diff --git a/web/src/pages/Replay.tsx b/web/src/pages/Replay.tsx index cd73f2ac3d..2cf8debfee 100644 --- a/web/src/pages/Replay.tsx +++ b/web/src/pages/Replay.tsx @@ -27,13 +27,7 @@ import { PopoverContent, PopoverTrigger, } from "@/components/ui/popover"; -import { - Dialog, - DialogContent, - DialogHeader, - DialogTitle, - DialogDescription, -} from "@/components/ui/dialog"; +import { PlatformAwareSheet } from "@/components/overlay/dialog/PlatformAwareDialog"; import { useCameraActivity } from "@/hooks/use-camera-activity"; import { cn } from "@/lib/utils"; import Heading from "@/components/ui/heading"; @@ -333,15 +327,64 @@ export default function Replay() { )}
- + + + + {t("page.configuration")} + + + } + title={t("page.configuration")} + titleClassName="text-lg font-semibold" + contentClassName="scrollbar-container flex flex-col gap-0 overflow-y-auto px-6 pb-6 sm:max-w-xl md:max-w-2xl xl:max-w-3xl" + content={ + <> +

+ {t("page.configurationDesc")} +

+ {configSchema == null ? ( +
+ +
+ ) : ( +
+ + +
+ )} + + } + open={configDialogOpen} + onOpenChange={setConfigDialogOpen} + /> @@ -644,49 +687,6 @@ export default function Replay() {
- - - - - {t("page.configuration")} - - {t("page.configurationDesc")} - - - {configSchema == null ? ( -
- -
- ) : ( -
- - -
- )} -
-
); }