Skip to content

Commit e5bc7b8

Browse files
committed
Add workspace chat sign-in CTA
1 parent 07bdfa4 commit e5bc7b8

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

ui/src/components/shell/AppShell.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { AgentChat } from '@/components/agents/AgentChat'
55
import { GenericChat } from '@/components/chat/GenericChat'
66
import { NewAgentSheet } from '@/components/agents/NewAgentSheet'
77
import { AgentRail } from '@/components/shell/AgentRail'
8+
import { Button } from '@/components/ui/button'
89
import { supabase } from '@/lib/supabase'
910
import { MemoryPage } from '@/pages/MemoryPage'
1011
import { ResearchPage } from '@/pages/ResearchPage'
@@ -254,8 +255,13 @@ export function AppShell() {
254255
onSessionsChanged={handleSessionsChanged}
255256
/>
256257
) : (
257-
<main className="flex h-full items-center justify-center px-6 text-sm text-muted-foreground">
258-
Sign in to start a workspace chat.
258+
<main className="flex h-full items-center justify-center px-6">
259+
<div className="flex flex-col items-center gap-4 text-center">
260+
<p className="text-sm text-muted-foreground">Sign in to start a workspace chat.</p>
261+
<Button size="sm" onClick={() => void signInWithGoogle()}>
262+
Sign in with Google
263+
</Button>
264+
</div>
259265
</main>
260266
))}
261267
{activeView.type === 'research' && (

0 commit comments

Comments
 (0)