Skip to content

Commit 7dd2c15

Browse files
committed
Adds links to Ask AI, docs and troubleshooting
1 parent 189f3c1 commit 7dd2c15

File tree

1 file changed

+27
-8
lines changed

1 file changed

+27
-8
lines changed

apps/webapp/app/components/BlankStatePanels.tsx

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
ChatBubbleLeftRightIcon,
66
ClockIcon,
77
PlusIcon,
8+
QuestionMarkCircleIcon,
89
RectangleGroupIcon,
910
RectangleStackIcon,
1011
ServerStackIcon,
@@ -31,6 +32,7 @@ import {
3132
v3NewProjectAlertPath,
3233
v3NewSchedulePath,
3334
} from "~/utils/pathBuilder";
35+
import { AskAI } from "./AskAI";
3436
import { InlineCode } from "./code/InlineCode";
3537
import { environmentFullTitle, EnvironmentIcon } from "./environments/EnvironmentLabel";
3638
import { Feedback } from "./Feedback";
@@ -41,6 +43,7 @@ import { InfoPanel } from "./primitives/InfoPanel";
4143
import { Paragraph } from "./primitives/Paragraph";
4244
import { StepNumber } from "./primitives/StepNumber";
4345
import { TextLink } from "./primitives/TextLink";
46+
import { SimpleTooltip } from "./primitives/Tooltip";
4447
import {
4548
InitCommandV3,
4649
PackageManagerProvider,
@@ -98,14 +101,30 @@ export function HasNoTasksDeployed({ environment }: { environment: MinimumEnviro
98101
<EnvironmentIcon environment={environment} className="-ml-1 size-8" />
99102
<Header1>Deploy your tasks to {environmentFullTitle(environment)}</Header1>
100103
</div>
101-
<div className="flex items-center gap-2">
102-
<LinkButton
103-
variant="minimal/small"
104-
LeadingIcon={BookOpenIcon}
105-
to={docsPath("/troubleshooting#deployment")}
106-
>
107-
Troubleshooting
108-
</LinkButton>
104+
<div className="flex items-center">
105+
<SimpleTooltip
106+
button={
107+
<LinkButton
108+
variant="small-menu-item"
109+
LeadingIcon={BookOpenIcon}
110+
leadingIconClassName="text-blue-500"
111+
to={docsPath("deployment/overview")}
112+
/>
113+
}
114+
content="Deploy docs"
115+
/>
116+
<SimpleTooltip
117+
button={
118+
<LinkButton
119+
variant="small-menu-item"
120+
LeadingIcon={QuestionMarkCircleIcon}
121+
leadingIconClassName="text-blue-500"
122+
to={docsPath("troubleshooting#deployment")}
123+
/>
124+
}
125+
content="Troubleshooting docs"
126+
/>
127+
<AskAI />
109128
</div>
110129
</div>
111130
<StepNumber stepNumber="1a" title="Run the CLI 'deploy' command" />

0 commit comments

Comments
 (0)