Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZEPPELIN-2148: On creation of Bar graph zeppelin UI shows it as mini graph #2063

Closed
wants to merge 2 commits into from

Conversation

prabhjyotsingh
Copy link
Contributor

What is this PR for?

On creation of Bar graph zeppelin UI shows it as mini graph, and is easily reproducible on safari.

What type of PR is it?

[Bug Fix]

What is the Jira issue?

How should this be tested?

Check screen shot.

Screenshots (if appropriate)

Before:
zeppelin-2148-before

After:
zeppelin-2148-after

Questions:

  • Does the licenses files need update? N/A
  • Is there breaking changes for older versions? N/A
  • Does this needs documentation? N/A

@prabhjyotsingh
Copy link
Contributor Author

@1ambda @Leemoonsoo Help review this. This fixes the problem, but with a dirty hack.

@@ -267,7 +267,9 @@ function ResultCtrl($scope, $rootScope, $route, $window, $routeParams, $location

$scope.renderDefaultDisplay = function(targetElemId, type, data, refresh) {
if (type === DefaultDisplayType.TABLE) {
$scope.renderGraph(targetElemId, $scope.graphMode, refresh);
setTimeout(function() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use Angular $timeout

@prabhjyotsingh
Copy link
Contributor Author

Thank you for reviewing @r-kamath. I've handled it.

Copy link
Member

@felixcheung felixcheung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@prabhjyotsingh
Copy link
Contributor Author

Merging this to master and branch-0.7 if no more discussion.

@prabhjyotsingh
Copy link
Contributor Author

On retrying the same build, CI is green now https://travis-ci.org/prabhjyotsingh/zeppelin/builds/204865706

@prabhjyotsingh
Copy link
Contributor Author

There were conflicts, will create a new PR for branch-0.7.

prabhjyotsingh added a commit to prabhjyotsingh/zeppelin that referenced this pull request Mar 3, 2017
…graph

### What is this PR for?
On creation of Bar graph zeppelin UI shows it as mini graph, and is easily reproducible on safari.

### What type of PR is it?
[Bug Fix]

### What is the Jira issue?
* [ZEPPELIN-2148](https://issues.apache.org/jira/browse/ZEPPELIN-2148)

### How should this be tested?
Check screen shot.

### Screenshots (if appropriate)
Before:
![zeppelin-2148-before](https://cloud.githubusercontent.com/assets/674497/23291765/b1469780-fa80-11e6-9a13-3ecb6ca275ba.gif)

After:
![zeppelin-2148-after](https://cloud.githubusercontent.com/assets/674497/23291751/9aa39122-fa80-11e6-962e-482e12c4bca5.gif)

### Questions:
* Does the licenses files need update? N/A
* Is there breaking changes for older versions? N/A
* Does this needs documentation? N/A

Author: Prabhjyot Singh <prabhjyotsingh@gmail.com>

Closes apache#2063 from prabhjyotsingh/ZEPPELIN-2148 and squashes the following commits:

bb66897 [Prabhjyot Singh] replace setTimeOut with $timeout
38a1198 [Prabhjyot Singh] ZEPPELIN-2148: On creation of Bar graph zeppelin UI shows it as mini graph (reverted from commit 47a106a)
Remilito pushed a commit to Remilito/zeppelin that referenced this pull request Mar 3, 2017
…graph

### What is this PR for?
On creation of Bar graph zeppelin UI shows it as mini graph, and is easily reproducible on safari.

### What type of PR is it?
[Bug Fix]

### What is the Jira issue?
* [ZEPPELIN-2148](https://issues.apache.org/jira/browse/ZEPPELIN-2148)

### How should this be tested?
Check screen shot.

### Screenshots (if appropriate)
Before:
![zeppelin-2148-before](https://cloud.githubusercontent.com/assets/674497/23291765/b1469780-fa80-11e6-9a13-3ecb6ca275ba.gif)

After:
![zeppelin-2148-after](https://cloud.githubusercontent.com/assets/674497/23291751/9aa39122-fa80-11e6-962e-482e12c4bca5.gif)

### Questions:
* Does the licenses files need update? N/A
* Is there breaking changes for older versions? N/A
* Does this needs documentation? N/A

Author: Prabhjyot Singh <prabhjyotsingh@gmail.com>

Closes apache#2063 from prabhjyotsingh/ZEPPELIN-2148 and squashes the following commits:

bb66897 [Prabhjyot Singh] replace setTimeOut with $timeout
38a1198 [Prabhjyot Singh] ZEPPELIN-2148: On creation of Bar graph zeppelin UI shows it as mini graph
asfgit pushed a commit that referenced this pull request Mar 4, 2017
…raph

### What is this PR for?
This is an extension #2063. Since that had a merge conflict.

### What type of PR is it?
[Bug Fix]

### What is the Jira issue?
* [ZEPPELIN-2148](https://issues.apache.org/jira/browse/ZEPPELIN-2148)

### How should this be tested?
Check screen shot.

### Screenshots (if appropriate)
Before:
![zeppelin-2148-before](https://cloud.githubusercontent.com/assets/674497/23291765/b1469780-fa80-11e6-9a13-3ecb6ca275ba.gif)

After:
![zeppelin-2148-after](https://cloud.githubusercontent.com/assets/674497/23291751/9aa39122-fa80-11e6-962e-482e12c4bca5.gif)

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

Author: Prabhjyot Singh <prabhjyotsingh@gmail.com>

Closes #2074 from prabhjyotsingh/ZEPPELIN-2148_branch-0.7 and squashes the following commits:

dbd5b34 [Prabhjyot Singh] try 2
ca1ea2e [Prabhjyot Singh] ZEPPELIN-2148: On creation of Bar graph zeppelin UI shows it as minigraph
prabhjyotsingh added a commit to prabhjyotsingh/zeppelin that referenced this pull request Mar 7, 2017
…raph

### What is this PR for?
This is an extension apache#2063. Since that had a merge conflict.

### What type of PR is it?
[Bug Fix]

### What is the Jira issue?
* [ZEPPELIN-2148](https://issues.apache.org/jira/browse/ZEPPELIN-2148)

### How should this be tested?
Check screen shot.

### Screenshots (if appropriate)
Before:
![zeppelin-2148-before](https://cloud.githubusercontent.com/assets/674497/23291765/b1469780-fa80-11e6-9a13-3ecb6ca275ba.gif)

After:
![zeppelin-2148-after](https://cloud.githubusercontent.com/assets/674497/23291751/9aa39122-fa80-11e6-962e-482e12c4bca5.gif)

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

Author: Prabhjyot Singh <prabhjyotsingh@gmail.com>

Closes apache#2074 from prabhjyotsingh/ZEPPELIN-2148_branch-0.7 and squashes the following commits:

dbd5b34 [Prabhjyot Singh] try 2
ca1ea2e [Prabhjyot Singh] ZEPPELIN-2148: On creation of Bar graph zeppelin UI shows it as minigraph
@prabhjyotsingh prabhjyotsingh deleted the ZEPPELIN-2148 branch February 25, 2018 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants