Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
7902fcaf
authored
May 24, 2026
by
Archer
Committed by
GitHub
May 24, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Package (#6973)
* perf: deploy * doc * default editor size
parent
f33c80a6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
deploy/init.mjs
+1
-1
projects/app/src/pageComponents/chat/SandboxEditor/Editor.tsx
+2
-2
projects/app/src/pageComponents/chat/SandboxEditor/modal.tsx
+1
-2
No files found.
deploy/init.mjs
View file @
7902fcaf
...
@@ -58,7 +58,7 @@ const loadDeployVersions = async () => {
...
@@ -58,7 +58,7 @@ const loadDeployVersions = async () => {
return
versions
.
sort
((
a
,
b
)
=>
{
return
versions
.
sort
((
a
,
b
)
=>
{
if
(
a
===
'main'
)
return
1
;
if
(
a
===
'main'
)
return
1
;
if
(
b
===
'main'
)
return
-
1
;
if
(
b
===
'main'
)
return
-
1
;
return
a
.
localeCompare
(
b
,
undefined
,
{
numeric
:
true
});
return
b
.
localeCompare
(
a
,
undefined
,
{
numeric
:
true
});
});
});
};
};
...
...
projects/app/src/pageComponents/chat/SandboxEditor/Editor.tsx
View file @
7902fcaf
...
@@ -16,8 +16,8 @@ import { useSandboxFileStore } from './hook';
...
@@ -16,8 +16,8 @@ import { useSandboxFileStore } from './hook';
type
EditorInstance
=
Parameters
<
NonNullable
<
Parameters
<
typeof
Editor
>
[
0
][
'onMount'
]
>>
[
0
];
type
EditorInstance
=
Parameters
<
NonNullable
<
Parameters
<
typeof
Editor
>
[
0
][
'onMount'
]
>>
[
0
];
const
FILE_TREE_DEFAULT_WIDTH
=
2
5
0
;
const
FILE_TREE_DEFAULT_WIDTH
=
2
3
0
;
const
FILE_TREE_MIN_WIDTH
=
2
5
0
;
const
FILE_TREE_MIN_WIDTH
=
2
3
0
;
const
FILE_TREE_MAX_WIDTH
=
600
;
const
FILE_TREE_MAX_WIDTH
=
600
;
const
EDITOR_MIN_WIDTH
=
360
;
const
EDITOR_MIN_WIDTH
=
360
;
...
...
projects/app/src/pageComponents/chat/SandboxEditor/modal.tsx
View file @
7902fcaf
...
@@ -18,8 +18,7 @@ const SandboxEditorModal = ({ onClose, ...props }: Props) => {
...
@@ -18,8 +18,7 @@ const SandboxEditorModal = ({ onClose, ...props }: Props) => {
onClose=
{
onClose
}
onClose=
{
onClose
}
title=
{
t
(
'chat:sandbox_files'
)
}
title=
{
t
(
'chat:sandbox_files'
)
}
isCentered
isCentered
maxW=
{
[
'90vw'
,
'1150px'
]
}
size=
"lg"
w=
{
'100%'
}
h=
{
'85vh'
}
h=
{
'85vh'
}
closeOnOverlayClick=
{
false
}
closeOnOverlayClick=
{
false
}
>
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment