Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
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
dataplatform
atlas
Commits
b305ba50
Commit
b305ba50
authored
Dec 16, 2016
by
kevalbhatt
Committed by
Madhan Neethiraj
Dec 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-1395: Lineage improvement for tooltip
Signed-off-by:
Madhan Neethiraj
<
madhan@apache.org
>
parent
edc4786b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
14 deletions
+12
-14
LineageLayoutView.js
dashboardv2/public/js/views/graph/LineageLayoutView.js
+10
-14
release-log.txt
release-log.txt
+2
-0
No files found.
dashboardv2/public/js/views/graph/LineageLayoutView.js
View file @
b305ba50
...
...
@@ -141,20 +141,16 @@ define(['require',
obj
[
'shape'
]
=
"img"
;
obj
[
'typeName'
]
=
relationObj
.
typeName
obj
[
'label'
]
=
relationObj
.
displayText
.
trunc
(
18
);
obj
[
'toolTiplabel'
]
=
relationObj
.
displayText
;
if
(
obj
.
typeName
)
{
var
temp
=
obj
[
'label'
]
+
' ('
+
relationObj
.
typeName
+
')'
;
obj
[
'toolTiplabel'
]
=
temp
obj
[
'label'
]
=
temp
.
trunc
(
18
);
}
obj
[
'toolTipLabel'
]
=
relationObj
.
displayText
;
obj
[
'id'
]
=
relationObj
.
guid
;
obj
[
'queryText'
]
=
relationObj
.
queryText
;
if
(
relationObj
.
status
)
{
obj
[
'status'
]
=
relationObj
.
status
;
}
if
(
that
.
typeMap
&&
that
.
typeMap
[
relationObj
.
typeName
])
{
obj
[
'isProcess'
]
=
_
.
contains
(
that
.
typeMap
[
relationObj
.
typeName
],
"Process"
)
?
true
:
false
;
}
else
{
that
.
typeMap
[
relationObj
.
typeName
]
=
{
fetch
:
true
}
that
.
typeMap
[
relationObj
.
typeName
]
=
{
fetch
:
true
}
;
fetchEntity
(
relationObj
.
typeName
);
}
return
obj
;
...
...
@@ -303,7 +299,10 @@ define(['require',
.
attr
(
'class'
,
'd3-tip'
)
.
html
(
function
(
d
)
{
var
value
=
that
.
g
.
node
(
d
);
var
htmlStr
=
"<h5>Name: <span style='color:#359f89'>"
+
value
.
toolTiplabel
+
"</span></h5> "
;
var
htmlStr
=
"<h5 class='text-center'><span style='color:#359f89'>"
+
value
.
toolTipLabel
+
"</span></h5> "
;
if
(
value
.
typeName
)
{
htmlStr
+=
"<h5 class='text-center'><span>("
+
value
.
typeName
+
")</span></h5> "
;
}
if
(
value
.
queryText
)
{
htmlStr
+=
"<h5>Query: <span style='color:#359f89'>"
+
value
.
queryText
+
"</span></h5> "
;
}
...
...
@@ -318,22 +317,19 @@ define(['require',
//change text postion
svgGroup
.
selectAll
(
"g.nodes g.label"
)
.
attr
(
"transform"
,
"translate(2,-30)"
);
svgGroup
.
selectAll
(
"g.nodes image"
)
.
on
(
'mouseover'
,
function
(
d
)
{
svgGroup
.
selectAll
(
"g.nodes g.node"
)
.
on
(
'mouseenter'
,
function
(
d
)
{
tooltip
.
show
(
d
);
})
.
on
(
'dblclick'
,
function
(
d
)
{
tooltip
.
hide
(
d
);
//var urlForTab = window.location.hash.split('/')[1];
Utils
.
setUrl
({
url
:
'#!/detailPage/'
+
d
,
mergeBrowserUrl
:
false
,
trigger
:
true
});
})
.
on
(
'mouse
out
'
,
function
(
d
)
{
.
on
(
'mouse
leave
'
,
function
(
d
)
{
tooltip
.
hide
(
d
);
});
// Center the graph
...
...
release-log.txt
View file @
b305ba50
...
...
@@ -9,6 +9,8 @@ ATLAS-1060 Add composite indexes for exact match performance improvements for al
ATLAS-1127 Modify creation and modification timestamps to Date instead of Long(sumasai)
ALL CHANGES:
ATLAS-1395 Lineage improvement for tooltip (kevalbhatt via mneethiraj)
ATLAS-1193 UI to create/update entities (Kalyanikashikar via mneethiraj)
ATLAS-1304 Redundant code removal and code simplification (apoorvnaik via mneethiraj)
ATLAS-1345 Enhance search APIs to resolve hierarchical references (apoorvnaik via sumasai)
ATLAS-1287 Subtasks: ATLAS-1288/ATLAS-1289 Integrated V2 API for Lineage,Entity Details,Tag assign to entity,Tags listing,tag create (kevalbhatt)
...
...
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