mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-02-04 01:51:07 +08:00
* refactor: 重构快捷助手 - 移除不必要的 `model` 属性,简化 `MessageContent` 和相关组件的参数传递。 - 更新 `MessageItem` 和 `MessageBlockRenderer` 以提高可读性和性能,确保消息内容的正确渲染。 - 修复 `fetchCitations` 中的潜在错误,确保引用数据的正确处理。 - 清理未使用的代码和注释,提升代码整洁性。 * refactor: 优化消息块处理和错误显示逻辑 - 在 `upgradeToV7` 函数中调整了消息块的创建顺序,以保持与旧版本的一致性。 - 更新了 `ErrorBlock` 组件,增强了错误信息的显示逻辑,支持更详细的 HTTP 错误状态处理。 - 在多个语言文件中添加了暂停占位符文本,提升了用户体验。 - 移除了未使用的代码和注释,提升了代码整洁性。 * refactor(useAssistant): optimize topic handling with useMemo * feat(locales): add Russian translations for MinApp and MiniWindow components - Introduced new translations for various UI elements in the MinApp and MiniWindow sections, enhancing the user experience for Russian-speaking users. - Updated the HomeWindow component to streamline topic handling by directly accessing the default assistant's topics, improving code clarity and performance. * refactor(message): remove loading state management from newMessage slice and streamline message loading logic - Removed the loading state update for topics in the `newMessage` slice to simplify state management. - Updated `loadTopicMessagesThunk` to eliminate unnecessary loading checks, enhancing clarity and performance during message loading. --------- Co-authored-by: suyao <sy20010504@gmail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| index.html | ||