Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
5a8a5684
Unverified
Commit
5a8a5684
authored
Oct 08, 2023
by
ZackYoung
Committed by
GitHub
Oct 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Feature][Web]add_project_position button (#2358)
* add_project_position * add_project_position
parent
9c34c65c
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
74 additions
and
20 deletions
+74
-20
CircleBtn.tsx
dinky-web/src/components/CallBackButton/CircleBtn.tsx
+8
-0
global.ts
dinky-web/src/locales/en-US/global.ts
+1
-0
pages.ts
dinky-web/src/locales/en-US/pages.ts
+1
-0
global.ts
dinky-web/src/locales/zh-CN/global.ts
+1
-0
pages.ts
dinky-web/src/locales/zh-CN/pages.ts
+1
-0
index.tsx
dinky-web/src/pages/DataStudio/HeaderContainer/index.tsx
+18
-8
index.tsx
.../pages/DataStudio/LeftContainer/Project/JobTree/index.tsx
+25
-3
index.tsx
...-web/src/pages/DataStudio/LeftContainer/Project/index.tsx
+2
-0
index.tsx
dinky-web/src/pages/DataStudio/LeftContainer/index.tsx
+6
-5
model.ts
dinky-web/src/pages/DataStudio/model.ts
+1
-0
route.tsx
dinky-web/src/pages/DataStudio/route.tsx
+10
-4
No files found.
dinky-web/src/components/CallBackButton/CircleBtn.tsx
View file @
5a8a5684
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
import
{
Button
}
from
'antd'
;
import
{
Button
}
from
'antd'
;
import
React
from
'react'
;
import
React
from
'react'
;
import
{
TabsItemType
}
from
"@/pages/DataStudio/model"
;
export
type
CircleButtonProps
=
{
export
type
CircleButtonProps
=
{
icon
:
React
.
ReactNode
;
icon
:
React
.
ReactNode
;
...
@@ -26,6 +27,13 @@ export type CircleButtonProps = {
...
@@ -26,6 +27,13 @@ export type CircleButtonProps = {
title
?:
string
;
title
?:
string
;
key
?:
string
;
key
?:
string
;
};
};
export
type
CircleDataStudioButtonProps
=
{
icon
:
React
.
ReactNode
;
loading
?:
boolean
;
onClick
?:
(
panes
:
TabsItemType
[],
activeKey
:
string
)
=>
void
;
title
?:
string
;
key
?:
string
;
};
export
const
CircleBtn
:
React
.
FC
<
CircleButtonProps
>
=
(
props
)
=>
{
export
const
CircleBtn
:
React
.
FC
<
CircleButtonProps
>
=
(
props
)
=>
{
const
{
onClick
,
title
,
icon
,
loading
}
=
props
;
const
{
onClick
,
title
,
icon
,
loading
}
=
props
;
...
...
dinky-web/src/locales/en-US/global.ts
View file @
5a8a5684
...
@@ -53,6 +53,7 @@ export default {
...
@@ -53,6 +53,7 @@ export default {
'button.refresh'
:
'Refresh'
,
'button.refresh'
:
'Refresh'
,
'button.expand-all'
:
'Expand All'
,
'button.expand-all'
:
'Expand All'
,
'button.collapse-all'
:
'Collapse All'
,
'button.collapse-all'
:
'Collapse All'
,
'button.position'
:
'Position'
,
'button.test'
:
'Test'
,
'button.test'
:
'Test'
,
'button.clear'
:
'Clear'
,
'button.clear'
:
'Clear'
,
'button.copy'
:
'Copy'
,
'button.copy'
:
'Copy'
,
...
...
dinky-web/src/locales/en-US/pages.ts
View file @
5a8a5684
...
@@ -309,6 +309,7 @@ export default {
...
@@ -309,6 +309,7 @@ export default {
'pages.datastudio.editor.stop.job'
:
'Stop job'
,
'pages.datastudio.editor.stop.job'
:
'Stop job'
,
'pages.datastudio.editor.stop.jobConfirm'
:
'Are you sure to stop the job [{jobName}]? '
,
'pages.datastudio.editor.stop.jobConfirm'
:
'Are you sure to stop the job [{jobName}]? '
,
'pages.datastudio.editor.submitting'
:
'The new task [{jobName}] is executing'
,
'pages.datastudio.editor.submitting'
:
'The new task [{jobName}] is executing'
,
'pages.datastudio.to.jobDetail'
:
'Go to Job Detail'
,
'pages.datastudio.explain.validate'
:
'Validating...'
,
'pages.datastudio.explain.validate'
:
'Validating...'
,
'pages.datastudio.explain.validate.allright'
:
'All Right'
,
'pages.datastudio.explain.validate.allright'
:
'All Right'
,
'pages.datastudio.explain.validate.error'
:
'There are errors, a total of {errorCount}'
,
'pages.datastudio.explain.validate.error'
:
'There are errors, a total of {errorCount}'
,
...
...
dinky-web/src/locales/zh-CN/global.ts
View file @
5a8a5684
...
@@ -55,6 +55,7 @@ export default {
...
@@ -55,6 +55,7 @@ export default {
'button.refresh'
:
'刷新'
,
'button.refresh'
:
'刷新'
,
'button.expand-all'
:
'全部展开'
,
'button.expand-all'
:
'全部展开'
,
'button.collapse-all'
:
'全部折叠'
,
'button.collapse-all'
:
'全部折叠'
,
'button.position'
:
'定位'
,
'button.test'
:
'测试'
,
'button.test'
:
'测试'
,
'button.clear'
:
'清除'
,
'button.clear'
:
'清除'
,
'button.copy'
:
'复制'
,
'button.copy'
:
'复制'
,
...
...
dinky-web/src/locales/zh-CN/pages.ts
View file @
5a8a5684
...
@@ -302,6 +302,7 @@ export default {
...
@@ -302,6 +302,7 @@ export default {
'pages.datastudio.editor.stop.job'
:
'停止作业'
,
'pages.datastudio.editor.stop.job'
:
'停止作业'
,
'pages.datastudio.editor.stop.jobConfirm'
:
'确定停止作业【{jobName}】吗?'
,
'pages.datastudio.editor.stop.jobConfirm'
:
'确定停止作业【{jobName}】吗?'
,
'pages.datastudio.editor.submitting'
:
'新任务【{jobName}】正在执行'
,
'pages.datastudio.editor.submitting'
:
'新任务【{jobName}】正在执行'
,
'pages.datastudio.to.jobDetail'
:
'跳转到作业详情'
,
'pages.datastudio.explain.validate'
:
'正在校验中...'
,
'pages.datastudio.explain.validate'
:
'正在校验中...'
,
'pages.datastudio.explain.validate.allright'
:
'全部正确'
,
'pages.datastudio.explain.validate.allright'
:
'全部正确'
,
'pages.datastudio.explain.validate.error'
:
'存在错误,共计{errorCount}个'
,
'pages.datastudio.explain.validate.error'
:
'存在错误,共计{errorCount}个'
,
...
...
dinky-web/src/pages/DataStudio/HeaderContainer/index.tsx
View file @
5a8a5684
...
@@ -44,13 +44,13 @@ import { SettingConfigKeyEnum } from '@/pages/SettingCenter/GlobalSetting/Settin
...
@@ -44,13 +44,13 @@ import { SettingConfigKeyEnum } from '@/pages/SettingCenter/GlobalSetting/Settin
import
{
handlePutDataJson
}
from
'@/services/BusinessCrud'
;
import
{
handlePutDataJson
}
from
'@/services/BusinessCrud'
;
import
{
BaseConfigProperties
}
from
'@/types/SettingCenter/data'
;
import
{
BaseConfigProperties
}
from
'@/types/SettingCenter/data'
;
import
{
l
}
from
'@/utils/intl'
;
import
{
l
}
from
'@/utils/intl'
;
import
{
connect
}
from
'@@/exports'
;
import
{
connect
,
history
}
from
'@@/exports'
;
import
{
import
{
EnvironmentOutlined
,
EnvironmentOutlined
,
FlagTwoTone
,
FlagTwoTone
,
MoreOutlined
,
MoreOutlined
,
PauseCircleTwoTone
,
PauseCircleTwoTone
,
PlayCircleTwoTone
,
PlayCircleTwoTone
,
RotateRightOutlined
,
SafetyCertificateTwoTone
,
SafetyCertificateTwoTone
,
SaveTwoTone
,
SaveTwoTone
,
SendOutlined
,
SendOutlined
,
...
@@ -256,6 +256,14 @@ const HeaderContainer = (props: any) => {
...
@@ -256,6 +256,14 @@ const HeaderContainer = (props: any) => {
// hotKey: (e: KeyboardEvent) => e.shiftKey && e.key === 'F10',
// hotKey: (e: KeyboardEvent) => e.shiftKey && e.key === 'F10',
// hotKeyDesc: "Shift+F10"
// hotKeyDesc: "Shift+F10"
},
},
{
// flink jobdetail跳转
icon
:
<
RotateRightOutlined
/>,
title
:
l
(
'pages.datastudio.to.jobDetail'
),
click
:
()
=>
history
.
push
(
`/devops/job-detail?id=
${
getCurrentData
(
panes
,
activeKey
)?.
id
}
`),
isShow: (type?: TabsPageType, subType?: string, data?: any) =>
type === TabsPageType.project && data?.jobInstanceId && subType==="flinksql"
},
// {
// {
// // 异步提交按钮
// // 异步提交按钮
// icon: <RocketTwoTone/>,
// icon: <RocketTwoTone/>,
...
@@ -321,12 +329,14 @@ const HeaderContainer = (props: any) => {
...
@@ -321,12 +329,14 @@ const HeaderContainer = (props: any) => {
};
};
const renderHotkey = () => {
const renderHotkey = () => {
document.onkeydown = (e) => {
document.onkeydown = (e) => {
routes
if (getCurrentTab(panes, activeKey)){
.
filter
((
r
)
=>
r
.
hotKey
?.(
e
))
routes
.
forEach
((
r
)
=>
{
.filter((r) => r.hotKey?.(e))
r
.
click
();
.forEach((r) => {
e
.
preventDefault
();
r.click();
});
e.preventDefault();
});
}
};
};
};
};
renderHotkey();
renderHotkey();
...
...
dinky-web/src/pages/DataStudio/LeftContainer/Project/JobTree/index.tsx
View file @
5a8a5684
...
@@ -23,7 +23,7 @@ import {
...
@@ -23,7 +23,7 @@ import {
getLeafKeyList
,
getLeafKeyList
,
getParentKey
getParentKey
}
from
'@/pages/DataStudio/LeftContainer/Project/function'
;
}
from
'@/pages/DataStudio/LeftContainer/Project/function'
;
import
{
StateType
}
from
'@/pages/DataStudio/model'
;
import
{
StateType
,
TabsItemType
}
from
'@/pages/DataStudio/model'
;
import
{
BtnRoute
}
from
'@/pages/DataStudio/route'
;
import
{
BtnRoute
}
from
'@/pages/DataStudio/route'
;
import
{
l
}
from
'@/utils/intl'
;
import
{
l
}
from
'@/utils/intl'
;
import
{
connect
}
from
'@@/exports'
;
import
{
connect
}
from
'@@/exports'
;
...
@@ -31,6 +31,7 @@ import { Key } from '@ant-design/pro-components';
...
@@ -31,6 +31,7 @@ import { Key } from '@ant-design/pro-components';
import
{
Empty
,
Tree
}
from
'antd'
;
import
{
Empty
,
Tree
}
from
'antd'
;
import
Search
from
'antd/es/input/Search'
;
import
Search
from
'antd/es/input/Search'
;
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
{
getCurrentData
,
getCurrentTab
}
from
"@/pages/DataStudio/function"
;
const
{
DirectoryTree
}
=
Tree
;
const
{
DirectoryTree
}
=
Tree
;
...
@@ -45,7 +46,8 @@ type TreeProps = {
...
@@ -45,7 +46,8 @@ type TreeProps = {
};
};
const
JobTree
:
React
.
FC
<
TreeProps
&
connect
>
=
(
props
)
=>
{
const
JobTree
:
React
.
FC
<
TreeProps
&
connect
>
=
(
props
)
=>
{
const
{
projectData
,
onNodeClick
,
style
,
height
,
onRightClick
,
selectedKeys
}
=
props
;
const
{
projectData
,
onNodeClick
,
style
,
height
,
onRightClick
}
=
props
;
const
[
searchValue
,
setSearchValueValue
]
=
useState
(
''
);
const
[
searchValue
,
setSearchValueValue
]
=
useState
(
''
);
const
[
data
,
setData
]
=
useState
<
any
[]
>
(
buildProjectTree
(
projectData
,
searchValue
));
const
[
data
,
setData
]
=
useState
<
any
[]
>
(
buildProjectTree
(
projectData
,
searchValue
));
...
@@ -55,6 +57,7 @@ const JobTree: React.FC<TreeProps & connect> = (props) => {
...
@@ -55,6 +57,7 @@ const JobTree: React.FC<TreeProps & connect> = (props) => {
const
[
expandedKeys
,
setExpandedKeys
]
=
useState
<
Key
[]
>
();
const
[
expandedKeys
,
setExpandedKeys
]
=
useState
<
Key
[]
>
();
const
[
autoExpandParent
,
setAutoExpandParent
]
=
useState
(
true
);
const
[
autoExpandParent
,
setAutoExpandParent
]
=
useState
(
true
);
const
[
selectedKeys
,
setSelectedKeys
]
=
useState
(
props
.
selectedKeys
);
const
onChangeSearch
=
(
e
:
any
)
=>
{
const
onChangeSearch
=
(
e
:
any
)
=>
{
let
{
value
}
=
e
.
target
;
let
{
value
}
=
e
.
target
;
...
@@ -86,11 +89,30 @@ const JobTree: React.FC<TreeProps & connect> = (props) => {
...
@@ -86,11 +89,30 @@ const JobTree: React.FC<TreeProps & connect> = (props) => {
setExpandedKeys
(
getLeafKeyList
(
projectData
));
setExpandedKeys
(
getLeafKeyList
(
projectData
));
};
};
const
btn
=
BtnRoute
[
'menu.datastudio.project'
];
const
btn
=
BtnRoute
[
'menu.datastudio.project'
];
const
positionKey
=
(
panes
:
TabsItemType
[],
activeKey
:
string
)
=>
{
const
treeKey
=
getCurrentTab
(
panes
,
activeKey
)?.
treeKey
;
if
(
treeKey
){
const
expandList
:
any
[]
=
generateList
(
data
,
[]);
let
expandedKeys
:
any
=
expandList
.
map
((
item
:
any
)
=>
{
if
(
item
?.
key
==
treeKey
)
{
return
getParentKey
(
item
.
key
,
data
);
}
return
null
;
})
.
filter
((
item
:
any
,
i
:
number
,
self
:
any
)
=>
item
&&
self
.
indexOf
(
item
)
===
i
);
setExpandedKeys
(
expandedKeys
);
setAutoExpandParent
(
true
);
setSelectedKeys
([
treeKey
])
}
}
btn
[
1
].
onClick
=
expandAll
;
btn
[
1
].
onClick
=
expandAll
;
btn
[
2
].
onClick
=
()
=>
setExpandedKeys
([]);
btn
[
2
].
onClick
=
()
=>
setExpandedKeys
([]);
btn
[
3
].
onClick
=
positionKey
;
return
(
return
(
<>
<>
...
@@ -125,5 +147,5 @@ const JobTree: React.FC<TreeProps & connect> = (props) => {
...
@@ -125,5 +147,5 @@ const JobTree: React.FC<TreeProps & connect> = (props) => {
export
default
connect
(({
Studio
}:
{
Studio
:
StateType
})
=>
({
export
default
connect
(({
Studio
}:
{
Studio
:
StateType
})
=>
({
height
:
Studio
.
toolContentHeight
,
height
:
Studio
.
toolContentHeight
,
projectData
:
Studio
.
project
.
data
projectData
:
Studio
.
project
.
data
,
}))(
JobTree
);
}))(
JobTree
);
dinky-web/src/pages/DataStudio/LeftContainer/Project/index.tsx
View file @
5a8a5684
...
@@ -42,6 +42,7 @@ import { Modal, Typography } from 'antd';
...
@@ -42,6 +42,7 @@ import { Modal, Typography } from 'antd';
import
{
MenuInfo
}
from
'rc-menu/es/interface'
;
import
{
MenuInfo
}
from
'rc-menu/es/interface'
;
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
{
connect
}
from
'umi'
;
import
{
connect
}
from
'umi'
;
import
{
BtnRoute
}
from
"@/pages/DataStudio/route"
;
const
{
Text
}
=
Typography
;
const
{
Text
}
=
Typography
;
...
@@ -115,6 +116,7 @@ const Project: React.FC = (props: connect) => {
...
@@ -115,6 +116,7 @@ const Project: React.FC = (props: connect) => {
payload
:
{
payload
:
{
icon
:
type
,
icon
:
type
,
id
:
parentId
+
name
,
id
:
parentId
+
name
,
treeKey
:
key
,
breadcrumbLabel
:
path
.
join
(
'/'
),
breadcrumbLabel
:
path
.
join
(
'/'
),
label
:
name
,
label
:
name
,
params
:
{
params
:
{
...
...
dinky-web/src/pages/DataStudio/LeftContainer/index.tsx
View file @
5a8a5684
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
*
*
*/
*/
import
{
CircleBtn
,
CircleButtonProps
}
from
'@/components/CallBackButton/CircleBtn'
;
import
{
CircleBtn
,
CircleButtonProps
,
CircleDataStudioButtonProps
}
from
'@/components/CallBackButton/CircleBtn'
;
import
MovableSidebar
,
{
MovableSidebarProps
}
from
'@/components/Sidebar/MovableSidebar'
;
import
MovableSidebar
,
{
MovableSidebarProps
}
from
'@/components/Sidebar/MovableSidebar'
;
import
useThemeValue
from
'@/hooks/useThemeValue'
;
import
useThemeValue
from
'@/hooks/useThemeValue'
;
import
ProjectTitle
from
'@/pages/DataStudio/LeftContainer/Project/ProjectTitle'
;
import
ProjectTitle
from
'@/pages/DataStudio/LeftContainer/Project/ProjectTitle'
;
...
@@ -31,7 +31,7 @@ export type LeftContainerProps = {
...
@@ -31,7 +31,7 @@ export type LeftContainerProps = {
size
:
number
;
size
:
number
;
};
};
const
LeftContainer
:
React
.
FC
<
LeftContainerProps
>
=
(
props
:
any
)
=>
{
const
LeftContainer
:
React
.
FC
<
LeftContainerProps
>
=
(
props
:
any
)
=>
{
const
{
dispatch
,
size
,
toolContentHeight
,
leftContainer
,
rightContainer
}
=
props
;
const
{
dispatch
,
size
,
toolContentHeight
,
leftContainer
,
rightContainer
,
tabs
:
{
panes
,
activeKey
}
}
=
props
;
const
themeValue
=
useThemeValue
();
const
themeValue
=
useThemeValue
();
const
MAX_WIDTH
=
size
.
width
-
2
*
VIEW
.
leftToolWidth
-
rightContainer
.
width
-
700
;
const
MAX_WIDTH
=
size
.
width
-
2
*
VIEW
.
leftToolWidth
-
rightContainer
.
width
-
700
;
...
@@ -80,8 +80,8 @@ const LeftContainer: React.FC<LeftContainerProps> = (props: any) => {
...
@@ -80,8 +80,8 @@ const LeftContainer: React.FC<LeftContainerProps> = (props: any) => {
maxWidth
:
MAX_WIDTH
,
maxWidth
:
MAX_WIDTH
,
enable
:
{
right
:
true
},
enable
:
{
right
:
true
},
btnGroup
:
BtnRoute
[
leftContainer
.
selectKey
]
btnGroup
:
BtnRoute
[
leftContainer
.
selectKey
]
?
BtnRoute
[
leftContainer
.
selectKey
].
map
((
item
:
CircleButtonProps
)
=>
(
?
BtnRoute
[
leftContainer
.
selectKey
].
map
((
item
:
Circle
DataStudio
ButtonProps
)
=>
(
<
CircleBtn
title=
{
item
.
title
}
icon=
{
item
.
icon
}
onClick=
{
item
.
onClick
}
key=
{
item
.
title
}
/>
<
CircleBtn
title=
{
item
.
title
}
icon=
{
item
.
icon
}
onClick=
{
()
=>
item
.
onClick
?.(
panes
,
activeKey
)
}
key=
{
item
.
title
}
/>
))
))
:
[],
:
[],
style
:
{
borderInlineEnd
:
`1px solid
${
themeValue
.
borderColor
}
`
}
style
:
{
borderInlineEnd
:
`1px solid
${
themeValue
.
borderColor
}
`
}
...
@@ -102,5 +102,6 @@ const LeftContainer: React.FC<LeftContainerProps> = (props: any) => {
...
@@ -102,5 +102,6 @@ const LeftContainer: React.FC<LeftContainerProps> = (props: any) => {
export
default
connect
(({
Studio
}:
{
Studio
:
StateType
})
=>
({
export
default
connect
(({
Studio
}:
{
Studio
:
StateType
})
=>
({
leftContainer
:
Studio
.
leftContainer
,
leftContainer
:
Studio
.
leftContainer
,
rightContainer
:
Studio
.
rightContainer
,
rightContainer
:
Studio
.
rightContainer
,
toolContentHeight
:
Studio
.
toolContentHeight
toolContentHeight
:
Studio
.
toolContentHeight
,
tabs
:
Studio
.
tabs
}))(
LeftContainer
);
}))(
LeftContainer
);
dinky-web/src/pages/DataStudio/model.ts
View file @
5a8a5684
...
@@ -130,6 +130,7 @@ export interface TabsItemType {
...
@@ -130,6 +130,7 @@ export interface TabsItemType {
type
:
TabsPageType
;
type
:
TabsPageType
;
subType
?:
TabsPageSubType
;
subType
?:
TabsPageSubType
;
key
:
string
;
key
:
string
;
treeKey
:
string
;
value
:
string
;
value
:
string
;
icon
:
any
;
icon
:
any
;
closable
:
boolean
;
closable
:
boolean
;
...
...
dinky-web/src/pages/DataStudio/route.tsx
View file @
5a8a5684
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
*
*
*/
*/
import
{
CircleButtonProps
}
from
'@/components/CallBackButton/CircleBtn'
;
import
{
CircleButtonProps
,
CircleDataStudioButtonProps
}
from
'@/components/CallBackButton/CircleBtn'
;
import
Console
from
'@/pages/DataStudio/BottomContainer/Console'
;
import
Console
from
'@/pages/DataStudio/BottomContainer/Console'
;
import
Result
from
'@/pages/DataStudio/BottomContainer/Result'
;
import
Result
from
'@/pages/DataStudio/BottomContainer/Result'
;
import
TableData
from
'@/pages/DataStudio/BottomContainer/TableData'
;
import
TableData
from
'@/pages/DataStudio/BottomContainer/TableData'
;
...
@@ -37,9 +37,9 @@ import {
...
@@ -37,9 +37,9 @@ import {
CalendarOutlined
,
CalendarOutlined
,
ConsoleSqlOutlined
,
ConsoleSqlOutlined
,
DatabaseOutlined
,
DatabaseOutlined
,
DesktopOutlined
,
DesktopOutlined
,
EnvironmentOutlined
,
FolderOutlined
,
FolderOutlined
,
HistoryOutlined
,
HistoryOutlined
,
HolderOutlined
,
InfoCircleOutlined
,
InfoCircleOutlined
,
MonitorOutlined
,
MonitorOutlined
,
PlayCircleOutlined
,
PlayCircleOutlined
,
...
@@ -241,7 +241,7 @@ export const LeftBottomMoreTabs: { [c: string]: TabProp[] } = {
...
@@ -241,7 +241,7 @@ export const LeftBottomMoreTabs: { [c: string]: TabProp[] } = {
};
};
// btn route
// btn route
export
const
BtnRoute
:
{
[
c
:
string
]:
CircleButtonProps
[]
}
=
{
export
const
BtnRoute
:
{
[
c
:
string
]:
Circle
DataStudio
ButtonProps
[]
}
=
{
'menu.datastudio.metadata'
:
[
'menu.datastudio.metadata'
:
[
{
{
icon
:
<
ReloadOutlined
/>,
icon
:
<
ReloadOutlined
/>,
...
@@ -267,6 +267,12 @@ export const BtnRoute: { [c: string]: CircleButtonProps[] } = {
...
@@ -267,6 +267,12 @@ export const BtnRoute: { [c: string]: CircleButtonProps[] } = {
title
:
l
(
'button.collapse-all'
),
title
:
l
(
'button.collapse-all'
),
key
:
'button.collapse-all'
,
key
:
'button.collapse-all'
,
onClick
:
()
=>
{}
onClick
:
()
=>
{}
},
{
icon
:
<
EnvironmentOutlined
/>,
title
:
l
(
'button.position'
),
key
:
'button.position'
,
onClick
:
()
=>
{}
}
}
]
]
};
};
...
...
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