You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by rajarajan-g <gi...@git.apache.org> on 2016/08/10 08:46:03 UTC

[GitHub] zeppelin pull request #1313: [ZEPPELIN-1245] Focus first paragraph after not...

GitHub user rajarajan-g opened a pull request:

    https://github.com/apache/zeppelin/pull/1313

    [ZEPPELIN-1245] Focus first paragraph after notebook creation

    ### What is this PR for?
    Once the notebook is created, cursor should focus on the first paragraph
    
    
    ### What type of PR is it?
    Bug Fix 
    
    ### Todos
    * [ ] - None
    
    ### What is the Jira issue?
     https://issues.apache.org/jira/browse/ZEPPELIN-1245
    
    ### How should this be tested?
    Once the Zeppelin server is started , Create a new notebook
    check if cursor blinks on the first paragraph of the notebook
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rajarajan-g/zeppelin ZEPPELIN-1245

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/1313.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1313
    
----
commit 5875bc8ab5e04849e4f806c433bf32c7449693dc
Author: rajarajan-g <ra...@imaginea.com>
Date:   2016-08-10T08:41:12Z

    fix for ZEPPELIN-1245

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1313: [ZEPPELIN-1245] Focus first paragraph after notebook c...

Posted by corneadoug <gi...@git.apache.org>.
Github user corneadoug commented on the issue:

    https://github.com/apache/zeppelin/pull/1313
  
    I agree too.
    LGTM


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1313: [ZEPPELIN-1245] Focus first paragraph after notebook c...

Posted by corneadoug <gi...@git.apache.org>.
Github user corneadoug commented on the issue:

    https://github.com/apache/zeppelin/pull/1313
  
    @rajarajan-g Can you tell me your Jira username?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1313: [ZEPPELIN-1245] Focus first paragraph after notebook c...

Posted by corneadoug <gi...@git.apache.org>.
Github user corneadoug commented on the issue:

    https://github.com/apache/zeppelin/pull/1313
  
    Erratum, I was testing master branch


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1313: [ZEPPELIN-1245] Focus first paragraph after notebook c...

Posted by rajarajan-g <gi...@git.apache.org>.
Github user rajarajan-g commented on the issue:

    https://github.com/apache/zeppelin/pull/1313
  
    @Leemoonsoo : Thanks for reviewing the code
    
    I did check the existing behaviour , for existing note it doesn't focus to any paragraph.
    
    So,I did code changes now in such way, if we create notebook/open an existing notebook, it will focus on the first paragraph.
    
    For existing notebook, i do focus to end of the paragraph.I hope those changes are fine.  


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1313: [ZEPPELIN-1245] Focus first paragraph after notebook c...

Posted by rajarajan-g <gi...@git.apache.org>.
Github user rajarajan-g commented on the issue:

    https://github.com/apache/zeppelin/pull/1313
  
    In my opinion, since the editor itself is not available, it shouldn't focus that paragraph which is also behaviour after this PR
    
    If you/other folks have any other opinions, please let me know.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1313: [ZEPPELIN-1245] Focus first paragraph after notebook c...

Posted by rajarajan-g <gi...@git.apache.org>.
Github user rajarajan-g commented on the issue:

    https://github.com/apache/zeppelin/pull/1313
  
    its 'thinktank'


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1313: [ZEPPELIN-1245] Focus first paragraph after notebook c...

Posted by corneadoug <gi...@git.apache.org>.
Github user corneadoug commented on the issue:

    https://github.com/apache/zeppelin/pull/1313
  
    In the case that the 1st paragraph's editor is hidden, it doesn't select. Do we care?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin pull request #1313: [ZEPPELIN-1245] Focus first paragraph after not...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/zeppelin/pull/1313


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1313: [ZEPPELIN-1245] Focus first paragraph after notebook c...

Posted by corneadoug <gi...@git.apache.org>.
Github user corneadoug commented on the issue:

    https://github.com/apache/zeppelin/pull/1313
  
    I just tested this branch, but it isn't doing anything in my case


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin pull request #1313: [ZEPPELIN-1245] Focus first paragraph after not...

Posted by rajarajan-g <gi...@git.apache.org>.
GitHub user rajarajan-g reopened a pull request:

    https://github.com/apache/zeppelin/pull/1313

    [ZEPPELIN-1245] Focus first paragraph after notebook creation

    ### What is this PR for?
    Once the notebook is created, cursor should focus on the first paragraph
    
    
    ### What type of PR is it?
    Bug Fix 
    
    ### Todos
    * [ ] - None
    
    ### What is the Jira issue?
     https://issues.apache.org/jira/browse/ZEPPELIN-1245
    
    ### How should this be tested?
    Once the Zeppelin server is started , Create a new notebook
    check if cursor blinks on the first paragraph of the notebook
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rajarajan-g/zeppelin ZEPPELIN-1245

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/1313.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1313
    
----
commit e14792702e9011238b6431204bcefd472355106d
Author: rajarajan-g <ra...@imaginea.com>
Date:   2016-08-10T08:41:12Z

    fix for ZEPPELIN-1245

commit 068cd0b85d56ef615f8915418c6aeefae1abbfc7
Author: rajarajan-g <ra...@imaginea.com>
Date:   2016-08-12T06:19:13Z

    test case modified

commit 85794e9e79265e02bdd7d92b904768fff02d4551
Author: rajarajan-g <ra...@imaginea.com>
Date:   2016-08-17T14:44:01Z

    code modified as per review comments

commit 8eb7b32a6339d740524f1678066a4c74add058de
Author: rajarajan-g <ra...@imaginea.com>
Date:   2016-08-17T15:08:03Z

    test case changed to check the default behaviour

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1313: [ZEPPELIN-1245] Focus first paragraph after notebook c...

Posted by rajarajan-g <gi...@git.apache.org>.
Github user rajarajan-g commented on the issue:

    https://github.com/apache/zeppelin/pull/1313
  
    Reopening the pull request to trigger CI build.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1313: [ZEPPELIN-1245] Focus first paragraph after notebook c...

Posted by rajarajan-g <gi...@git.apache.org>.
Github user rajarajan-g commented on the issue:

    https://github.com/apache/zeppelin/pull/1313
  
    CI build is success now. Please do review and let me in know in comments


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1313: [ZEPPELIN-1245] Focus first paragraph after notebook c...

Posted by corneadoug <gi...@git.apache.org>.
Github user corneadoug commented on the issue:

    https://github.com/apache/zeppelin/pull/1313
  
    Merging if there is no more discussions


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin pull request #1313: [ZEPPELIN-1245] Focus first paragraph after not...

Posted by rajarajan-g <gi...@git.apache.org>.
Github user rajarajan-g closed the pull request at:

    https://github.com/apache/zeppelin/pull/1313


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1313: [ZEPPELIN-1245] Focus first paragraph after notebook c...

Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the issue:

    https://github.com/apache/zeppelin/pull/1313
  
    @rajarajan-g Thanks! for the contribution.
    
    Tested this PR and it focuses the first paragraph after the note creation. Works great!
    However, if i open existing note, the focus goes to the last paragraph.
    
    Do you have any idea about default focusing behavior when existing note open?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---