Commit 6148b22a by Suma Shivaprasad

ATLAS-843 Atlas UI: Feature to search terms in left navigation. (Kalyanikashikar via sumasai)

parent a05f752d
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
--> -->
<div class="form-group">
<select type="text" class="form-control" data-id="searchTermInput" placeholder="Search term"></select>
</div>
<div class="row"> <div class="row">
<button class="btn btn-taxanomyBack btn-atlas" data-id="backTaxanomy"><i class="fa fa-chevron-left"></i> Back</button> <button class="btn btn-taxanomyBack btn-atlas" data-id="backTaxanomy"><i class="fa fa-chevron-left"></i> Back</button>
</div> </div>
...@@ -21,8 +24,8 @@ ...@@ -21,8 +24,8 @@
<ul class="taxonomyTree"> <ul class="taxonomyTree">
<div class="contentLoading"></div> <div class="contentLoading"></div>
<li class="children parent" data-id="Parent"></li> <li class="children parent" data-id="Parent"></li>
<li class="chileds parentChiled"> <li class="childs parentChild">
<ul data-id="chiledList"> <ul data-id="childList">
</ul> </ul>
</li> </li>
</ul> </ul>
......
...@@ -75,11 +75,18 @@ define(['require', 'utils/Globals'], function(require, Globals) { ...@@ -75,11 +75,18 @@ define(['require', 'utils/Globals'], function(require, Globals) {
}); });
}; };
Utils.defaultErrorHandler = function(model, error) { Utils.defaultErrorHandler = function(model, error) {
/*require(['views/common/ErrorView', 'App'], function(vError, App) {*/
if (error.status == 401) { if (error.status == 401) {
window.location = 'login.jsp' window.location = 'login.jsp'
} else if (error.status == 419) { } else if (error.status == 419) {
window.location = 'login.jsp' window.location = 'login.jsp'
} else if (error.status == 403) {
var message = "You are not authorized";
if (error.statusText) {
message = JSON.parse(error.statusText).AuthorizationError;
}
Utils.notifyError({
content: message
});
} else if (error.status == "0") { } else if (error.status == "0") {
var diffTime = (new Date().getTime() - prevNetworkErrorTime); var diffTime = (new Date().getTime() - prevNetworkErrorTime);
if (diffTime > 3000) { if (diffTime > 3000) {
...@@ -90,8 +97,6 @@ define(['require', 'utils/Globals'], function(require, Globals) { ...@@ -90,8 +97,6 @@ define(['require', 'utils/Globals'], function(require, Globals) {
}); });
} }
} }
/*});*/
}; };
Utils.localStorage = { Utils.localStorage = {
......
...@@ -22,6 +22,7 @@ ATLAS-409 Atlas will not import avro tables with schema read from a file (dosset ...@@ -22,6 +22,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-843 Atlas UI: Feature to search terms in left navigation. (Kalyanikashikar via sumasai)
ATLAS-731 Remove dashboard module in Atlas, replaced by dashboardv2 (kevalbhatt18 via sumasai) ATLAS-731 Remove dashboard module in Atlas, replaced by dashboardv2 (kevalbhatt18 via sumasai)
ATLAS-664 UI: Add Support for Versioning / History (Kalyanikashikar via yhemanth) ATLAS-664 UI: Add Support for Versioning / History (Kalyanikashikar via yhemanth)
ATLAS-833 Make default build profile for External HBase and Solr (tbeerbower via yhemanth) ATLAS-833 Make default build profile for External HBase and Solr (tbeerbower via yhemanth)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment