Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 第一版 ProChat #1

Merged
merged 61 commits into from
Nov 24, 2023
Merged

feat: 第一版 ProChat #1

merged 61 commits into from
Nov 24, 2023

Conversation

arvinxx
Copy link
Collaborator

@arvinxx arvinxx commented Oct 20, 2023

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • 💄 style
  • 🔨 chore
  • 📝 docs

TODO

基础框架

  • 组件化
  • 样式修正
  • 程序化使用 useProChat 、 ref
  • 使用 pro-editor 替换部分基础组件(ActionIcon、ActionIconGroup、Highlighter、Markdown、Snippet)

组件接口

  • 自定义 request
  • config props 设计
  • stream 设计
  • 类型定义

Demo

  • chats 受控
  • 文档模式
  • 流式 Demo
  • 非流式 Demo

arvinxx and others added 7 commits October 20, 2023 15:25
## [Version 0.2.0-beta.1](v0.1.1...v0.2.0-beta.1)
<sup>Released on **2023-10-20**</sup>

#### ✨ 新特性

- Init basic components.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Init basic components ([09d1284](09d1284))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@github-actions
Copy link

github-actions bot commented Oct 20, 2023

🎊 PR Preview cf98b0f has been successfully built and deployed to https://ant-design-pro-chat-preview-pr-1.surge.sh

🕐 Build time: 58.968s

🤖 By surge-preview

arvinxx and others added 22 commits October 20, 2023 15:59
## [Version&nbsp;0.2.0-beta.2](v0.2.0-beta.1...v0.2.0-beta.2)
<sup>Released on **2023-10-21**</sup>

#### ✨ 新特性

- Add ProChat, ProChat 初步组件化, 支持流式响应.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Add ProChat ([ec20b42](ec20b42))
* ProChat 初步组件化 ([86e8283](86e8283))
* 支持流式响应 ([4e6d720](4e6d720))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
## [Version&nbsp;0.2.0-beta.3](v0.2.0-beta.2...v0.2.0-beta.3)
<sup>Released on **2023-10-22**</sup>

#### 🐛 修复

- Fix import, fix import.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* Fix import ([565e530](565e530))
* Fix import ([0311e5f](0311e5f))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
## [Version&nbsp;0.2.0-beta.4](v0.2.0-beta.3...v0.2.0-beta.4)
<sup>Released on **2023-10-22**</sup>

#### ✨ 新特性

- 支持非流式请求.

#### 🐛 修复

- Fix import.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* 支持非流式请求 ([211fad5](211fad5))

#### What's fixed

* Fix import ([ac81b1d](ac81b1d))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
arvinxx and others added 25 commits October 25, 2023 13:34
## [Version&nbsp;0.2.0-beta.8](v0.2.0-beta.7...v0.2.0-beta.8)
<sup>Released on **2023-10-25**</sup>

#### 🐛 修复

- Fix avatar.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* Fix avatar ([61a7efe](61a7efe))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
* feat: support onResetMessage funtion

* fix tets
## [Version&nbsp;0.2.0-beta.9](v0.2.0-beta.8...v0.2.0-beta.9)
<sup>Released on **2023-10-25**</sup>

#### ✨ 新特性

- Support onResetMessage funtion.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Support onResetMessage funtion, closes [#2](#2) ([418230a](418230a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
* feat: support onResetMessage funtion

* fix tets

* 修复 bug
## [Version&nbsp;0.2.0-beta.10](v0.2.0-beta.9...v0.2.0-beta.10)
<sup>Released on **2023-10-25**</sup>

#### 🐛 修复

- Fix onResetMessage.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* Fix onResetMessage, closes [#3](#3) ([078f277](078f277))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
## [Version&nbsp;0.2.0-beta.11](v0.2.0-beta.10...v0.2.0-beta.11)
<sup>Released on **2023-10-26**</sup>

#### ✨ 新特性

- Support autocompleteRequest and messageItemExtraRender.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Support autocompleteRequest and messageItemExtraRender, closes [#4](#4) ([5305e56](5305e56))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
## [Version&nbsp;0.2.0-beta.12](v0.2.0-beta.11...v0.2.0-beta.12)
<sup>Released on **2023-10-26**</sup>

#### 🐛 修复

- Fix send auto clear no work error.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* Fix send auto clear no work error, closes [#5](#5) ([06f6ebf](06f6ebf))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
✅ feat: 将 Action & ActionGroup 切换为 ProEditor 引用
## [Version&nbsp;0.2.0-beta.13](v0.2.0-beta.12...v0.2.0-beta.13)
<sup>Released on **2023-11-07**</sup>

#### ✨ 新特性

- Change action & group as pro-editor.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Change action & group as pro-editor ([4f1d5ee](4f1d5ee))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
fix(Action):  修复 Action 的默认逻辑
## [Version&nbsp;0.2.0-beta.14](v0.2.0-beta.13...v0.2.0-beta.14)
<sup>Released on **2023-11-07**</sup>

#### 🐛 修复

- Change action group style problem.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* Change action group style problem ([52c9104](52c9104))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
## [Version&nbsp;0.2.0-beta.15](v0.2.0-beta.14...v0.2.0-beta.15)
<sup>Released on **2023-11-08**</sup>

#### ✨ 新特性

- Support extra userMeta  and params.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Support extra userMeta  and params, closes [#10](#10) ([8475b9a](8475b9a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
## [Version&nbsp;0.2.0-beta.16](v0.2.0-beta.15...v0.2.0-beta.16)
<sup>Released on **2023-11-14**</sup>

#### 🐛 修复

- Fix onPressEnter no work error.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* Fix onPressEnter no work error, closes [#11](#11) ([1db28f7](1db28f7))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Co-authored-by: ONLY-yours <1340921570@qq.com>
* ✨ feat: change Highlight & Markdown into ProEditor

* ✨ feat: delete lobeui

* 💚 fix: ci fixed

---------

Co-authored-by: ONLY-yours <1340921570@qq.com>
## [Version&nbsp;0.2.0-beta.17](v0.2.0-beta.16...v0.2.0-beta.17)
<sup>Released on **2023-11-22**</sup>

#### ✨ 新特性

- Support useChat and chatRef.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Support useChat and chatRef ([cf98b0f](cf98b0f))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@arvinxx arvinxx merged commit d63f00a into main Nov 24, 2023
1 check passed
@arvinxx arvinxx deleted the beta branch November 24, 2023 09:07
github-actions bot pushed a commit that referenced this pull request Nov 24, 2023
## [Version&nbsp;0.2.0](v0.1.1...v0.2.0)
<sup>Released on **2023-11-24**</sup>

#### ✨ 新特性

- Add ProChat, add ProChat, change action & group as pro-editor, init basic components, ProChat 初步组件化, support autocompleteRequest and messageItemExtraRender, support extra userMeta  and params, support onResetMessage funtion, support useChat and chatRef, 支持流式响应, 支持非流式请求.

#### 🐛 修复

- Change action group style problem, clean deps, fix avatar, fix import, fix import, fix import, fix onPressEnter no work error, fix onResetMessage, fix send auto clear no work error, lock father to fix build.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Add ProChat, closes [#1](#1) ([d63f00a](d63f00a))
* Add ProChat ([ec20b42](ec20b42))
* Change action & group as pro-editor ([4f1d5ee](4f1d5ee))
* Init basic components ([09d1284](09d1284))
* ProChat 初步组件化 ([86e8283](86e8283))
* Support autocompleteRequest and messageItemExtraRender, closes [#4](#4) ([5305e56](5305e56))
* Support extra userMeta  and params, closes [#10](#10) ([8475b9a](8475b9a))
* Support onResetMessage funtion, closes [#2](#2) ([418230a](418230a))
* Support useChat and chatRef ([cf98b0f](cf98b0f))
* 支持流式响应 ([4e6d720](4e6d720))
* 支持非流式请求 ([211fad5](211fad5))

#### What's fixed

* Change action group style problem ([52c9104](52c9104))
* Clean deps ([1479fa3](1479fa3))
* Fix avatar ([61a7efe](61a7efe))
* Fix import ([ac81b1d](ac81b1d))
* Fix import ([565e530](565e530))
* Fix import ([0311e5f](0311e5f))
* Fix onPressEnter no work error, closes [#11](#11) ([1db28f7](1db28f7))
* Fix onResetMessage, closes [#3](#3) ([078f277](078f277))
* Fix send auto clear no work error, closes [#5](#5) ([06f6ebf](06f6ebf))
* Lock father to fix build ([f6618e5](f6618e5))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Copy link

🎉 This PR is included in version 0.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants