🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore: hide trace deletion button on cloud until enabled again (#5495)
marliessophie55e0ff416922
diff --git a/web/src/components/table/use-cases/traces.tsx b/web/src/components/table/use-cases/traces.tsxindex 7f10e4c4d4..9664e4e300 100644--- a/web/src/components/table/use-cases/traces.tsx+++ b/web/src/components/table/use-cases/traces.tsx@@ -332,18 +332,24 @@ export default function TracesTable({};const tableActions: TableAction[] = [- {- id: "trace-delete",- type: BatchActionType.Delete,- label: "Delete Traces",- description:- "This action permanently deletes traces and cannot be undone.",- accessCheck: {- scope: "traces:delete",- entitlement: "trace-deletion",- },- execute: handleDeleteTraces,- },+ // temporary: hide if no entitlement until we support trace deletion on cloud again+ // https://github.com/orgs/langfuse/discussions/5313+ ...(hasTraceDeletionEntitlement+ ? [+ {+ id: "trace-delete",+ type: BatchActionType.Delete,+ label: "Delete Traces",+ description:+ "This action permanently deletes traces and cannot be undone.",+ accessCheck: {+ scope: "traces:delete",+ entitlement: "trace-deletion",+ },+ execute: handleDeleteTraces,+ } as TableAction,+ ]+ : []),{id: "trace-add-to-annotation-queue",type: BatchActionType.Create,