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
6a63f715
Commit
6a63f715
authored
Feb 25, 2016
by
Shwetha GS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-502 UI: Provide the ability to search for tags (anilsg via shwethags)
parent
ecd0f610
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
6 deletions
+39
-6
common.css
dashboard/public/css/common.css
+17
-2
navigationController.js
dashboard/public/modules/navigation/navigationController.js
+10
-0
navigation.html
dashboard/public/modules/navigation/views/navigation.html
+11
-4
release-log.txt
release-log.txt
+1
-0
No files found.
dashboard/public/css/common.css
View file @
6a63f715
...
@@ -349,4 +349,19 @@ Tags on Home Page design
...
@@ -349,4 +349,19 @@ Tags on Home Page design
.notifier
{
.notifier
{
margin-right
:
15px
;
margin-right
:
15px
;
margin-left
:
-15px
;
margin-left
:
-15px
;
}
}
\ No newline at end of file
.main-tags
.list-tag
{
height
:
640px
;
overflow-y
:
scroll
;
}
.filter-tag
{
width
:
95%
;
padding
:
3px
;
margin-left
:
6px
;
margin-top
:
3px
;
margin-bottom
:
3px
;
}
.see-more
{
font-weight
:
bold
;
font-size
:
16px
;
}
\ No newline at end of file
dashboard/public/modules/navigation/navigationController.js
View file @
6a63f715
...
@@ -19,6 +19,8 @@
...
@@ -19,6 +19,8 @@
angular
.
module
(
'dgc.navigation'
).
controller
(
'navigationController'
,
[
'$scope'
,
'navigationResource'
,
'$cacheFactory'
,
'atlasConfig'
,
angular
.
module
(
'dgc.navigation'
).
controller
(
'navigationController'
,
[
'$scope'
,
'navigationResource'
,
'$cacheFactory'
,
'atlasConfig'
,
function
(
$scope
,
navigationResource
,
$cacheFactory
,
atlasConfig
)
{
function
(
$scope
,
navigationResource
,
$cacheFactory
,
atlasConfig
)
{
var
limitIntialCount
=
18
;
$scope
.
intialCount
=
limitIntialCount
;
$scope
.
updateVar
=
function
(
event
)
{
$scope
.
updateVar
=
function
(
event
)
{
$scope
.
$$prevSibling
.
query
=
angular
.
element
(
event
.
target
).
text
();
$scope
.
$$prevSibling
.
query
=
angular
.
element
(
event
.
target
).
text
();
...
@@ -38,7 +40,15 @@ angular.module('dgc.navigation').controller('navigationController', ['$scope', '
...
@@ -38,7 +40,15 @@ angular.module('dgc.navigation').controller('navigationController', ['$scope', '
var
httpDefaultCache
=
$cacheFactory
.
get
(
'$http'
);
var
httpDefaultCache
=
$cacheFactory
.
get
(
'$http'
);
httpDefaultCache
.
remove
(
atlasConfig
.
API_ENDPOINTS
.
TRAITS_LIST
);
httpDefaultCache
.
remove
(
atlasConfig
.
API_ENDPOINTS
.
TRAITS_LIST
);
$scope
.
leftnav
=
navigationResource
.
get
();
$scope
.
leftnav
=
navigationResource
.
get
();
$scope
.
intialCount
=
limitIntialCount
;
};
};
$scope
.
showMore
=
function
(){
$scope
.
intialCount
+=
limitIntialCount
;
};
$scope
.
filterTags
=
function
(){
$scope
.
intialCount
=
limitIntialCount
;
};
}
}
]);
]);
dashboard/public/modules/navigation/views/navigation.html
View file @
6a63f715
...
@@ -19,11 +19,17 @@
...
@@ -19,11 +19,17 @@
<div
data-ng-controller=
"navigationController"
class=
"main-tags leftNavigation"
>
<div
data-ng-controller=
"navigationController"
class=
"main-tags leftNavigation"
>
<div>
<div>
<h4
class=
"pull-left"
>
Tags
</h4>
<h4
class=
"pull-left"
>
Tags
</h4>
<a
href
ng-click=
"refreshTags()"
class=
"pull-right"
>
<img
src=
"../img/refresh.png"
style=
"margin: 5px;"
title=
"Refresh Tags"
></a>
<a
href
ng-click=
"refreshTags()"
class=
"pull-right"
>
</div>
<img
src=
"../img/refresh.png"
style=
"margin: 5px;"
title=
"Refresh Tags"
>
</br>
</a>
<form
ng-submit=
"filterTags()"
>
<input
type=
"text"
class=
"filter-tag"
placeholder=
"Search for Tags…"
ng-model=
"tagFilter"
ng-keydown=
"filterTags()"
>
</input>
<input
type=
"submit"
id=
"submit"
value=
"Submit"
class=
"hide"
/>
</form>
</div>
</br>
</br>
<div
class=
"list-group"
>
<div
class=
"list-group"
>
<a
ng-repeat=
"nav in leftnav"
ui-sref=
"search({ query: nav })"
class=
"list-group-item limit-size"
title=
"{{nav}}"
><i
class=
"fa fa-tag"
></i>
{{nav}}
</a>
<a
ng-repeat=
"nav in filtered = (leftnav | filter:tagFilter | limitTo:intialCount + 1)"
ui-sref=
"search({ query: nav })"
class=
"list-group-item limitSize"
title=
"{{nav}}"
><i
class=
"fa fa-tag"
></i>
{{nav}}
</a>
<a
ng-click=
"showMore()"
class=
"see-more"
ng-class=
"filtered.length > intialCount ? 'show' : 'hide'"
>
Load more ...
</a>
</div>
</div>
</div>
</div>
\ No newline at end of file
release-log.txt
View file @
6a63f715
...
@@ -9,6 +9,7 @@ ATLAS-409 Atlas will not import avro tables with schema read from a file (dosset
...
@@ -9,6 +9,7 @@ ATLAS-409 Atlas will not import avro tables with schema read from a file (dosset
ATLAS-379 Create sqoop and falcon metadata addons (venkatnrangan,bvellanki,sowmyaramesh via shwethags)
ATLAS-379 Create sqoop and falcon metadata addons (venkatnrangan,bvellanki,sowmyaramesh via shwethags)
ALL CHANGES:
ALL CHANGES:
ATLAS-502 UI: Provide the ability to search for tags (anilsg via shwethags)
ATLAS-364 UI Code standardization (darshankumar89 via shwethags)
ATLAS-364 UI Code standardization (darshankumar89 via shwethags)
ATLAS_396 Creating an entity with non-existing type results in "Unable to deserialize json" error (guptaneeru via sumasai)
ATLAS_396 Creating an entity with non-existing type results in "Unable to deserialize json" error (guptaneeru via sumasai)
ATLAS-318 Config file conatining API endpoint + all api calls to be centralized (sanjayp via sumasai)
ATLAS-318 Config file conatining API endpoint + all api calls to be centralized (sanjayp via sumasai)
...
...
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