Skip to content

Commit a867a81

Browse files
refactor: updates to features in models and artifacts (#625)
1 parent 992139a commit a867a81

File tree

11 files changed

+31
-41
lines changed

11 files changed

+31
-41
lines changed

src/app/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function OverviewHeader() {
1313
{serverSettings ? (
1414
<Avatar size="xxl" type="square">
1515
<AvatarImage
16-
alt="Logo displayed for the tenant"
16+
alt="Logo displayed for the server"
1717
src={getGradientImage(serverSettings.body?.server_name || "default", 64)}
1818
/>
1919
<AvatarFallback size="xxl">

src/app/artifacts/Fragments.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ export function InfoBox() {
77
return (
88
<InfoBoxPrimitive>
99
<div className="flex w-full flex-wrap items-center gap-x-2 gap-y-0.5 text-text-md">
10-
<p className="font-semibold">This is a ZenML Cloud feature. </p>
10+
<p className="font-semibold">This is a ZenML Pro feature. </p>
1111
<p>
12-
Upgrade to ZenML Cloud to access the Artifact Control Plane and interact with your
13-
artifacts in the Dashboard.
12+
Upgrade to ZenML Pro to access the Artifact Control Plane and interact with your artifacts
13+
in the Dashboard.
1414
</p>
1515
</div>
1616
</InfoBoxPrimitive>

src/app/artifacts/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ export default function ModelsPage() {
1010
<PageHeader className="flex items-center gap-1">
1111
<h1 className="text-display-xs font-semibold">Artifacts</h1>
1212
<Badge color="purple" rounded size="sm">
13-
<span className="font-semibold text-primary-500">Cloud</span>
13+
<span className="font-semibold text-primary-500">Pro</span>
1414
</Badge>
1515
</PageHeader>
1616
<div className="layout-container space-y-5 py-5">
1717
<InfoBox />
1818
<CTASection
19-
image={{ src: ACP, alt: "Screenshot of the ZenML Cloud Model Control plane" }}
19+
image={{ src: ACP, alt: "Screenshot of the ZenML Pro Model Control plane" }}
2020
features={artifactFeatures}
2121
/>
2222
<CommandSection />

src/app/models/Fragments.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ export function InfoBox() {
77
return (
88
<InfoBoxPrimitive>
99
<div className="flex w-full flex-wrap items-center gap-x-2 gap-y-0.5 text-text-md">
10-
<p className="font-semibold">This is a ZenML Cloud feature. </p>
10+
<p className="font-semibold">This is a ZenML Pro feature. </p>
1111
<p>
12-
Upgrade to ZenML Cloud to access the Model Control Plane and interact with your models in
12+
Upgrade to ZenML Pro to access the Model Control Plane and interact with your models in
1313
the Dashboard.
1414
</p>
1515
</div>

src/app/models/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ export default function ModelsPage() {
2323
<PageHeader className="flex items-center gap-1">
2424
<h1 className="text-display-xs font-semibold">Models</h1>
2525
<Badge color="purple" rounded size="sm">
26-
<span className="font-semibold text-primary-500">Cloud</span>
26+
<span className="font-semibold text-primary-500">Pro</span>
2727
</Badge>
2828
</PageHeader>
2929
<div className="layout-container space-y-5 py-5">
3030
<InfoBox />
3131
<CTASection
32-
image={{ src: MCP, alt: "Screenshot of the ZenML Cloud Model Control plane" }}
32+
image={{ src: MCP, alt: "Screenshot of the ZenML Pro Model Control plane" }}
3333
features={modelFeatures}
3434
/>
3535
<CommandSection />

src/app/onboarding/ProductionSetup/Items.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function CreateServiceConnector({ onboardingState, active }: Props) {
2525
itemName={itemName}
2626
>
2727
<p className="mb-3">
28-
A service connector grants users of your ZenML tenant the ability to access components like
28+
A service connector grants users of your ZenML server the ability to access components like
2929
your artifact store{" "}
3030
<LearnMoreLink href="https://docs.zenml.io/user-guide/production-guide/remote-storage#configuring-permissions-with-your-first-service-connector" />
3131
</p>

src/app/onboarding/StarterSetup/Items.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ export function ConnectZenMLStep({ onboardingState }: Props) {
2525
/>
2626
</div>
2727
<div>
28-
<p className="mb-1 text-text-sm text-theme-text-secondary">
29-
Login to your ZenML Cloud tenant
30-
</p>
28+
<p className="mb-1 text-text-sm text-theme-text-secondary">Login to your ZenML Server</p>
3129
<Codesnippet code={`zenml connect --url ${window.location.origin}`} />
3230
</div>
3331
<HelpBox link="https://docs.zenml.io/user-guide/production-guide/deploying-zenml#connecting-to-a-deployed-zenml" />

src/app/stacks/create/new-infrastructure/Providers/AWS.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ import { PermissionsCard } from "./PermissionsCard";
77
type Props = ProviderComponents;
88

99
export const awsPrizes = {
10-
orchestratorCosts: "$0.45",
11-
storageCosts: "$4.90"
10+
cost: "$0.60"
1211
};
1312

1413
export function AWSComponents({

src/app/stacks/create/new-infrastructure/Providers/index.tsx

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export function ComponentListItem({
7373
export function EstimateCosts() {
7474
const { data } = useNewInfraFormContext();
7575
gcpPrizes;
76-
function getPrizes() {
76+
function getPrize() {
7777
switch (data.provider) {
7878
case "aws":
7979
return awsPrizes;
@@ -99,25 +99,11 @@ export function EstimateCosts() {
9999
</div>
100100
<div>
101101
<p>
102-
Processing jobs:{" "}
103-
<span className="font-semibold text-theme-text-secondary">
104-
{getPrizes()?.orchestratorCosts}
105-
</span>{" "}
106-
<span className="text-theme-text-secondary">per hour</span>
102+
A small training job would cost around:{" "}
103+
<span className="font-semibold text-theme-text-success">{getPrize()?.cost}</span>
107104
</p>
108-
<p>
109-
200GB of general storage:{" "}
110-
<span className="font-semibold text-theme-text-secondary">
111-
{getPrizes()?.storageCosts}
112-
</span>{" "}
113-
<span className="text-theme-text-secondary">per month</span>
114-
</p>
115-
{/* <p>
116-
An average processing example would cost:{" "}
117-
<span className="font-semibold text-theme-text-success">$0.3112</span>
118-
</p> */}
119-
<p className="pt-3 text-text-xs text-theme-text-secondary">
120-
Use the official pricing Calculator for a detailed estimate
105+
<p className="text-text-xs text-theme-text-secondary">
106+
Please use the official pricing Calculator for a detailed estimate
121107
</p>
122108
</div>
123109
</Box>

src/components/tour/Tour.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const steps: Step[] = [
9898
},
9999
{
100100
content:
101-
"Find out more about our advanced ZenML Cloud features like model and artifact management.",
101+
"Find out more about our advanced ZenML Pro features like model and artifact management.",
102102
target: "#models-sidebar-link",
103103
title: "OSS is just the beginning",
104104
disableBeacon: true,

0 commit comments

Comments
 (0)