From b85d8996c7f1e653a9f59dd292980cf2ba6bfcc7 Mon Sep 17 00:00:00 2001 From: Kaosiso Ezealigo Date: Thu, 23 Nov 2023 14:52:41 +0100 Subject: [PATCH 1/3] hide testset and eval results in posthog --- .../src/components/Evaluations/AutomaticEvaluationResult.tsx | 1 + agenta-web/src/components/Evaluations/HumanEvaluationResult.tsx | 1 + agenta-web/src/components/TestSetTable/TestsetTable.tsx | 1 + 3 files changed, 3 insertions(+) diff --git a/agenta-web/src/components/Evaluations/AutomaticEvaluationResult.tsx b/agenta-web/src/components/Evaluations/AutomaticEvaluationResult.tsx index 16293e530c..251e788dad 100644 --- a/agenta-web/src/components/Evaluations/AutomaticEvaluationResult.tsx +++ b/agenta-web/src/components/Evaluations/AutomaticEvaluationResult.tsx @@ -291,6 +291,7 @@ export default function AutomaticEvaluationResult() { type: selectionType, ...rowSelection, }} + className="ph-no-capture" data-cy="automatic-evaluation-result" columns={columns} dataSource={evaluationsList} diff --git a/agenta-web/src/components/Evaluations/HumanEvaluationResult.tsx b/agenta-web/src/components/Evaluations/HumanEvaluationResult.tsx index ee2507d94c..464cf5b002 100644 --- a/agenta-web/src/components/Evaluations/HumanEvaluationResult.tsx +++ b/agenta-web/src/components/Evaluations/HumanEvaluationResult.tsx @@ -305,6 +305,7 @@ export default function HumanEvaluationResult() { type: selectionType, ...rowSelection, }} + className="ph-no-capture" columns={columns} dataSource={evaluationsList} /> diff --git a/agenta-web/src/components/TestSetTable/TestsetTable.tsx b/agenta-web/src/components/TestSetTable/TestsetTable.tsx index ea352309dd..db92206959 100644 --- a/agenta-web/src/components/TestSetTable/TestsetTable.tsx +++ b/agenta-web/src/components/TestSetTable/TestsetTable.tsx @@ -552,6 +552,7 @@ const TestsetTable: React.FC = ({mode}) => { stopEditingWhenCellsLoseFocus={true} onRowSelected={onRowSelectedOrDeselected} onRowDataUpdated={onRowSelectedOrDeselected} + className="ph-no-capture" /> {selectedRow && ( From 35beff715426133ea00e6e28d6dc3f74b77b12f4 Mon Sep 17 00:00:00 2001 From: Kaosiso Ezealigo Date: Thu, 23 Nov 2023 14:56:47 +0100 Subject: [PATCH 2/3] format fix --- .../components/AppSelector/modals/CreateAppStatusModal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agenta-web/src/components/AppSelector/modals/CreateAppStatusModal.tsx b/agenta-web/src/components/AppSelector/modals/CreateAppStatusModal.tsx index 3a7d655407..cb165d4b04 100644 --- a/agenta-web/src/components/AppSelector/modals/CreateAppStatusModal.tsx +++ b/agenta-web/src/components/AppSelector/modals/CreateAppStatusModal.tsx @@ -196,8 +196,8 @@ const CreateAppStatusModal: React.FC> type === "success" ? "success" : type === "error" - ? "danger" - : "secondary" + ? "danger" + : "secondary" } strong={Object.keys(messages)[ix] === "success"} > From 5e02c0d80243e78276daefd237f8d84c4b2b8ea2 Mon Sep 17 00:00:00 2001 From: Kaosiso Ezealigo Date: Sun, 26 Nov 2023 14:29:24 +0100 Subject: [PATCH 3/3] format fix --- .../components/AppSelector/modals/CreateAppStatusModal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agenta-web/src/components/AppSelector/modals/CreateAppStatusModal.tsx b/agenta-web/src/components/AppSelector/modals/CreateAppStatusModal.tsx index cb165d4b04..3a7d655407 100644 --- a/agenta-web/src/components/AppSelector/modals/CreateAppStatusModal.tsx +++ b/agenta-web/src/components/AppSelector/modals/CreateAppStatusModal.tsx @@ -196,8 +196,8 @@ const CreateAppStatusModal: React.FC> type === "success" ? "success" : type === "error" - ? "danger" - : "secondary" + ? "danger" + : "secondary" } strong={Object.keys(messages)[ix] === "success"} >