Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #683

Merged
merged 3 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading