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
restore: confitmation dialog of resetting pipe that has been removed by #1598 (#1623)
tribhuwanbd4bee560caf
diff --git a/screenpipe-app-tauri/components/pipe-store.tsx b/screenpipe-app-tauri/components/pipe-store.tsxindex 0c3bbc391..44455f394 100644--- a/screenpipe-app-tauri/components/pipe-store.tsx+++ b/screenpipe-app-tauri/components/pipe-store.tsx@@ -1399,10 +1399,42 @@ export const PipeStore: React.FC = () => {</Button></TooltipTrigger><TooltipContent>- <p>reset all pipes</p>+ <p>delete all pipes</p></TooltipContent></Tooltip></TooltipProvider>+ <Dialog open={confirmOpen} onOpenChange={isPurging ? () => {} : setConfirmOpen}>+ <DialogContent>+ <DialogHeader>+ <DialogTitle>confirm deletion of all pipes?</DialogTitle>+ <DialogDescription>+ are you sure you want to delete all pipes? <br/> you'll have to install them again+ </DialogDescription>+ </DialogHeader>+ <div className="flex justify-end gap-4">+ <Button+ onClick={() => setConfirmOpen(false)}+ disabled={isPurging}+ variant={"outline"}+ >+ cancel+ </Button>+ <Button+ onClick={handleResetAllPipes}+ disabled={isPurging}+ >+ {isPurging ? (+ <>+ <Loader2 className="mr-2 h-4 w-4 animate-spin" />+ deleting all pipes...+ </>+ ) : (+ "confirm"+ )}+ </Button>+ </div>+ </DialogContent>+ </Dialog><TooltipProvider><Tooltip><TooltipTrigger asChild>diff --git a/screenpipe-app-tauri/components/screenpipe-status.tsx b/screenpipe-app-tauri/components/screenpipe-status.tsxindex 5493fd6a7..c8c53e168 100644--- a/screenpipe-app-tauri/components/screenpipe-status.tsx+++ b/screenpipe-app-tauri/components/screenpipe-status.tsx@@ -215,7 +215,7 @@ const HealthStatus = ({ className }: { className?: string }) => {{/* Audio Devices Status */}{!settings.disableAudio && health?.device_status_details && (- <div className="mt-1 mb-2">+ <div className="mt-1 mb-2 relative"><div className="flex items-center"><Buttonvariant="ghost"@@ -251,7 +251,7 @@ const HealthStatus = ({ className }: { className?: string }) => {<divid="audio-devices-container"- className="mt-1 max-h-32 overflow-y-auto rounded border border-border p-2 hidden"+ className="mt-1 max-h-32 bg-background z-10 overflow-y-auto absolute rounded border border-border p-2 hidden">{health.device_status_details.split(", ")