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.
Refactor authentication handling and update environment-specific
configurations for local development.
- Update `LayoutComponent` to handle asynchronous logout and redirect
to login page.
- Update `LoginPage` to navigate to home after successful submission.
- Hardcode API and image URLs to local development IP in `HttpService`
and `VoiceStreamConfig`.
- Adjust typing animation delay in `HomePage` for more natural feel.
- Comment out unused settings items and update `AiChatInputComponent`
border radius.
- Switch to dynamic viewport height (dvh) for better mobile support
- Implement fixed positioning for chat input using :host-context
- Simplify home page layout logic and remove redundant padding
- Disable Angular CLI analytics in configuration
Introduces a comprehensive voice interaction system and upgrades the home page
experience with dynamic typing effects and improved layout transitions.
Key changes:
- Added `MicrophoneService` for managing media stream lifecycle and permissions.
- Added `SpeechRecognitionService` for continuous speech-to-text processing.
- Added `VoiceOrbService` using Three.js to render an animated audio-reactive
orb.
- Enhanced `HomePage` with a randomized typing effect for welcome titles
and improved state management for message transitions.
- Refactored `AiChatInputComponent` to support seamless switching between
text composer and voice recording modes.
- Improved `SidebarComponent` navigation logic and styling.
- Updated global styles and component CSS for better theme consistency
and smoother animations.
Implement the core user interface components including the home page,
a sophisticated AI chat input component, and a 3D voice visualization
service using Three.js.
- Add `HomePage` component with responsive layout and theme integration.
- Add `AiChatInputComponent` supporting text, file attachments, and
voice mode transitions.
- Implement `VoiceOrbService` using Three.js to provide a reactive
3D animated orb for voice interaction.
- Update routing to include the new home page.
- Refactor `SettingsPage` to clean up unused RTL logic and improve
UI styling.
- Adjust Angular build budgets in `angular.json` to accommodate
increased bundle size from Three.js.