-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updae theme and fix some bug (#1711)
- Loading branch information
Showing
153 changed files
with
1,586 additions
and
1,435 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
title: 'V4.8.4(进行中)' | ||
description: 'FastGPT V4.8.4 更新说明' | ||
icon: 'upgrade' | ||
draft: false | ||
toc: true | ||
weight: 821 | ||
--- | ||
|
||
<!-- ## 升级指南 | ||
- fastgpt 镜像 tag 修改成 v4.8.4 | ||
- fastgpt-sandbox 镜像 tag 修改成 v4.8.4 (选择性,无变更) | ||
- 商业版镜像 tag 修改成 v4.8.4 --> | ||
|
||
## V4.8.4 更新说明 | ||
|
||
1. 新增 - 应用使用新权限系统。 | ||
2. 优化 - 文本分割增加连续换行、制表符清除,避免大文本性能问题。 | ||
3. 修复 - Debug 模式下,相同 source 和 target 内容,导致连线显示异常。 | ||
4. 修复 - 定时执行初始化错误。 | ||
5. 调整组件库全局theme。 |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export const gridFsStream2Buffer = (stream: NodeJS.ReadableStream) => { | ||
return new Promise<Buffer>((resolve, reject) => { | ||
let tmpBuffer: Buffer = Buffer.from([]); | ||
|
||
stream.on('data', (chunk) => { | ||
tmpBuffer = Buffer.concat([tmpBuffer, chunk]); | ||
}); | ||
stream.on('end', () => { | ||
resolve(tmpBuffer); | ||
}); | ||
stream.on('error', (err) => { | ||
reject(err); | ||
}); | ||
}); | ||
}; |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from 'react'; | ||
import { Box, BoxProps } from '@chakra-ui/react'; | ||
|
||
const FormLabel = ({ | ||
children, | ||
...props | ||
}: BoxProps & { | ||
children: React.ReactNode; | ||
}) => { | ||
return ( | ||
<Box color={'myGray.900'} fontSize={'sm'} {...props}> | ||
{children} | ||
</Box> | ||
); | ||
}; | ||
|
||
export default FormLabel; |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,6 +135,7 @@ const MySelect = ( | |
} | ||
}} | ||
whiteSpace={'pre-wrap'} | ||
fontSize={'sm'} | ||
> | ||
{item.label} | ||
</MenuItem> | ||
|
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.