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
c24029bf
Commit
c24029bf
authored
5 years ago
by
gutkaBinit
Committed by
kevalbhatt
5 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3273 UI : Lineage Increase double click time
Signed-off-by:
kevalbhatt
<
kbhatt@apache.org
>
parent
cad4f87f
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
LineageLayoutView.js
dashboardv2/public/js/views/graph/LineageLayoutView.js
+14
-7
No files found.
dashboardv2/public/js/views/graph/LineageLayoutView.js
View file @
c24029bf
...
...
@@ -774,11 +774,18 @@ define(['require',
clearTimeout
(
waitForDoubleClick
)
waitForDoubleClick
=
null
;
tooltip
.
hide
(
d
);
Utils
.
setUrl
({
url
:
'#!/detailPage/'
+
d
+
'?tabActive=lineage'
,
mergeBrowserUrl
:
false
,
trigger
:
true
});
if
(
that
.
guid
==
d
)
{
Utils
.
notifyInfo
({
html
:
true
,
content
:
"You are already on "
+
"<b>"
+
that
.
entityName
+
"</b> detail page."
});
}
else
{
Utils
.
setUrl
({
url
:
'#!/detailPage/'
+
d
+
'?tabActive=lineage'
,
mergeBrowserUrl
:
false
,
trigger
:
true
});
}
}
else
{
var
currentEvent
=
d3
.
event
waitForDoubleClick
=
setTimeout
(
function
()
{
...
...
@@ -787,7 +794,7 @@ define(['require',
$
(
el
).
find
(
'circle'
).
addClass
(
'node-detail-highlight'
);
that
.
updateRelationshipDetails
({
guid
:
d
});
waitForDoubleClick
=
null
;
},
1
5
0
)
},
1
7
0
)
}
});
...
...
@@ -1011,7 +1018,7 @@ define(['require',
try
{
var
a
=
document
.
createElement
(
"a"
),
entityAttributes
=
that
.
entity
&&
that
.
entity
.
attributes
;
a
.
download
=
((
entityAttributes
&&
entityAttributes
.
qualifiedName
)
||
"lineage_export"
)
+
".png"
;
a
.
download
=
((
entityAttributes
&&
(
entityAttributes
.
qualifiedName
||
entityAttributes
.
name
)
||
"lineage_export"
)
+
".png"
)
;
document
.
body
.
appendChild
(
a
);
ctx
.
drawImage
(
img
,
50
,
50
,
canvas
.
width
,
canvas
.
height
);
canvas
.
toBlob
(
function
(
blob
)
{
...
...
This diff is collapsed.
Click to expand it.
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