Skip to content

Conversation

reakaleek
Copy link
Member

@reakaleek reakaleek commented Oct 8, 2025

Changes

  • Add tabbed view for search and ask ai
  • Instead of a single answer, you can now have a full conversation.

Screenshots

image image

@reakaleek reakaleek requested a review from Copilot October 8, 2025 21:07
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a conversational AI feature for the documentation site, transforming the existing search modal from a simple search interface into a tabbed modal with both search and AI chat capabilities. The change adds the ability for users to have multi-turn conversations with an AI assistant about documentation topics.

Key changes:

  • Refactored the modal from a single search interface to a tabbed system with "Search" and "Ask AI" tabs
  • Implemented a complete chat system with message history, streaming responses, and conversation management
  • Added comprehensive test coverage with 38 tests across 5 test files

Reviewed Changes

Copilot reviewed 30 out of 30 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
SearchOrAskAiModal.tsx Converted from single search interface to tabbed modal with search and chat tabs
Chat.tsx New chat interface component with message display, input handling, and conversation management
ChatMessage.tsx Message rendering component supporting user/AI messages with streaming states and markdown
ChatMessageList.tsx Container for rendering conversation history with proper message orchestration
StreamingAiMessage.tsx Handles AI message streaming and LLM gateway integration
chat.store.ts Zustand store for chat state management with conversation and message tracking
Search.tsx New dedicated search component with AI handoff functionality
search.store.ts Simplified search state store (moved to Search subdirectory)
modal.store.ts Enhanced modal store to support tab mode switching
TESTING.md Comprehensive testing documentation covering 38 tests
Various test files Complete test coverage for stores and components
UI/styling updates Font consistency, visual improvements, and icon additions

Copy link

github-actions bot commented Oct 8, 2025

🔍 Preview links for changed docs

@reakaleek reakaleek marked this pull request as ready for review October 8, 2025 23:12
@reakaleek reakaleek requested a review from a team as a code owner October 8, 2025 23:12
@reakaleek reakaleek requested a review from Mpdreamz October 8, 2025 23:12
Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, love the heavy investment on testing infra.

@reakaleek reakaleek enabled auto-merge (squash) October 9, 2025 07:24
@reakaleek reakaleek merged commit fa9e8e5 into main Oct 9, 2025
22 checks passed
@reakaleek reakaleek deleted the feature/chat branch October 9, 2025 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants