Skip to content

[Zeppelin-1276] Fix Notebook Title Input#1273

Closed
corneadoug wants to merge 4 commits intoapache:masterfrom
corneadoug:ZEPPELIN-1276
Closed

[Zeppelin-1276] Fix Notebook Title Input#1273
corneadoug wants to merge 4 commits intoapache:masterfrom
corneadoug:ZEPPELIN-1276

Conversation

@corneadoug
Copy link
Contributor

What is this PR for?

The Notebook Title Input would not disappear after being edited.
This is a problem made by its plugin elastic-input.
We originally used ng-if instead of ng-show so it doesn't break the Page Print, however that change made the scope value to toggle unusable.
So we added a trustworthy small controller on top of the component.

What type of PR is it?

Bug Fix

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-1276

How should this be tested?

  • Click on the Notebook title
  • Try to do: Enter or Esc or Click somewhere else
  • The Input border should not be there anymore
  • Do the same for the Paragraph
  • If you do Print Page there shouldn't any titles duplicated at the top

Questions:

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

@bzz
Copy link
Member

bzz commented Aug 3, 2016

Tried locally and renaming notebook works now as expected.

Looks great to me. Let's merge to masted, if there is no further discussion

@corneadoug
Copy link
Contributor Author

Trigger CI again

@corneadoug corneadoug closed this Aug 4, 2016
@corneadoug corneadoug reopened this Aug 4, 2016
@corneadoug
Copy link
Contributor Author

Alright, CI is mainly green now. Only one Build Profile failing on Spark.
Merging if there is no more discussions

@asfgit asfgit closed this in 6773d04 Aug 5, 2016
@corneadoug corneadoug deleted the ZEPPELIN-1276 branch August 5, 2016 04:02
PhilippGrulich pushed a commit to SWC-SENSE/zeppelin that referenced this pull request Aug 8, 2016
### What is this PR for?
The Notebook Title Input would not disappear after being edited.
This is a problem made by its plugin elastic-input.
We originally used ng-if instead of ng-show so it doesn't break the Page Print, however that change made the scope value to toggle unusable.
So we added a trustworthy small controller on top of the component.

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

### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1276

### How should this be tested?
* Click on the Notebook title
* Try to do: Enter or Esc or Click somewhere else
* The Input border should not be there anymore
* Do the same for the Paragraph
* If you do Print Page there shouldn't any titles duplicated at the top

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

Author: Damien CORNEAU <corneadoug@gmail.com>

Closes apache#1273 from corneadoug/ZEPPELIN-1276 and squashes the following commits:

7d32090 [Damien CORNEAU] Remove a test that check the showEditor in NotebookCtrl
24df51f [Damien CORNEAU] Fix eslint errors
d590d82 [Damien CORNEAU] apply same input changes to the paragraph
b862081 [Damien CORNEAU] Fix Notebook input issue
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.

2 participants