-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Conversation
@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() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use Angular $timeout
Thank you for reviewing @r-kamath. I've handled it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merging this to master and branch-0.7 if no more discussion. |
On retrying the same build, CI is green now https://travis-ci.org/prabhjyotsingh/zeppelin/builds/204865706 |
There were conflicts, will create a new PR for branch-0.7. |
…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)
…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
…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
…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
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:
After:
Questions: