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

[DASH-444] Nebula - Update login flow #5750

Merged
merged 1 commit into from
Dec 16, 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
14 changes: 14 additions & 0 deletions apps/dashboard/src/app/login/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,20 @@ export function LoginAndOnboardingPage(props: {
</header>
</div>

<LoginAndOnboardingPageContent
account={props.account}
redirectPath={props.redirectPath}
/>
</div>
);
}

export function LoginAndOnboardingPageContent(props: {
account: Account | undefined;
redirectPath: string;
}) {
return (
<div className="relative flex grow flex-col">
<main className="container z-10 flex grow flex-col justify-center gap-6 py-12">
<ClientOnly
ssr={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default async function Page(props: {
session={session}
type="new-chat"
account={account}
initialPrompt={undefined}
/>
);
}
1 change: 1 addition & 0 deletions apps/dashboard/src/app/nebula-app/(app)/chat/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default async function Page() {
session={undefined}
type="new-chat"
account={account}
initialPrompt={undefined}
/>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ import { AutoResizeTextarea } from "@/components/ui/textarea";
import { cn } from "@/lib/utils";
import { ArrowUpIcon, CircleStopIcon } from "lucide-react";
import { useState } from "react";
import type { ExecuteConfig } from "../api/types";

export function Chatbar(props: {
updateConfig: (config: ExecuteConfig) => void;
config: ExecuteConfig;
sendMessage: (message: string) => void;
isChatStreaming: boolean;
abortChatStream: () => void;
Expand Down
Loading
Loading