Commit Graph
10 Commits
Author SHA1 Message Date
Peyman Honarjoo 0b5a882ecb feat(reports): implement reports page and data visualization components
Implement a comprehensive reports dashboard including user question
summaries, AI performance metrics, and usage trends. This includes
the creation of several reusable chart components and supporting
services.

- Add `ReportsPage` with tabbed navigation for questions and performance
- Implement `ReportsService` with mock data support for rapid development
- Create reusable UI components: `BarChartComponent`, `DoughnutChartComponent`, and `LineChartComponent`
- Add `format.util.ts` for Persian digit and number formatting
- Integrate 'Lahze' font family and add font assets
- Add unit tests for `ReportsPage` and `ReportsService`
2026-10-09 17:48:18 +03:30
PeymanHonarjoo 72e7d0a007 refactor(core): improve auth flow and update service configurations
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.
2026-10-08 13:45:30 +03:30
PeymanHonarjoo f6ce43453a feat(voice): implement real-time voice-to-voice streaming engine
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.
2026-10-08 12:52:29 +03:30
PeymanHonarjoo 447849289e feat(auth): implement login page and authentication flow
Implement a complete authentication system including a new login page,
updated authentication service, and conditional routing.

- Add `LoginPage` component with animated UI and form validation
- Update `AuthService` to handle user sessions, CSRF tokens, and
  enhanced user data structures
- Implement conditional rendering in `App` component based on
  authentication state
- Add `postRaw` and `getRaw` methods to `HttpService` for direct
  API interaction
- Update routing to include login path and prepare for auth guards
- Add rate limiting error handling (429) in `HttpService`
2026-10-08 12:49:13 +03:30
Peyman Honarjoo 4db40bfc64 style(settings): update dark mode styles and improve component usability
- Replace direct attribute selectors with :host-context for better encapsulation
- Add pointer cursor to tab buttons
- Update background colors for settings cards and content in dark mode
2026-10-07 23:03:03 +03:30
Peyman Honarjoo dd0a661919 refactor(ui): optimize layout responsiveness and component positioning
- 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
2026-10-07 23:02:57 +03:30
PeymanHonarjoo d22cd65e28 feat(ui): implement voice interaction and enhanced home page animations
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.
2026-10-06 17:27:52 +03:30
PeymanHonarjoo 3a0001c30d feat(ui): implement home page and ai chat input with voice orb
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.
2026-10-06 12:03:02 +03:30
PeymanHonarjoo 268a431c1e first commit 2026-10-06 09:57:33 +03:30
PeymanHonarjoo fe4dfeb2ec initial commit 2026-10-05 10:02:10 +03:30