Redesign the home page and voice stream panel into a compact dock
layout to improve the chat experience. Implement a flush mechanism in
the PCM playback worklet to handle the resampler tail, preventing
premature session termination due to phantom outstanding playback.
Fix document filter visibility in settings to ensure controls remain
accessible when no results match, and refactor transcript insertion
to maintain correct user/assistant ordering.
This commit significantly expands the application's routing, navigation, and administrative capabilities. It introduces several new functional modules and refines the core layout for a more professional, dashboard-oriented experience.
- **Routing & Navigation**:
- Added routes for `wallboard`, `call-center`, `call-center/calls`, and `chat-questions`.
- Updated `SidebarComponent` to include all new navigation items.
- Enhanced `LayoutComponent` with dynamic navigation based on user roles (admin vs. user).
- **New Administrative Pages**:
- `WallboardPage`: Implements a real-time KPI dashboard with call activity trends and outcome distributions.
- `CallCenterPage`: Provides a symbolic interface for managing call center connectivity and synchronization.
- `CallCenterCallsPage`: Implements a call history retrieval interface with filtering capabilities.
- `ChatQuestionsPage`: Adds a module for reviewing user questions from web and mobile channels.
- **Core Infrastructure & Refinement**:
- Updated `AppConfig` to include an `APP_INITIALIZER` for validating user identity via `AuthService` on startup.
- Refined `HomeComponent` layout to a "Claude-style" continuous chat column.
- Implemented global themed scrollbars and integrated the 'Lahze' font family.
- Added `proxy.conf.json` and updated `angular.json` to support local backend development.
- **Documentation**:
- Added comprehensive API handoff guides for frontend-backend connection and MVP API catalog.
Introduce a complete low-level audio processing and streaming pipeline
for live voice conversations.
- Implement `VoiceAudioEngine` using `AudioWorklet` for low-latency
PCM16 capture and playback.
- Add `pcm-capture` and `pcm-playback` worklets for high-performance
audio processing outside the main thread.
- Implement `VoiceStreamService` to manage the voice-to-voice state
machine (LISTENING, PROCESSING, SPEAKING, INTERRUPTED).
- Add `VoiceApiService` for managing conversation and session lifecycle
via REST and WebSocket.
- Create `VoiceStreamPanelComponent` to display real-time transcripts,
status indicators, and the animated voice orb.
- Integrate voice streaming into the `AiChatInputComponent` with
support for seamless UI transitions between text and voice modes.