-
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-1309] Show checkbox for "Connect to existing process" on interpreter menu. #1229
Conversation
Looks good to me. Merging if there is no further discussion |
<span class="input-group"> | ||
<label><input type="checkbox" style="width:0%;height:0%" id="isExistingProcess" ng-model="setting.option.isExistingProcess" ng-disabled="!valueform.$visible"/> | ||
<span class="input-group" style="line-height:30px;"> | ||
<label><input type="checkbox" style="width:10%;height:70%" id="isExistingProcess" ng-model="setting.option.isExistingProcess" ng-disabled="!valueform.$visible"/> |
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.
The whole style (width and height), can actually be removed from here
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.
Thanks for giving your advice.
You mean the style="line-height:30px;"
can be removed?
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.
No this one is needed.
On the line under style="width:10%;height:70%"
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.
re-trigger CI |
re-trigger CI |
<span class="input-group"> | ||
<label><input type="checkbox" style="width:0%;height:0%" id="isExistingProcess" ng-model="setting.option.isExistingProcess" ng-disabled="!valueform.$visible"/> | ||
<span class="input-group" style="line-height:30px;"> | ||
<label><input type="checkbox" style="width:10%" id="isExistingProcess" ng-model="setting.option.isExistingProcess" ng-disabled="!valueform.$visible"/> |
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.
Why leaving width here?
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.
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.
Seems to be a Firefox only bug. Let's replace 10% by 20px then.
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.
I fixed. Thank you!
LGTM |
Merging if there is no more discussions |
…er menu. This PR fixes a bug of showing checkbox for "Connect to existing process" on interpreter menu. Bug Fix Go to interpreter menu and check if checkbox for "Connect to existing process" exists. - before ![image](https://cloud.githubusercontent.com/assets/3348133/17141824/aa316672-5388-11e6-952d-50a3769a01a5.png) - after ![image](https://cloud.githubusercontent.com/assets/3348133/17141840/babfad8c-5388-11e6-9209-e37e252e95b4.png) * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: astroshim <hsshim@nflabs.com> Closes #1229 from astroshim/bugfix/showCheckbox and squashes the following commits: 4b3673a [astroshim] add css to interpreter-create page 17fb0d7 [astroshim] change size to px 47ce719 [astroshim] remove height style on the checkbox bbc3283 [astroshim] show checkbox on interpreter menu. (cherry picked from commit 55695c9) Signed-off-by: Damien CORNEAU <corneadoug@gmail.com>
Merged in Master and branch-0.6 |
@astroshim Was there a JIRA issue? |
…er menu. ### What is this PR for? This PR fixes a bug of showing checkbox for "Connect to existing process" on interpreter menu. ### What type of PR is it? Bug Fix ### How should this be tested? Go to interpreter menu and check if checkbox for "Connect to existing process" exists. ### Screenshots (if appropriate) - before ![image](https://cloud.githubusercontent.com/assets/3348133/17141824/aa316672-5388-11e6-952d-50a3769a01a5.png) - after ![image](https://cloud.githubusercontent.com/assets/3348133/17141840/babfad8c-5388-11e6-9209-e37e252e95b4.png) ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: astroshim <hsshim@nflabs.com> Closes apache#1229 from astroshim/bugfix/showCheckbox and squashes the following commits: 4b3673a [astroshim] add css to interpreter-create page 17fb0d7 [astroshim] change size to px 47ce719 [astroshim] remove height style on the checkbox bbc3283 [astroshim] show checkbox on interpreter menu.
@astroshim Can you create a JIRA issue for this, or point me to the existing one? |
okay I'll make it. |
What is this PR for?
This PR fixes a bug of showing checkbox for "Connect to existing process" on interpreter menu.
What type of PR is it?
Bug Fix
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1309
How should this be tested?
Go to interpreter menu and check if checkbox for "Connect to existing process" exists.
Screenshots (if appropriate)
Questions: