Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

feat(ui): change trace deletion warning (#11147)

Jannik Maierhöferb2c115fa5e3e
diff --git a/web/src/components/deleteButton.tsx b/web/src/components/deleteButton.tsx
index 91e888fddc..e35267b133 100644
--- a/web/src/components/deleteButton.tsx
+++ b/web/src/components/deleteButton.tsx
@@ -179,7 +179,7 @@ export function DeleteTraceButton(props: DeleteButtonProps) {
showSuccessToast({
title: "Trace deleted",
description:
- "Selected trace will be deleted. Traces are removed asynchronously and may continue to be visible for up to 15 minutes.",
+ "Selected trace will be deleted. Traces are removed asynchronously and may continue to be visible for up to 24 hours.",
});
onSuccess();
};
diff --git a/web/src/components/table/use-cases/traces.tsx b/web/src/components/table/use-cases/traces.tsx
index f8efe8bd4a..9a8c28ac2b 100644
--- a/web/src/components/table/use-cases/traces.tsx
+++ b/web/src/components/table/use-cases/traces.tsx
@@ -475,7 +475,7 @@ export default function TracesTable({
id: ActionId.TraceDelete,
type: BatchActionType.Delete,
label: "Delete Traces",
- description: `This action permanently deletes ${displayCount} traces and cannot be undone. Trace deletion happens asynchronously and may take up to 15 minutes.`,
+ description: `This action permanently deletes ${displayCount} traces and cannot be undone. Trace deletion happens asynchronously and may take up to 24 hours.`,
accessCheck: {
scope: "traces:delete",
entitlement: "trace-deletion",
diff --git a/web/src/features/table/components/TableActionDialog.tsx b/web/src/features/table/components/TableActionDialog.tsx
index 0d2557355e..9fe9f317ba 100644
--- a/web/src/features/table/components/TableActionDialog.tsx
+++ b/web/src/features/table/components/TableActionDialog.tsx
@@ -81,7 +81,9 @@ export function TableActionDialog({
<DialogContent className="sm:max-w-md">
<DialogHeader>
<DialogTitle>{action.label}</DialogTitle>
- <DialogDescription>{action.description}</DialogDescription>
+ <DialogDescription className="mt-2">
+ {action.description}
+ </DialogDescription>
</DialogHeader>
{action.type === "create" && (