Commit 2bfd31c
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>1 parent da1ff2a commit 2bfd31c
File tree
535 files changed
+10236
-9788
lines changed- .github/workflows
- packages
- components
- common/style/theme
- form-item
- form/_example
- horizontal
- vertical
- tab-panel
- tabs
- pro-components
- chat-actionbar
- _example
- action
- base
- comment
- copy
- layout
- skyline
- theme
- chat-attachments
- _example
- base
- skyline
- theme
- chat-content
- _example
- base
- chat-loading
- _example
- base
- skyline
- text
- theme
- chat-markdown
- _example
- base
- skyline
- theme
- chat-markdown-code
- chat-markdown-node
- chat-markdown-table
- chat-message
- _example
- action
- base
- configure
- content
- custom
- placement
- status
- style
- chat-sender
- _example
- attachments
- base
- content-citation
- skyline
- chat-thinking
- _example
- base
- skyline
- style-set
- theme
- chat
- _example
- agent
- base
- chartComponent
- code
- custom
- docs
- hookComponent
- image
- skyline
- theme
- attachments
- _example
- base
- file-loading
- file
- image-loading
- chat-actionbar
- _example
- base
- comment
- chat-content
- _example
- base
- chat-list
- _example
- agent
- base
- chart-component
- code
- custom
- docs
- ec-canvas
- hook-component
- image
- chat-loading
- _example
- base
- text
- chat-markdown
- _example
- base
- code
- list
- refer
- sheet
- url
- chat-markdown-code
- chat-markdown-node
- chat-markdown-table
- chat-message
- _example
- base
- configure
- content
- error
- status
- style
- chat-sender
- _example
- attachments
- base
- content-citation
- file-citation
- theme
- chat-thinking
- _example
- base
- complete
- layout
- pending
- tools
- tdesign-miniprogram-chat/site
- docs
- plugins/plugin-tdoc
- tdesign-miniprogram
- example
- pages/home/data
- utils
- site
- public/assets/qrcode
- scripts
- qrcode
- script
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
535 files changed
+10236
-9788
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
| 133 | + | |
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
| |||
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
24 | | - | |
25 | 22 | | |
26 | 23 | | |
27 | 24 | | |
| |||
36 | 33 | | |
37 | 34 | | |
38 | 35 | | |
39 | | - | |
40 | 36 | | |
41 | 37 | | |
42 | 38 | | |
| |||
78 | 74 | | |
79 | 75 | | |
80 | 76 | | |
81 | | - | |
82 | 77 | | |
83 | 78 | | |
84 | 79 | | |
| |||
90 | 85 | | |
91 | 86 | | |
92 | 87 | | |
93 | | - | |
94 | 88 | | |
95 | 89 | | |
96 | 90 | | |
| |||
272 | 266 | | |
273 | 267 | | |
274 | 268 | | |
275 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | | - | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
| 209 | + | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
206 | | - | |
| 205 | + | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments