fix(chat): restrict to authenticated users only, fix overlay transparency #672

Merged
jason.woltje merged 2 commits from fix/chat-auth-only into main 2026-03-04 20:15:14 +00:00
Owner

Changes

1. Chat Authentication Required

  • Removed guest chat fallback - only authenticated users can chat with agents
  • Added "Sign in to chat with Jarvis" prompt for unauthenticated users
  • Disabled chat input when user is not logged in
  • Removed unused streamGuestChat import and related code

2. Chat Overlay Transparency Fix

  • Changed from rgb(var(--surface-0)) to var(--surface-0, #ffffff) with solid fallback
  • Added shadow-2xl for better visibility
  • Fixed minimized header styling
  • Fixed floating button styling

Testing

  • Lint passes (pnpm lint --filter=@mosaic/web)
  • Typecheck passes

Screenshots

Before: Transparent overlay made text unreadable
After: Solid background with proper contrast

## Changes ### 1. Chat Authentication Required - Removed guest chat fallback - only authenticated users can chat with agents - Added "Sign in to chat with Jarvis" prompt for unauthenticated users - Disabled chat input when user is not logged in - Removed unused `streamGuestChat` import and related code ### 2. Chat Overlay Transparency Fix - Changed from `rgb(var(--surface-0))` to `var(--surface-0, #ffffff)` with solid fallback - Added `shadow-2xl` for better visibility - Fixed minimized header styling - Fixed floating button styling ## Testing - Lint passes (`pnpm lint --filter=@mosaic/web`) - Typecheck passes ## Screenshots Before: Transparent overlay made text unreadable After: Solid background with proper contrast
jason.woltje added 1 commit 2026-03-04 17:34:04 +00:00
jason.woltje added 1 commit 2026-03-04 20:13:13 +00:00
jason.woltje merged commit d7d8c3c88d into main 2026-03-04 20:15:14 +00:00
jason.woltje deleted branch fix/chat-auth-only 2026-03-04 20:15:14 +00:00
Sign in to join this conversation.