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:
@@ -506,4 +506,4 @@ onBeforeUnmount(() => {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -293,3 +293,4 @@ function handleSidebarMouseLeave() {
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@@ -301,3 +301,4 @@ export function useMessages(
|
||||
toggleStreaming
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user