Skip to content

Conversation

@thomasyuill-livekit
Copy link
Contributor

@thomasyuill-livekit thomasyuill-livekit commented Dec 1, 2025

PR Summary

This PR refactors the UI component library to adopt ai-sdk and shadcn components where applicable.

Key Changes

UI Component Modernization

  • Added new Shadcn UI primitives: Separator, Tooltip, ButtonGroup, Button, Toggle, Alert, Select
  • Consolidated LiveKit UI components
    • AgentControlBar
    • AgentTrackControl - Toggle and device selector for mic/camera (implements AgentTrackToggle)
    • AgentTrackToggle - Just Toggle for screen share

AI Conversation Features

  • Implemented ai-sdk Conversation component with auto-scroll using use-stick-to-bottom
  • Implemented ai-sdk Message component for chat display (with markdown support via streamdown)
  • Updated ChatTranscript and SessionView to use new conversation UI

Dependencies Added

  • ai (v5.0.105) - Vercel AI SDK
  • streamdown (v1.6.9) - Markdown rendering
  • use-stick-to-bottom (v1.1.1) - Auto-scroll behavior
  • lucide-react - Additional icons
  • Updated Radix UI packages

Cleanup

  • Removed custom implementations: scroll-area, alert-toast, old button/toggle variants
  • Streamlined toast system using sonner with custom icons
  • Updated all component imports across the codebase

Visual Changes

  • Refactored preconnect message with ai-sdk shimmer effect

@vercel
Copy link

vercel bot commented Dec 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
sandbox-voice-assistant Ready Ready Preview Dec 3, 2025 2:28am

@thomasyuill-livekit thomasyuill-livekit marked this pull request as draft December 2, 2025 02:48
@thomasyuill-livekit thomasyuill-livekit self-assigned this Dec 2, 2025
@thomasyuill-livekit thomasyuill-livekit marked this pull request as ready for review December 2, 2025 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants