feat(chat): refactor chat component structure and add new features (#3701)

- Introduced `ConversationSidebar.vue` for improved conversation management and sidebar functionality.
- Enhanced `MessageList.vue` to handle loading states and improved message rendering.
- Created new composables: `useConversations`, `useMessages`, `useMediaHandling`, `useRecording` for better code organization and reusability.
- Added loading indicators and improved user experience during message processing.
- Ensured backward compatibility and maintained existing functionalities.
This commit is contained in:
Soulter
2025-11-20 16:07:09 +08:00
committed by Soulter
parent 384a687ec3
commit 8899a1dee1
3 changed files with 3 additions and 1 deletions

View File

@@ -506,4 +506,4 @@ onBeforeUnmount(() => {
padding: 0 !important;
}
}
</style>
</style>

View File

@@ -293,3 +293,4 @@ function handleSidebarMouseLeave() {
}
}
</style>

View File

@@ -301,3 +301,4 @@ export function useMessages(
toggleStreaming
};
}