Skip to content

Commit 9e92257

Browse files
committed
Improved the copy in the no deployed tasks blank state
1 parent a73fb65 commit 9e92257

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

apps/webapp/app/components/BlankStatePanels.tsx

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,19 @@ export function HasNoTasksDev() {
7878
export function HasNoTasksDeployed({ environment }: { environment: MinimumEnvironment }) {
7979
return (
8080
<InfoPanel
81-
title="You don't have any deployed tasks"
81+
title={`You don't have any deployed tasks in ${environmentFullTitle(environment)}`}
8282
icon={TaskIcon}
8383
iconClassName="text-blue-500"
84+
panelClassName="max-w-full"
85+
to={docsPath("deployment/overview")}
86+
buttonLabel="How to deploy tasks"
87+
buttonVariant="docs/small"
88+
buttonLeadingIcon={BookOpenIcon}
8489
>
8590
<Paragraph spacing variant="small">
86-
You don't have any deployed tasks in {environmentFullTitle(environment)}.
91+
Run the <TextLink to={docsPath("deployment/overview")}>CLI deploy command</TextLink> to
92+
deploy your tasks to the {environmentFullTitle(environment)} environment.
8793
</Paragraph>
88-
<LinkButton
89-
to={docsPath("deployment/overview")}
90-
variant="docs/medium"
91-
LeadingIcon={BookOpenIcon}
92-
>
93-
How to deploy tasks
94-
</LinkButton>
9594
</InfoPanel>
9695
);
9796
}

0 commit comments

Comments
 (0)