Refactor chat module and navigation components for improved user experience

- Update app configuration to load chat module on startup for route registration.
- Introduce useModularNavigation composable for dynamic navigation based on enabled modules.
- Simplify Navbar.vue by utilizing userMenuItems for dropdown and button rendering, enhancing maintainability.
- Enhance ChatPage.vue with detailed debug information and user authentication checks for better feedback.
This commit is contained in:
padreug 2025-09-05 00:31:53 +02:00
parent c692664c93
commit 0ee0bc428c
4 changed files with 175 additions and 35 deletions

View file

@ -42,7 +42,7 @@ export const appConfig: AppConfig = {
chat: {
name: 'chat',
enabled: true,
lazy: true, // Load on demand
lazy: false, // Load on startup to register routes
config: {
maxMessages: 500,
autoScroll: true,