You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by 1ambda <gi...@git.apache.org> on 2017/04/05 09:32:51 UTC

[GitHub] zeppelin pull request #2225: [ZEPPELIN-2357] fix: tooltip doesnt work with b...

GitHub user 1ambda opened a pull request:

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

    [ZEPPELIN-2357] fix: tooltip doesnt work with btngroup

    ### What is this PR for?
    
    tooltip provided by [angular-ui: bootstrap](https://github.com/angular-ui/bootstrap) doesn't work with `btn-group` class. 
    
    ### What type of PR is it?
    [Bug Fix]
    
    ### Todos
    * [x] - fixed tooltip issue by bumping version of angular-bootstrap
    * [x] - added tooltip to charts as like before 
    
    ### What is the Jira issue?
    
    [ZEPPELIN-2357](https://issues.apache.org/jira/browse/ZEPPELIN-2357)
    
    ### How should this be tested?
    
    1. Open spark tutorial
    2. Test tooltips in notebook controller and in paragraphs.
    
    ### Screenshots (if appropriate)
    
    #### Before
    
    ![tooltip_before](https://cloud.githubusercontent.com/assets/4968473/24699102/dc76be40-1a2d-11e7-9ae3-b550a1739ca8.gif)
    
    
    #### After
    
    ![tooltip_after1](https://cloud.githubusercontent.com/assets/4968473/24699105/dfaa5716-1a2d-11e7-8d8a-0576fb307200.gif)
    
    ![tooltip_after2](https://cloud.githubusercontent.com/assets/4968473/24699111/e429454a-1a2d-11e7-97cc-09bd77dcc4ca.gif)
    
    ### Questions:
    * Does the licenses files need update? - YES, updated
    * 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/1ambda/zeppelin ZEPPELIN-2357/tooltip-doesnt-work-with-btngroup

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

    https://github.com/apache/zeppelin/pull/2225.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 #2225
    
----
commit 62784c81dfbe7958585cd69c0ef68060d88db991
Author: 1ambda <1a...@gmail.com>
Date:   2017-04-05T08:25:29Z

    fix: Bump up angular-bootstrap version

commit 1e2db4ebdc9072c35cc7d70cee44576e2438cf94
Author: 1ambda <1a...@gmail.com>
Date:   2017-04-05T08:27:02Z

    fix: Use uib-tooltip instead

commit 0b6ad26843b9f5114a7eae0f7da4ee4d47031217
Author: 1ambda <1a...@gmail.com>
Date:   2017-04-05T09:25:18Z

    feat: Tooltip for charts

commit d03a70e3b35511ae283a4ea430940095967eaf95
Author: 1ambda <1a...@gmail.com>
Date:   2017-04-05T09:29:00Z

    fix: bin license

----


---
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 #2225: [ZEPPELIN-2357] fix: tooltip doesn't work in bt...

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

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


---
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 #2225: [ZEPPELIN-2357] fix: tooltip doesn't work in btn-group

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

    https://github.com/apache/zeppelin/pull/2225
  
    I was very annoying problem. Thanks @1ambda for the fix.
    Tested and LGTM.
    
    Merge to master and branch-0.7 if no further 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 #2225: [ZEPPELIN-2357] fix: tooltip doesn't work in btn-group

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

    https://github.com/apache/zeppelin/pull/2225
  
    @1ambda Yeah I also knew it when I was adding the pagination to Helium menu for both zeppelin.apache.org and Zeppelin :)
    Tested again and it works well. 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 #2225: [ZEPPELIN-2357] fix: tooltip doesn't work in btn-group

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

    https://github.com/apache/zeppelin/pull/2225
  
    Let me check.


---
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 #2225: [ZEPPELIN-2357] fix: tooltip doesn't work in btn-group

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

    https://github.com/apache/zeppelin/pull/2225
  
    @1ambda 
    after this PR navbar notes list works incorrect.
    
    ![peek 2017-04-18 11-40](https://cloud.githubusercontent.com/assets/25951039/25117614/4824e146-242c-11e7-8035-df1e00107aa3.gif)



---
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 #2225: [ZEPPELIN-2357] fix: tooltip doesn't work in btn-group

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

    https://github.com/apache/zeppelin/pull/2225
  
    Merge to master and branch-0.7 if no further 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 #2225: [ZEPPELIN-2357] fix: tooltip doesn't work in btn-group

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

    https://github.com/apache/zeppelin/pull/2225
  
    @AhyoungRyu thanks for review. didn't know that! 
    Just updated.


---
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 #2225: [ZEPPELIN-2357] fix: tooltip doesn't work in btn-group

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

    https://github.com/apache/zeppelin/pull/2225
  
    Submitted #2261


---
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 #2225: [ZEPPELIN-2357] fix: tooltip doesn't work in btn-group

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

    https://github.com/apache/zeppelin/pull/2225
  
    @1ambda If we update angular-bootstrap version, the pagination in Helium page won't work since they change the pagination lib name (`pagination` ->`ul uib-pagination`)
    So you might need to change [this part](https://github.com/apache/zeppelin/blob/master/zeppelin-web/src/app/helium/helium.html#L189)
    from 
    ```
    <pagination boundary-links="true" total-items="defaultPackages.length"
                      ng-model="$parent.currentPage" class="pagination-sm"
                      ng-show="$parent.pkgListByType === types"
                      max-size="maxSize"
                      items-per-page="itemsPerPage"
                      ng-class="{'hide-first-boundaries': $parent.currentPage == 1, 'hide-last-boundaries': $parent.currentPage >= defaultPackages.length/itemsPerPage}"
                      previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></pagination>
    ```
    
    to
    ```
    <ul uib-pagination boundary-links="true" total-items="defaultPackages.length"
                      ng-model="$parent.currentPage" class="pagination-sm"
                      ng-show="$parent.pkgListByType === types"
                      max-size="maxSize"
                      items-per-page="itemsPerPage"
                      ng-class="{'hide-first-boundaries': $parent.currentPage == 1, 'hide-last-boundaries': $parent.currentPage >= defaultPackages.length/itemsPerPage}"
                      previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></ul>
    ```


---
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.
---