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
bc60bac5
Unverified
Commit
bc60bac5
authored
Dec 21, 2023
by
ZackYoung
Committed by
GitHub
Dec 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
optimize_breadcrumbs (#2707)
parent
77e7d840
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
index.tsx
dinky-web/src/components/Flink/FlinkDag/index.tsx
+1
-1
function.tsx
dinky-web/src/pages/DataStudio/HeaderContainer/function.tsx
+1
-1
index.tsx
dinky-web/src/pages/DataStudio/HeaderContainer/index.tsx
+2
-1
No files found.
dinky-web/src/components/Flink/FlinkDag/index.tsx
View file @
bc60bac5
...
@@ -276,7 +276,7 @@ const FlinkDag = (props: DagProps) => {
...
@@ -276,7 +276,7 @@ const FlinkDag = (props: DagProps) => {
{
{
key
:
'1'
,
key
:
'1'
,
label
:
'Detail'
,
label
:
'Detail'
,
children
:
<
p
>
{
currentSelect
?.
getData
().
description
}
</
p
>
children
:
<
div
style=
{
{
whiteSpace
:
"pre"
}
}
>
{
(
currentSelect
?.
getData
().
description
)?.
replaceAll
(
"<br/>"
,
"
\
n"
)
}
</
div
>
},
},
{
{
key
:
'2'
,
key
:
'2'
,
...
...
dinky-web/src/pages/DataStudio/HeaderContainer/function.tsx
View file @
bc60bac5
...
@@ -33,7 +33,7 @@ export const buildBreadcrumbItems = (breadcrumb: string) => {
...
@@ -33,7 +33,7 @@ export const buildBreadcrumbItems = (breadcrumb: string) => {
breadcrumbName
:
title
breadcrumbName
:
title
}));
}));
return
[{
title
:
<
EnvironmentOutlined
/>
},
...
activeBreadcrumbTitleList
]
;
return
activeBreadcrumbTitleList
;
};
};
export
const
projectCommonShow
=
(
type
?:
TabsPageType
)
=>
{
export
const
projectCommonShow
=
(
type
?:
TabsPageType
)
=>
{
...
...
dinky-web/src/pages/DataStudio/HeaderContainer/index.tsx
View file @
bc60bac5
...
@@ -437,7 +437,8 @@ const HeaderContainer = (props: connect) => {
...
@@ -437,7 +437,8 @@ const HeaderContainer = (props: connect) => {
return (
return (
<FlexCenterDiv style={{ width: (size.width - 2 * VIEW.paddingInline) / 2 }}>
<FlexCenterDiv style={{ width: (size.width - 2 * VIEW.paddingInline) / 2 }}>
<Breadcrumb separator={'/'} items={buildBreadcrumbItems(activeBreadcrumbTitle)} />
{/*<Breadcrumb itemRender={(item, params, items, paths)=><span>{item.title}</span>} items={buildBreadcrumbItems(activeBreadcrumbTitle)} />*/}
<EnvironmentOutlined style={{paddingRight:20}}/><Breadcrumb style={{fontSize:12,lineHeight:VIEW.headerHeight+"px"}} separator={'/'} items={buildBreadcrumbItems(activeBreadcrumbTitle)} />
</FlexCenterDiv>
</FlexCenterDiv>
);
);
};
};
...
...
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