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 5bcd683012
commit 6345ac6ff8
3 changed files with 3 additions and 1 deletions
+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
};
}