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 authored and Soulter committed 2025-11-20 17:19:45 +08:00
1 parent 384a687ec3
commit 8899a1dee1
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -506,4 +506,4 @@ onBeforeUnmount(() => {
padding: 0 !important;
}
}
</style>
</style>
@@ -293,3 +293,4 @@ function handleSidebarMouseLeave() {
}
}
</style>
+1
View File
@@ -301,3 +301,4 @@ export function useMessages(
toggleStreaming
};
}