YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
test(ui): name the dialog motion fixtures to satisfy react/jsx-key
Manas Raghuwanshi33a959e53d31
diff --git a/apps/screenpipe-app-tauri/components/__tests__/dialog-motion.test.tsx b/apps/screenpipe-app-tauri/components/__tests__/dialog-motion.test.tsxindex 3bb7b1038..b315962b8 100644--- a/apps/screenpipe-app-tauri/components/__tests__/dialog-motion.test.tsx+++ b/apps/screenpipe-app-tauri/components/__tests__/dialog-motion.test.tsx@@ -68,28 +68,28 @@ async function animationsFor(className: string, state: "open" | "closed") {return animations;}+const openDialog = (+ <Dialog open>+ <DialogContent>+ <DialogTitle>Title</DialogTitle>+ <DialogDescription>Description</DialogDescription>+ </DialogContent>+ </Dialog>+);++const openAlertDialog = (+ <AlertDialog open>+ <AlertDialogContent>+ <AlertDialogTitle>Title</AlertDialogTitle>+ <AlertDialogDescription>Description</AlertDialogDescription>+ </AlertDialogContent>+ </AlertDialog>+);+describe("dialog motion", () => {it.each([- [- "Dialog",- "dialog",- <Dialog open>- <DialogContent>- <DialogTitle>Title</DialogTitle>- <DialogDescription>Description</DialogDescription>- </DialogContent>- </Dialog>,- ],- [- "AlertDialog",- "alertdialog",- <AlertDialog open>- <AlertDialogContent>- <AlertDialogTitle>Title</AlertDialogTitle>- <AlertDialogDescription>Description</AlertDialogDescription>- </AlertDialogContent>- </AlertDialog>,- ],+ ["Dialog", "dialog", openDialog],+ ["AlertDialog", "alertdialog", openAlertDialog],] as const)("%s opens and closes with a 150ms fade that never moves it", async (_, role, ui) => {// docs/DESIGN.md: dialogs use a 150ms fade. Animating only opacity is also// what keeps them centered; a keyframe that writes `transform` replaces the