feat(chat): support multiple conversation#623
Draft
zwight wants to merge 6 commits intoDTStack:masterfrom
Draft
Conversation
6 tasks
LuckyFBB
reviewed
Nov 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更类型
请选择以下选项以描述 PR 的类型:
相关问题
变更内容
https://zwight.github.io/dt-react-component/components/chat?tab=conversations
新增
Conversations组件Conversations管理和显示具有分组功能的对话列表的组件GroupTitle用于显示组标题的组件Conversations.Item用于渲染对话的组件useGroupable,以方便对对话数据进行高效的分组和排序dropdown参数,为对话项目添加了下拉菜单,可执行更多操作groupable参数,用于控制是否分组,以及自定义分组的排序和标签渲染header参数,为对话列表顶部添加可拓展区,一般用于新增对话按钮操作Conversations组件Chat.Button组件修改linearGradient的x和y参数,用百分比替换掉固定值,适用更多场景Chat.Input组件参数调整Input的autoSize参数调整到{...rest}之前,便于使用的时候覆盖默认参数Markdown组件ReactMarkdown新增table的自定义,用于添加table的className以及添加table的样式useChat_updatePrompt接受的data参数类型拓展,初始化的时候可以重定义Prompt的类型,但是在update的时候接收的还是默认类型,拓展成初始化时自定义的类型其他
Conversations单测详细描述
对应 Previewer