feat(webapp): drop the agent button from the deploy blank states

This commit is contained in:
Katia Bulatova
2026-08-07 10:47:00 +00:00
parent c88a4483da
commit 0d3d21659f
@@ -34,7 +34,6 @@ import {
v3NewProjectAlertPath,
v3NewSchedulePath,
} from "~/utils/pathBuilder";
import { AskAgentButton } from "./dashboard-agent/AskAgentButton";
import { CodeBlock } from "./code/CodeBlock";
import { InlineCode } from "./code/InlineCode";
import { environmentFullTitle, EnvironmentIcon } from "./environments/EnvironmentLabel";
@@ -62,9 +61,6 @@ import {
import { StepContentContainer } from "./StepContentContainer";
import { V4Badge } from "./V4Badge";
const ASK_AGENT_DEPLOY_PROMPT =
"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.";
function DeployDocsLinks() {
return (
<>
@@ -302,7 +298,7 @@ export function DeploymentsNoneDev() {
<Header1>Deploy your tasks</Header1>
</div>
<div className="flex items-center">
<AskAgentButton prompt={ASK_AGENT_DEPLOY_PROMPT} fallback={<DeployDocsLinks />} />
<DeployDocsLinks />
</div>
</div>
<StepNumber stepNumber="" title="Switch to a deployed environment" />
@@ -668,7 +664,7 @@ function DeploymentOnboardingSteps() {
</Header1>
</div>
<div className="flex items-center">
<AskAgentButton prompt={ASK_AGENT_DEPLOY_PROMPT} fallback={<DeployDocsLinks />} />
<DeployDocsLinks />
</div>
</div>
<ClientTabs defaultValue="github">