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.
This commit is contained in:
PeymanHonarjoo
2026-10-08 13:45:30 +03:30
parent f6ce43453a
commit 72e7d0a007
7 changed files with 31 additions and 13 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ export class HomePage implements OnInit, OnDestroy {
this.streamedText.set(text.substring(0, index));
// Slightly random timing makes it feel more natural
const delay = 12 + Math.random() * 8;
const delay = 16 + Math.random() * 8;
this.typingTimer = setTimeout(typeNextCharacter, delay);
};