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
6ec94374
Commit
6ec94374
authored
9 years ago
by
Shwetha GS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-388 UI : On creating Tag, the page to be reset for creating new Tag (Anilg via shwethags)
parent
6c06fd0a
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
5 deletions
+18
-5
common.css
dashboard/public/css/common.css
+5
-0
notifications.html
...oard/public/modules/notification/views/notifications.html
+1
-1
definitionTagsController.js
...ublic/modules/tags/definition/definitionTagsController.js
+9
-2
add.html
dashboard/public/modules/tags/definition/views/add.html
+2
-2
release-log.txt
release-log.txt
+1
-0
No files found.
dashboard/public/css/common.css
View file @
6ec94374
...
...
@@ -375,4 +375,8 @@ Tags on Home Page design
.graph
{
overflow
:
hidden
!important
;
}
.notifier
{
margin-right
:
15px
;
margin-left
:
-15px
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
dashboard/public/modules/notification/views/notifications.html
View file @
6ec94374
...
...
@@ -17,7 +17,7 @@
-->
<div
class=
"container"
data-ng-controller=
"NotificationController"
>
<alert
data-ng-repeat=
"notification in getNotifications()"
data-type=
"{{notification.type}}"
data-close=
"close(notification)"
>
<alert
data-ng-repeat=
"notification in getNotifications()"
data-type=
"{{notification.type}}"
data-close=
"close(notification)"
class=
"notifier"
>
{{notification.message}}
</alert>
</div>
This diff is collapsed.
Click to expand it.
dashboard/public/modules/tags/definition/definitionTagsController.js
View file @
6ec94374
...
...
@@ -27,9 +27,9 @@ angular.module('dgc.tags.definition').controller('DefinitionTagsController', ['$
attributeDefinitions
:
[]
};
$scope
.
typesList
=
NavigationResource
.
get
();
$scope
.
newtagModel
=
angular
.
copy
(
$scope
.
tagModel
);
$scope
.
addAttribute
=
function
AddAttribute
()
{
$scope
.
tagModel
.
attributeDefinitions
.
push
(
AttributeDefinition
.
getModel
());
$scope
.
tagModel
.
attributeDefinitions
.
push
(
AttributeDefinition
.
getModel
());
};
$scope
.
removeAttribute
=
function
(
index
)
{
...
...
@@ -40,6 +40,11 @@ angular.module('dgc.tags.definition').controller('DefinitionTagsController', ['$
$scope
.
categoryInst
=
Categories
[
$scope
.
category
].
clearTags
();
};
$scope
.
reset
=
function
(){
$scope
.
tagModel
=
angular
.
copy
(
$scope
.
newtagModel
);
$scope
.
selectedParent
=
undefined
;
};
$scope
.
refreshTags
=
function
(){
var
httpDefaultCache
=
$cacheFactory
.
get
(
'$http'
);
httpDefaultCache
.
remove
(
'/api/atlas/types?type=TRAIT'
);
...
...
@@ -61,6 +66,8 @@ angular.module('dgc.tags.definition').controller('DefinitionTagsController', ['$
NotificationService
.
info
(
'"'
+
$scope
.
tagModel
.
typeName
+
'" has been created'
,
false
);
var
httpDefaultCache
=
$cacheFactory
.
get
(
'$http'
);
httpDefaultCache
.
remove
(
'/api/atlas/types?type=TRAIT'
);
$scope
.
typesList
=
NavigationResource
.
get
();
$scope
.
reset
();
}).
catch
(
function
TagCreateFailed
(
error
)
{
NotificationService
.
error
(
error
.
data
.
error
,
false
);
}).
finally
(
function
()
{
...
...
This diff is collapsed.
Click to expand it.
dashboard/public/modules/tags/definition/views/add.html
View file @
6ec94374
...
...
@@ -32,7 +32,7 @@
</select>
</div>
</div>
<div
class=
"form-group"
data-ng-class=
"{'has-error': tagForm.typeName.$invalid && tagForm.typeName.$dirty}"
>
<div
class=
"form-group"
>
<label
for=
"typeName"
class=
"col-sm-2 control-label"
>
Tag Name
</label>
<div
class=
"col-sm-10"
>
...
...
@@ -53,7 +53,7 @@
</div>
</div>
<ng-form
name=
"attributeForm"
>
<div
class=
"form-group"
data-ng-class=
"{'has-error': attributeForm.name.$invalid && attributeForm.name.$dirty}"
<div
class=
"form-group"
data-ng-repeat-start=
"attribute in tagModel.attributeDefinitions"
>
<label
for=
"attributeId_{{$index}}"
class=
"col-sm-2 control-label"
>
Attribute name
</label>
...
...
This diff is collapsed.
Click to expand it.
release-log.txt
View file @
6ec94374
...
...
@@ -7,6 +7,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)
ALL CHANGES:
ATLAS-388 UI : On creating Tag, the page to be reset for creating new Tag (Anilg via shwethags)
ATLAS-199 webapp build fails (grunt + tests) (sanjayp via shwethags)
ATLAS-415 Hive import fails when importing a table that is already imported without StorageDescriptor information (yhemanth via shwethags)
ATLAS-450 quick_start fails on cygwin (dkantor via shwethags)
...
...
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