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:
parent
c692664c93
commit
0ee0bc428c
4 changed files with 175 additions and 35 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue