You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ak...@apache.org on 2020/06/22 16:13:18 UTC
[incubator-pinot] branch master updated: [TE] Enable creating new
application in the Admin page (#5601)
This is an automated email from the ASF dual-hosted git repository.
akshayrai09 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 83c6a2d [TE] Enable creating new application in the Admin page (#5601)
83c6a2d is described below
commit 83c6a2d7ccb2b51624e17f34df5fddae663bb4e2
Author: Xiaohui Sun <xh...@linkedin.com>
AuthorDate: Mon Jun 22 09:13:05 2020 -0700
[TE] Enable creating new application in the Admin page (#5601)
Co-authored-by: Xiaohui Sun <xh...@xhsun-mn1.linkedin.biz>
Add a "Create New" in the entity editor drop down.
This could be used to create a new application.
---
.../thirdeye-pinot/src/main/resources/assets/js/lib/entity-editor.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/thirdeye/thirdeye-pinot/src/main/resources/assets/js/lib/entity-editor.js b/thirdeye/thirdeye-pinot/src/main/resources/assets/js/lib/entity-editor.js
index adb2f12..675353e 100644
--- a/thirdeye/thirdeye-pinot/src/main/resources/assets/js/lib/entity-editor.js
+++ b/thirdeye/thirdeye-pinot/src/main/resources/assets/js/lib/entity-editor.js
@@ -28,6 +28,7 @@ function renderEntitySelector() {
getData("/thirdeye/entity/" + entityType, "admin").done(function (data) {
entityData = data;
var select = "<option value='select'>Select</option>";
+ select += "<option> Create New </option>";
for (var i in data) {
select += "<option value='" + data[i].id + "'>" + buildNameForEntity(data[i], entityType)
+ "</option>";
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org