Skip to content

Commit 0d3d216

Browse files
committed
feat(webapp): drop the agent button from the deploy blank states
1 parent c88a448 commit 0d3d216

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

apps/webapp/app/components/BlankStatePanels.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import {
3434
v3NewProjectAlertPath,
3535
v3NewSchedulePath,
3636
} from "~/utils/pathBuilder";
37-
import { AskAgentButton } from "./dashboard-agent/AskAgentButton";
3837
import { CodeBlock } from "./code/CodeBlock";
3938
import { InlineCode } from "./code/InlineCode";
4039
import { environmentFullTitle, EnvironmentIcon } from "./environments/EnvironmentLabel";
@@ -62,9 +61,6 @@ import {
6261
import { StepContentContainer } from "./StepContentContainer";
6362
import { V4Badge } from "./V4Badge";
6463

65-
const ASK_AGENT_DEPLOY_PROMPT =
66-
"I'm trying to deploy my tasks to this environment. Walk me through it and tell me if anything about this project or environment is going to get in the way.";
67-
6864
function DeployDocsLinks() {
6965
return (
7066
<>
@@ -302,7 +298,7 @@ export function DeploymentsNoneDev() {
302298
<Header1>Deploy your tasks</Header1>
303299
</div>
304300
<div className="flex items-center">
305-
<AskAgentButton prompt={ASK_AGENT_DEPLOY_PROMPT} fallback={<DeployDocsLinks />} />
301+
<DeployDocsLinks />
306302
</div>
307303
</div>
308304
<StepNumber stepNumber="→" title="Switch to a deployed environment" />
@@ -668,7 +664,7 @@ function DeploymentOnboardingSteps() {
668664
</Header1>
669665
</div>
670666
<div className="flex items-center">
671-
<AskAgentButton prompt={ASK_AGENT_DEPLOY_PROMPT} fallback={<DeployDocsLinks />} />
667+
<DeployDocsLinks />
672668
</div>
673669
</div>
674670
<ClientTabs defaultValue="github">

0 commit comments

Comments
 (0)