Skip to content

feat(sav): add chat integration and view mode toggle

yahya.elmokhtari a demandé de fusionner IAV-601-part3-chat-integration vers develop

Overview

Add chat integration with view mode toggle, allowing users to switch between tools and chat views in the SAV dashboard.

Changes

  • Added ITRI chat interface component with message handling
  • Implemented view mode toggle (Tools/Chat) in SAV dashboard
  • Added chat history sidebar with new chat button
  • Integrated useChat hook for message management
  • Enhanced agent card with proper sub-agent management
  • Added wrench and inbox FontAwesome icons

Technical Details

  • useChat hook integrated with ITRI agent UID
  • All conditional rendering uses ConditionalComponent
  • Merged with latest develop (includes part2 changes)
  • Agent store integration preserved from part2
  • No commented code or && violations

Components Added/Updated

  • itri-chat-interface.tsx (chat UI component)
  • view.tsx (view mode toggle, chat integration)
  • fontawesome/index.tsx (wrench, inbox icons)
  • ChatHistory integration from community-manager

Testing

  • TypeScript: Passed (no new errors)
  • ESLint: Passed (0 errors)
  • Build: Passed (production build successful)

CLOSE-IAV-601

Rapports de requête de fusion