Skip to content

Commit d5f188a

Browse files
authored
doc (#4798)
* doc * fix: i18n * fix: scroll load
1 parent 1edca30 commit d5f188a

File tree

12 files changed

+15
-13
lines changed

12 files changed

+15
-13
lines changed

docSite/content/zh-cn/docs/development/upgrading/498.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ weight: 792
3434
5. 重新训练权限问题。
3535
6. 文档链接地址。
3636
7. Claude 工具调用,由于 index 为空,导致工具调用失败。
37+
8. 嵌套工作流,工具调用下包含交互节点时,流程异常。
3738

packages/web/hooks/useScrollPagination.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ export function useScrollPagination<
351351
loadData(true);
352352
},
353353
{
354+
manual: false,
354355
...props
355356
}
356357
);

packages/web/i18n/en/common.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Action": "Action",
33
"Add": "Add",
4-
"Add Success": "Added Successfully",
4+
"add_success": "Added Successfully",
55
"Add_new_input": "Add new input",
66
"All": "All",
77
"App": "Application",
@@ -64,7 +64,7 @@
6464
"Parse": "Analysis",
6565
"Permission": "Permission",
6666
"Permission_tip": "Individual permissions are greater than group permissions",
67-
"Please Input Name": "Please Enter a Name",
67+
"please_input_name": "Please Enter a Name",
6868
"Preview": "Preview",
6969
"Remove": "Remove",
7070
"Rename": "Rename",

packages/web/i18n/zh-CN/common.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Action": "操作",
33
"Add": "添加",
4-
"Add Success": "添加成功",
4+
"add_success": "添加成功",
55
"Add_new_input": "新增输入",
66
"All": "全部",
77
"App": "应用",
@@ -64,7 +64,7 @@
6464
"Parse": "解析",
6565
"Permission": "权限",
6666
"Permission_tip": "个人权限大于群组权限",
67-
"Please Input Name": "请输入名称",
67+
"please_input_name": "请输入名称",
6868
"Preview": "预览",
6969
"Remove": "移除",
7070
"Rename": "重命名",

packages/web/i18n/zh-Hant/common.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Action": "操作",
33
"Add": "新增",
4-
"Add Success": "新增成功",
4+
"add_success": "新增成功",
55
"Add_new_input": "新增輸入",
66
"All": "全部",
77
"App": "應用程式",
@@ -64,7 +64,7 @@
6464
"Parse": "解析",
6565
"Permission": "權限",
6666
"Permission_tip": "個人權限大於群組權限",
67-
"Please Input Name": "請輸入名稱",
67+
"please_input_name": "請輸入名稱",
6868
"Preview": "預覽",
6969
"Remove": "移除",
7070
"Rename": "重新命名",

projects/app/src/components/core/app/InputGuideConfig.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ const LexiconConfigModal = ({ appId, onClose }: { appId: string; onClose: () =>
234234
} else {
235235
toast({
236236
status: 'success',
237-
title: t('common:Add Success')
237+
title: t('common:add_success')
238238
});
239239
}
240240
fetchData(1);

projects/app/src/components/core/app/VariableEdit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ const VariableEdit = ({
147147
onChange(onChangeVariable);
148148
toast({
149149
status: 'success',
150-
title: t('common:Add Success')
150+
title: t('common:add_success')
151151
});
152152
reset({
153153
...addVariable(),

projects/app/src/components/support/permission/MemberManager/MemberModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function MemberModal({
122122
permission: addOnly ? undefined : selectedPermission!
123123
} as UpdateClbPermissionProps<ValueOf<typeof addOnly>>),
124124
{
125-
successToast: t('common:Add Success'),
125+
successToast: t('common:add_success'),
126126
onSuccess() {
127127
onClose();
128128
}

projects/app/src/pageComponents/account/team/EditInfoModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function EditModal({
120120
maxLength={100}
121121
placeholder={t('user:team.Team Name')}
122122
{...register('name', {
123-
required: t('common:Please Input Name')
123+
required: t('common:please_input_name')
124124
})}
125125
/>
126126
</Flex>

projects/app/src/pageComponents/app/detail/Logs/DetailLogsModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const DetailLogsModal = ({ appId, chatId, onClose }: Props) => {
4444
const chatRecords = useContextSelector(ChatRecordContext, (v) => v.chatRecords);
4545
const totalRecordsCount = useContextSelector(ChatRecordContext, (v) => v.totalRecordsCount);
4646

47-
const { data: chat, loading: isFetching } = useRequest2(
47+
const { data: chat } = useRequest2(
4848
async () => {
4949
const res = await getInitChatInfo({ appId, chatId, loadCustomFeedbacks: true });
5050
res.userAvatar = HUMAN_ICON;

0 commit comments

Comments
 (0)