Skip to content

Commit

Permalink
Merge pull request #683 from zenml-io/staging
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
Cahllagerfeld authored Oct 22, 2024
2 parents aacc566 + 6f40005 commit 6422f4e
Show file tree
Hide file tree
Showing 28 changed files with 428 additions and 854 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"prismjs": "^1.29.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-error-boundary": "^4.0.13",
"react-hook-form": "^7.51.5",
"react-joyride": "^2.8.2",
"react-markdown": "^9.0.1",
Expand Down
13 changes: 13 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 23 additions & 9 deletions src/app/onboarding/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,30 @@
import { Box } from "@zenml-io/react-component-library";
import { useCurrentUser } from "@/data/users/current-user-query";
import { getUsername } from "@/lib/user";
import { Skeleton } from "@zenml-io/react-component-library";
import { ProgressIndicatior } from "./ProgressIndicator";

export function HeaderOnboardingBox() {
return (
<Box className="flex flex-col-reverse items-stretch overflow-hidden md:flex-row">
<div className="w-full px-7 py-5 md:w-2/3">
<h2 className="text-display-xs font-semibold">Welcome to ZenML</h2>
<p className="mt-2 text-text-lg text-theme-text-secondary">
You successfully installed the ZenML dashboard. Now you can get started with your new
ZenML server.
<div className="space-between flex flex-col flex-wrap items-center gap-1 space-x-5 overflow-x-hidden lg:flex-row">
<div className="flex-1 space-y-1 overflow-x-hidden">
<h2 className="truncate text-display-xs font-semibold">
Welcome to ZenML
<Username />
</h2>
<p className="truncate text-display-xs text-theme-text-secondary">
You can start by following your quick setup.
</p>
</div>
{/* <div className="flex w-full flex-1 items-center justify-center bg-primary-50 md:w-1/3"></div> */}
</Box>
<ProgressIndicatior />
</div>
);
}

function Username() {
const user = useCurrentUser();

if (user.isError) return null;
if (user.isPending) return <Skeleton className="h-6 w-[70px]" />;
const name = getUsername(user.data);
return <>{name ? `, ${name}` : ""}</>;
}
207 changes: 0 additions & 207 deletions src/app/onboarding/ProductionSetup/ArtifactStore.tsx

This file was deleted.

70 changes: 0 additions & 70 deletions src/app/onboarding/ProductionSetup/ConnectorContent.tsx

This file was deleted.

Loading

0 comments on commit 6422f4e

Please sign in to comment.