From 4193007ab71e2215e71e3548b1e324fbbaa1e4da Mon Sep 17 00:00:00 2001 From: Emir Karabeg <78010029+emir-karabeg@users.noreply.github.com> Date: Sun, 8 Feb 2026 11:08:54 -0800 Subject: [PATCH] improvement(ui): deploy modal, terminal (#3167) * improvement(deploy-modal): error and warning ui * fix(ui): terminal top border render --- .../deploy-modal/components/api/api.tsx | 15 ----- .../components/deploy-modal/deploy-modal.tsx | 61 ++++++++++--------- .../components/terminal/terminal.tsx | 4 +- 3 files changed, 35 insertions(+), 45 deletions(-) diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/api/api.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/api/api.tsx index 5db5dbdd0..e4d968c13 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/api/api.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/api/api.tsx @@ -28,7 +28,6 @@ interface ApiDeployProps { deploymentInfo: WorkflowDeploymentInfo | null isLoading: boolean needsRedeployment: boolean - apiDeployError: string | null getInputFormatExample: (includeStreaming?: boolean) => string selectedStreamingOutputs: string[] onSelectedStreamingOutputsChange: (outputs: string[]) => void @@ -63,7 +62,6 @@ export function ApiDeploy({ deploymentInfo, isLoading, needsRedeployment, - apiDeployError, getInputFormatExample, selectedStreamingOutputs, onSelectedStreamingOutputsChange, @@ -419,12 +417,6 @@ console.log(limits);` if (isLoading || !info) { return (
- {apiDeployError && ( -
-
API Deployment Error
-
{apiDeployError}
-
- )}
@@ -443,13 +435,6 @@ console.log(limits);` return (
- {apiDeployError && ( -
-
API Deployment Error
-
{apiDeployError}
-
- )} -