Skip to content

Conversation

@anlyyao
Copy link
Collaborator

@anlyyao anlyyao commented Oct 28, 2025

TODO

  • api 文档改用 tdesign-api 生成
  • class 类需按 BEM 规范命名(初)
  • 移除无意义的示例、css、js 逻辑

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

相关 PRs

TDesignOteam/tdesign-api#760

💡 需求背景和解决方案

📝 更新日志

@goldjunkrat @liuding0304 @mimaoxiao @waiterxiaoyy @zhangjiaoalice @zydemail

  • feat(ChatList): 新增 ChatList 对话列表组件

  • feat(ChatSender): 新增 ChatSender 对话输入组件

  • feat(ChatMessage): 新增 ChatMessage 对话消息体组件

  • feat(ChatActionbar): 新增 ChatActionbar 对话操作组件

  • feat(ChatMarkdown): 新增 ChatMarkdown Markdown 内容组件

  • feat(ChatThinking): 新增 ChatThinking 思考过程组件

  • feat(ChatLoading): 新增 ChatLoading 对话加载组件

  • feat(Attachments): 新增 Attachments 文件附件组件

  • feat(ChatContent): 新增 ChatContent 对话正文组件

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@anlyyao anlyyao mentioned this pull request Nov 12, 2025
16 tasks
@anlyyao anlyyao changed the title 【WIP】feat: add chat series components feat: add chat series components Nov 13, 2025
@anlyyao anlyyao merged commit 2bfd31c into develop Nov 13, 2025
9 checks passed
@anlyyao anlyyao deleted the feature/chat branch November 13, 2025 08:30
anlyyao added a commit that referenced this pull request Nov 18, 2025
* chore: merge deploy mode (#3965)

* chore: merge deploy mode

* chore: rename

* chore: pin get-intrinsic@1.3.0

---------

Co-authored-by: 黎伟杰 <674416404@qq.com>

* chore: update build package name (#3974)

* chore: update build package name

* chore: fix typos

* chore(indexes): fix sidebar click error in  demo (#3980)

* chore(indexes): fix sidebar click error in  demo

* chore: retain controlled usage

---------

Co-authored-by: anlyyao <anly_yaw@163.com>

* fix(sidebar): fix color of disabled sidebar (#3982)

* fix(sidebar): fix color of disabled sidebar

* chore: optimize active state logic

---------

Co-authored-by: anlyyao <anly_yaw@163.com>

* chore: update site (#3984)

* chore: update site

* chore: update image link

---------

Co-authored-by: anlyyao <anly_yaw@163.com>

* feat(Drawer): add overlayProps attr (#3978)

* feat(Drawer): add overlayProps attr

* chore: unified code standard

* feat(Watermark): support layout API (#3976)

* fix: mini..._npm path

* feat: api

* feat: function

* feat: layout demo

* chore: docs

* chore: typo

* fix(Watermark): fix demo

---------

Co-authored-by: anlyyao <anly_yaw@163.com>

* fix(SideBarItem): min-height is set to auto (#3985)

* fix(SideBarItem): min-height is set to auto

* docs: update css vars

* chore(deploy): add static prefix  (#3987)

* chore: static

* chore: add static prefix

* 【DOC】修复文档错误、优化脚本 (#3993)

* chore: update css generation script

* chore: update script

* fix(Calendar): fix action button status error (#3996)

* chore: publish v1.11.0 (#3999)

* chore: publish v1.11.0

* chore: changelog's changes

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: fix typo (#4002)

* feat: add qrcode to page watermark (#4004)

* docs: generate slots documents for all components (#4008)

* docs: generate slots documents for all components

* fix: fix test

* docs: format

* fix(Calendar): fixed initialization error when value[] is combined with switch-mode (#4005)

* chore: trusted publisher (#4020)

* chore: trusted publisher

* chore: 提权

* chore: publishConfig

* fix: form提交时能正确获取checkbox-group的值 (#4017)

* fix(tabbar): 修复自定义tabbar颜色叠加问题 (#4019)

* fix: 修复自定义tabbar颜色叠加问题

* fix: 移 除tabbar-item的背景颜色

* fix(types): type definition error (#4021)

* fix(types): type definition error

* chore: update common.ts

---------

Co-authored-by: anlyyao <anly_yaw@163.com>

* refactor: improve the verification number function (#4015)

* fix(action-sheet): exception caused by repeated modification of component initialization data (#4013)

* fix(Toast): fix radius error (#4031)

* fix(Upload): fixed component display error when changing draggable (#4030)

* fix(DateTimePicker): 修复了 DateTimePicker 即使设置了 autoClose 为 false,点击遮罩层也会重置选项为拨动前的 Bug (#3874)

* fix: resolve merge conflicts

* chore: update ISSUE TEMPLATE

---------

Co-authored-by: anlyyao <anly_yaw@163.com>

* chore: publish v1.11.1 (#4034)

* chore: publish v1.11.1

* chore: changelog's changes

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* ci: reuse TDesignOteam spell-check (#4043)

* fix(Picker): optimize scrolling performance when large data (#4014)

* fix: 修复大量数据picker卡顿问题

* fix(picker): 使用虚拟滚动优化性能

* fix(picker): 完善使用虚拟滚动优化性能

* fix(picker): 去掉日志

* fix(picker): 移除css

* docs: update css vars

---------

Co-authored-by: Boomkaa <173308582@qq.com>
Co-authored-by: anlyyao <anly_yaw@163.com>

* feat(Calendar): support allowSameDay prop (#4045)

* feat(Cascader): enhance the capabilities of the keys property (#4044)

* feat(Cascader): enhance the capabilities of the keys property

* chore(Radio): root node supplements the disabled state classname

* test: update snapshots

* chore(git): main 分支合并 develop 分支,冲突时优先使用develop 分支代码 (#4036)

* chore(site): added miniprogram-chat entry (#4050)

* feat(Picker): support visibleItemCount prop (#4052)

* feat(Picker): support visibleItemCount prop

* test: update snapshots

* chore(site): support ai-search (#4048)

* chore(site): support ai-search

* chore: update common

* docs(site): remove changelog for miniprogram-chat (#4054)

* chore: publish v1.11.2 (#4053)

* chore: publish v1.11.2

* chore: changelog's changes

* fix: fix lint

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* feat: add chat series components (#4010)

* feat(site): add AI Chat routing

* chore(demo): update demo

* chore: update the directory structure again

* chore: update liveUrl for dev

* feat: update qrcode for page

* docs: update title

* feat(chat): 更新聊天组件及相关示例代码

* fix: 修改common路径

* fix: 修改代码引入路径

* fix: attachments对齐pc端

* fix: chat-loading样式问题修复

* feat(site): add AI Chat routing

* chore(demo): update demo

* chore: update the directory structure again

* chore: update liveUrl for dev

* feat: update qrcode for page

* docs: update title

* feat(chat): 更新聊天组件及相关示例代码

* fix: 修改common路径

* fix: 修改代码引入路径

* fix: attachments对齐pc端

* fix: chat-loading样式问题修复

* style: fixed multiple style errors

* fix(site): fix page path error

* style(demo): fix style

* fix: 修复chatContentProps的使用问题

* chore: fixed multiple errors in multiple components

* feat: 文案调整

* feat: chat图片示例调整

* style(ChatMarkdown): use css token

* fix(ChatActionbar): update demo

* chore: styleIsolation configuration is migrated from options to json

* fix: chat示例样式调整;chatSender示例增加背景色;chatSender组件输入框的最大最小高度按照按照rpx传值

* feat(ChatActionBar): update icon

* feat(ChatLoading): change circle to dots type

* chore(ChatActionbar): named according to BEM

* chore(ChatLoading): named according to BEM

* chore(ChatThinking): named according to BEM

* chore(ChatContent): named according to BEM

* refactor(ChatList): remove old chat example files and add new chat list component with examples

* feat: 补充遗漏样式

* chore(Attachments): named according to BEM

* chore(ChatMessage): named according to BEM

* chore: update app.json

* chore(ChatMarkdown): named according to BEM

* chore(ChatSender): named according to BEM

* chore(ChatList): named according to BEM

* chore: format

* feat: 更改为tdesign-miniprogram引入chat组件

* feat(ChatList): add scrollToBottom method demo

* fix: 修复多个组件示例源码展示问题

* docs: update README

* docs: update getting-started

* feat: 完善文档

* feat: 新增错误状态

* fix: remove isMarkdown property

* refactor: rename event from handleAction to actions in ChatActionbar component

* refactor: rename event from expandChange to collapsedChange in ChatThinking component

* fix: 修复思考过程内容首行换行问题

* feat: refactor: 移除 imageProps 属性,新增 FileItem 尺寸及模式属性

* docs: update README to clarify items property description in attachments

* docs: 移除 chat-sender 组件 update:visible 事件说明

* fix(demo): fixed multiple style issues

* fix(demo): fixed multiple style issues

* feat(ChatSender): 修改文档描述

* feat(Attachments): use the multiply icon instead

* fix(ChatLoading): fix text spacing error

* refactor(ChatSender): remove type property from upload configuration and update related logic

* chore(site): update site.config.mjs file

* chore(ChatMessage): setting max-width

* fix(Attachments): fix file margin-top erro

* feat: 更新聊天内容类型及界面插槽名称

* refactor: 移除未使用样式及更新注释描述

* style: 移除 chat-actionbar 组件未使用样式代码

* docs(Chat): update api docs (#4038)

* docs(Chat): update api docs

* docs: update

* chore: using props.ts file

* fix(Demo): fix multiple example bugs

* chore: remove irrelevant content

* feat: 新增动画与状态属性,优化消息结构及性能

* refactor: update submodule

* fix(chat-list): 修复控制台告警

* docs: add code snippet link (#4041)

* chore: update _common

* fix(Demo): fix console warnings

* docs: add code snippet link

* docs: remove irrelevant changelogs

* docs(chat): fix doc link (#4051)

* docs(chat): fix doc link

* chore: fix doc

* docs: update api docs

---------

Co-authored-by: zydemail <1054055589@qq.com>
Co-authored-by: nekowu <1142809915@qq.com>
Co-authored-by: seerzhang@tencent.com <1016217659@qq.com>
Co-authored-by: waiterxiaoyy <738294518@qq.com>
Co-authored-by: liweijie0812 <674416404@qq.com>

* Bugfix/getting started (#4059)

* fix component path in getting-started documentation

* update submodule

* docs(chat-site): support component changelog (#4057)

* docs(chat-site): support component changelog

* chore: update common

* ci: add node24 test build (#4056)

* 更新 ci.yml

* 更新 ci.yml

* chore: update common

---------

Co-authored-by: 黎伟杰 <674416404@qq.com>
Co-authored-by: novlan1 <1576271227@qq.com>
Co-authored-by: Wesley <985189328@qq.com>
Co-authored-by: wū yāng <uyarnchen@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Boomkaa <48501916+Boomkaa@users.noreply.github.com>
Co-authored-by: betavs <34408516+betavs@users.noreply.github.com>
Co-authored-by: composable-tu <composable@foxmail.com>
Co-authored-by: jarmywang <awangjianjun9@gmail.com>
Co-authored-by: Boomkaa <173308582@qq.com>
Co-authored-by: zydemail <1054055589@qq.com>
Co-authored-by: nekowu <1142809915@qq.com>
Co-authored-by: seerzhang@tencent.com <1016217659@qq.com>
Co-authored-by: waiterxiaoyy <738294518@qq.com>
@github-actions github-actions bot mentioned this pull request Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants