chore(version): 0.2.5
This commit is contained in:
parent
a6ff6e3a4d
commit
2507dd1bcf
@ -56,5 +56,6 @@ electronDownload:
|
||||
afterSign: scripts/notarize.js
|
||||
releaseInfo:
|
||||
releaseNotes: |
|
||||
- 修复更新日志页面不能滚动问题
|
||||
- 新增检查更新按钮
|
||||
🆕 新增百川AI服务商
|
||||
📢 全新的智能体页面,新增多种职业助手
|
||||
🌐 多语言问题修复,细节优化
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
# CHANGES LOG
|
||||
|
||||
### v0.2.5 - 2024-07-17
|
||||
|
||||
- 🆕 Baichuan AI Service Providers
|
||||
- 📢 New Intelligent Agent Page with Multiple Professional Assistants
|
||||
- 🌐 Multilingual Issue Fixes and Detailed Optimizations
|
||||
|
||||
### v0.2.4 - 2024-07-16
|
||||
|
||||
- Fixed the issue of the update log page cannot be scrolled
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
# 更新日志
|
||||
|
||||
### v0.2.5 - 2024-07-17
|
||||
|
||||
- 🆕 新增百川AI服务商
|
||||
- 📢 全新的智能体页面,新增多种职业助手
|
||||
- 🌐 多语言问题修复,细节优化
|
||||
|
||||
### v0.2.4 - 2024-07-16
|
||||
|
||||
- 修复更新日志页面不能滚动问题
|
||||
|
||||
@ -14,13 +14,17 @@ const { Title } = Typography
|
||||
|
||||
const AppsPage: FC = () => {
|
||||
const { assistants, addAssistant } = useAssistants()
|
||||
const assistantGroups = groupBy(SYSTEM_ASSISTANTS, 'group')
|
||||
const assistantGroups = groupBy(
|
||||
SYSTEM_ASSISTANTS.map((a) => ({ ...a, id: String(a.id) })),
|
||||
'group'
|
||||
)
|
||||
const { t } = useTranslation()
|
||||
|
||||
const onAddAssistant = (assistant: SystemAssistant) => {
|
||||
addAssistant({
|
||||
...getDefaultAssistant(),
|
||||
...assistant
|
||||
...assistant,
|
||||
id: String(assistant.id)
|
||||
})
|
||||
window.message.success({
|
||||
content: t('message.assistant.added.content'),
|
||||
@ -44,7 +48,7 @@ const AppsPage: FC = () => {
|
||||
{assistantGroups[group].map((assistant, index) => {
|
||||
const added = find(assistants, { id: assistant.id })
|
||||
return (
|
||||
<Col span={6} key={group + index} style={{ marginBottom: 16 }}>
|
||||
<Col span={8} key={group + index}>
|
||||
<AssistantCard>
|
||||
<EmojiHeader>{assistant.emoji}</EmojiHeader>
|
||||
<Col>
|
||||
@ -56,13 +60,13 @@ const AppsPage: FC = () => {
|
||||
<AssistantCardPrompt>{assistant.prompt}</AssistantCardPrompt>
|
||||
<Row>
|
||||
{added && (
|
||||
<Button type="default" disabled>
|
||||
<Button type="default" size="small" disabled>
|
||||
{t('button.added')}
|
||||
</Button>
|
||||
)}
|
||||
{!added && (
|
||||
<Tooltip placement="top" title=" Add to assistant list " arrow>
|
||||
<Button type="default" onClick={() => onAddAssistant(assistant as any)}>
|
||||
<Button type="default" size="small" onClick={() => onAddAssistant(assistant as any)}>
|
||||
{t('button.add')}
|
||||
</Button>
|
||||
</Tooltip>
|
||||
@ -89,13 +93,13 @@ const Container = styled.div`
|
||||
`
|
||||
|
||||
const EmojiHeader = styled.div`
|
||||
width: 60px;
|
||||
width: 36px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
font-size: 50px;
|
||||
line-height: 50px;
|
||||
margin-right: 10px;
|
||||
margin-right: 5px;
|
||||
font-size: 36px;
|
||||
line-height: 36px;
|
||||
`
|
||||
|
||||
const ContentContainer = styled.div`
|
||||
@ -113,7 +117,7 @@ const AssistantCard = styled.div`
|
||||
margin-bottom: 16px;
|
||||
background-color: #2b2b2b;
|
||||
border-radius: 10px;
|
||||
padding: 20px;
|
||||
padding: 15px;
|
||||
position: relative;
|
||||
`
|
||||
|
||||
|
||||
@ -117,7 +117,7 @@
|
||||
<p class="description">Windows/macOS GPT 客户端</p>
|
||||
<div class="download-buttons">
|
||||
<a
|
||||
href="https://github.com/kangfenmao/cherry-studio/releases/download/v0.2.4/Cherry-Studio-0.2.4-x64.dmg"
|
||||
href="https://github.com/kangfenmao/cherry-studio/releases/download/v0.2.5/Cherry-Studio-0.2.5-x64.dmg"
|
||||
class="download-btn">
|
||||
<svg viewBox="0 0 384 512" width="24" height="24">
|
||||
<path
|
||||
@ -127,7 +127,7 @@
|
||||
macOS Intel
|
||||
</a>
|
||||
<a
|
||||
href="https://github.com/kangfenmao/cherry-studio/releases/download/v0.2.4/Cherry-Studio-0.2.4-arm64.dmg"
|
||||
href="https://github.com/kangfenmao/cherry-studio/releases/download/v0.2.5/Cherry-Studio-0.2.5-arm64.dmg"
|
||||
class="download-btn">
|
||||
<svg viewBox="0 0 384 512" width="24" height="24">
|
||||
<path
|
||||
@ -137,7 +137,7 @@
|
||||
macOS Apple Silicon
|
||||
</a>
|
||||
<a
|
||||
href="https://github.com/kangfenmao/cherry-studio/releases/download/v0.2.4/Cherry-Studio-0.2.4-setup.exe"
|
||||
href="https://github.com/kangfenmao/cherry-studio/releases/download/v0.2.5/Cherry-Studio-0.2.5-setup.exe"
|
||||
class="download-btn">
|
||||
<svg viewBox="0 0 448 512" width="24" height="24">
|
||||
<path
|
||||
@ -149,7 +149,7 @@
|
||||
</div>
|
||||
<p class="new-app">
|
||||
🎉 <a href="https://github.com/kangfenmao/cherry-studio" target="_blank">Cherry Studio</a> 最新版本
|
||||
<a href="https://github.com/kangfenmao/cherry-studio/releases/tag/v0.2.4" target="_blank">v0.2.4</a> 发布啦!
|
||||
<a href="https://github.com/kangfenmao/cherry-studio/releases/tag/v0.2.5" target="_blank">v0.2.5</a> 发布啦!
|
||||
</p>
|
||||
<div class="footer">
|
||||
<a href="https://github.com/kangfenmao/cherry-studio" target="_blank">开源</a> |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user