Skip to content

Commit 7f3e602

Browse files
authored
feat: add a component for text reading aloud (#522)
* feat: add a component for text reading aloud * docs: update changelog
1 parent 5e9d41e commit 7f3e602

15 files changed

Lines changed: 138 additions & 0 deletions

File tree

docs/content.en/docs/release-notes/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Information about release notes of Coco Server is provided here.
4949
- style: chat input icons show #515
5050
- refactor: refactoring icon component #514
5151
- refactor: optimizing list styles in markdown content #520
52+
- feat: add a component for text reading aloud #522
5253

5354
## 0.4.0 (2025-04-27)
5455

src/components/Assistant/Chat.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import ConnectPrompt from "./ConnectPrompt";
2222
import type { Chat } from "./types";
2323
import PrevSuggestion from "@/components/ChatMessage/PrevSuggestion";
2424
import { useAppStore } from "@/stores/appStore";
25+
// import ReadAloud from "./ReadAloud";
2526

2627
interface ChatAIProps {
2728
isSearchActive?: boolean;
@@ -378,6 +379,8 @@ const ChatAI = memo(
378379
{!activeChat?._id && !visibleStartPage && (
379380
<PrevSuggestion sendMessage={init} />
380381
)}
382+
383+
{/* <ReadAloud /> */}
381384
</div>
382385
);
383386
}
1.26 KB
Loading
1.28 KB
Loading
346 Bytes
Loading
347 Bytes
Loading
1.24 KB
Loading
1.25 KB
Loading
485 Bytes
Loading
491 Bytes
Loading

0 commit comments

Comments
 (0)