Repository: incubator-zeppelin
Updated Branches:
  refs/heads/master bb89b6e0e -> 29dd1f090


[ZEPPELIN-687] Display paragraph id in config dropdown menu

### What is this PR for?
Display paragraph id in the config drop down menu

<em>This is a sub-task of epic **[ZEPPELIN-635]**</em>

### What type of PR is it?
[Improvement]

### Todos
* [ ] - Trivial code review & test

### Is there a relevant Jira issue?
**[ZEPPELIN-687]**

### How should this be tested?
1. `git fetch origin pull/739/head:DisplayParagraphId`
2. `git checkout DisplayParagraphId`
3. `mvn clean package -DskipTests`
4. `bin/zeppelin-daemon.sh restart`
5. Create any note
6. Click on the config drop down menu of any paragraph to see the paragraph id

### Screenshots (if appropriate)
![image](https://cloud.githubusercontent.com/assets/1532977/13231697/70f703fa-d9ab-11e5-8b82-b9daf601622f.png)

### Questions:
* Does the licenses files need update? --> **No**
* Is there breaking changes for older versions? --> **No**
* Does this needs documentation? --> **No**

[ZEPPELIN-687]: https://issues.apache.org/jira/browse/ZEPPELIN-687
[ZEPPELIN-635]: https://issues.apache.org/jira/browse/ZEPPELIN-635

Author: DuyHai DOAN <[email protected]>

Closes #739 from doanduyhai/ZEPPELIN-687 and squashes the following commits:

a2a9db6 [DuyHai DOAN] [ZEPPELIN-687] Display paragraph id in config dropdown 
menu


Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/29dd1f09
Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/29dd1f09
Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/29dd1f09

Branch: refs/heads/master
Commit: 29dd1f090dab8606174badb68ed381e18afe1ca6
Parents: bb89b6e
Author: DuyHai DOAN <[email protected]>
Authored: Mon Feb 22 15:15:54 2016 +0100
Committer: Damien CORNEAU <[email protected]>
Committed: Sat Feb 27 08:07:31 2016 -0800

----------------------------------------------------------------------
 zeppelin-web/src/app/notebook/paragraph/paragraph-control.html | 4 ++++
 zeppelin-web/src/assets/styles/looknfeel/default.css           | 1 +
 2 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/29dd1f09/zeppelin-web/src/app/notebook/paragraph/paragraph-control.html
----------------------------------------------------------------------
diff --git a/zeppelin-web/src/app/notebook/paragraph/paragraph-control.html 
b/zeppelin-web/src/app/notebook/paragraph/paragraph-control.html
index 2ab26b7..c35c4e5 100644
--- a/zeppelin-web/src/app/notebook/paragraph/paragraph-control.html
+++ b/zeppelin-web/src/app/notebook/paragraph/paragraph-control.html
@@ -39,6 +39,10 @@ limitations under the License.
           type="button">
     </span>
     <ul class="dropdown-menu" role="menu" style="width:200px;z-index:1002">
+      <li ng-click="$event.stopPropagation()" 
style="text-align:center;margin-top:4px;">
+        {{paragraph.id}}
+      </li>
+      <li role="separator" class="divider"></li>
       <li>
         <a ng-click="$event.stopPropagation()" class="dropdown"><span 
class="fa fa-arrows-h"></span> Width
           <form style="display:inline; margin-left:5px;">

http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/29dd1f09/zeppelin-web/src/assets/styles/looknfeel/default.css
----------------------------------------------------------------------
diff --git a/zeppelin-web/src/assets/styles/looknfeel/default.css 
b/zeppelin-web/src/assets/styles/looknfeel/default.css
index 78a3bb3..3e0c461 100644
--- a/zeppelin-web/src/assets/styles/looknfeel/default.css
+++ b/zeppelin-web/src/assets/styles/looknfeel/default.css
@@ -32,3 +32,4 @@ body {
   box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.3);
   border-color: white;
 }
+

Reply via email to