4.8.12 test (#2994)

* perf: run loop code

* doc

* fix: mulity loop node will error; loop node variables cannot inherit

* back save tip position

* fix: child workflow runtime

* stream connection
This commit is contained in:
Archer
2024-10-25 23:13:53 +08:00
committed by GitHub
parent f89452acdd
commit c722ced68d
12 changed files with 134 additions and 92 deletions

View File

@@ -39,4 +39,6 @@ STORE_LOG_LEVEL=warn
# 安全配置
# 工作流最大运行次数,避免极端的死循环情况
WORKFLOW_MAX_RUN_TIMES=500
WORKFLOW_MAX_RUN_TIMES=500
# 循环最大运行次数,避免极端的死循环情况
WORKFLOW_MAX_LOOP_TIMES=50

View File

@@ -1,6 +1,6 @@
{
"name": "app",
"version": "4.8.11",
"version": "4.8.12",
"private": false,
"scripts": {
"dev": "next dev",

View File

@@ -172,7 +172,11 @@ const MoveModal = ({ moveResourceId, title, server, onConfirm, onClose, moveHint
onClose={onClose}
>
<ModalBody flex={'1 0 0'} overflow={'auto'} minH={'400px'}>
{moveHint && <LightTip text={moveHint} />}
{moveHint && (
<Box mb={1}>
<LightTip text={moveHint} />
</Box>
)}
<RenderList list={folderList} />
</ModalBody>
<ModalFooter>

View File

@@ -34,7 +34,11 @@ const Header = () => {
const { t } = useTranslation();
const { isPc } = useSystem();
const router = useRouter();
const { toast } = useToast();
const { toast: backSaveToast } = useToast({
containerStyle: {
mt: '60px'
}
});
const { appDetail, onSaveApp, currentTab } = useContextSelector(AppContext, (v) => v);
const isV2Workflow = appDetail?.version === 'v2';
@@ -273,7 +277,7 @@ const Header = () => {
await onClickSave({});
onCloseBackConfirm();
onBack();
toast({
backSaveToast({
status: 'success',
title: t('app:saved_success'),
position: 'top-right'