diff --git a/agenta-web/cypress/support/commands/evaluations.ts b/agenta-web/cypress/support/commands/evaluations.ts index b67132def9..78215ed34f 100644 --- a/agenta-web/cypress/support/commands/evaluations.ts +++ b/agenta-web/cypress/support/commands/evaluations.ts @@ -45,9 +45,9 @@ Cypress.Commands.add("createVariant", () => { cy.get('[data-cy="enter-app-name-modal-button"]').click() - cy.url().should("include", "/overview") + cy.url().should("include", "/playground") cy.url().then((url) => { - app_id = url.match(/\/apps\/([a-fA-F0-9-]+)\/overview/)[1] + app_id = url.match(/\/apps\/([a-fA-F0-9-]+)\/playground/)[1] cy.wrap(app_id).as("app_id") }) diff --git a/agenta-web/src/components/AppSelector/modals/CreateAppStatusModal.tsx b/agenta-web/src/components/AppSelector/modals/CreateAppStatusModal.tsx index b4c2124d58..3a7d655407 100644 --- a/agenta-web/src/components/AppSelector/modals/CreateAppStatusModal.tsx +++ b/agenta-web/src/components/AppSelector/modals/CreateAppStatusModal.tsx @@ -75,7 +75,7 @@ const CreateAppStatusModal: React.FC> onTimeoutRetry?.() } else if (isSuccess) { props.onCancel?.(e) - if (appId) router.push(`/apps/${appId}/overview`) + if (appId) router.push(`/apps/${appId}/playground`) } } @@ -112,7 +112,7 @@ const CreateAppStatusModal: React.FC> }, } if (obj.starting_app?.type === "loading") obj.starting_app.type = "success" - if (appId) router.push(`/apps/${appId}/overview`) + if (appId) router.push(`/apps/${appId}/playground`) return obj case "bad_request": case "error": diff --git a/agenta-web/src/components/Evaluations/EvaluationCardView/EvaluationVotePanel.tsx b/agenta-web/src/components/Evaluations/EvaluationCardView/EvaluationVotePanel.tsx index 1ec319ac22..25576a3473 100644 --- a/agenta-web/src/components/Evaluations/EvaluationCardView/EvaluationVotePanel.tsx +++ b/agenta-web/src/components/Evaluations/EvaluationCardView/EvaluationVotePanel.tsx @@ -95,7 +95,16 @@ const ComparisonVote: React.FC = ({ {variants.map((variant, ix) => (