You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/10/02 09:16:44 UTC

[GitHub] [incubator-echarts] plainheart opened a new pull request #13383: feat(tooltip): allow adding classes to tooltip DOM and migrate changes to next branch in #12834.

plainheart opened a new pull request #13383:
URL: https://github.com/apache/incubator-echarts/pull/13383


   <!-- Please fill in the following information to help us review your PR more efficiently. -->
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [ ] bug fixing
   - [x] new feature
   - [x] others
   
   
   
   ### What does this PR do?
   
   <!-- USE ONCE SENTENCE TO DESCRIBE WHAT THIS PR DOES. -->
   
   - Allow users to add some classes to the tooltip dom to override default styles and get the dom by `document.getElementsByClassName`.
   - Migrate changes in PR #12834 (relocate tooltip if chart resized)
   
   ### Fixed issues
   
   NA.
   
   ## Details
   
   ### Before: What was the problem?
   
   <!-- DESCRIBE THE BUG OR REQUIREMENT HERE. -->
   
   <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->
   The users cannot set some styles by className.
   
   ### After: How is it fixed in this PR?
   
   <!-- THE RESULT AFTER FIXING AND A SIMPLE EXPLANATION ABOUT HOW IT IS FIXED. -->
   The users can override some styles by specifying className.
   
   <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->
   ![image](https://user-images.githubusercontent.com/26999792/94902491-d1852180-04ca-11eb-93de-6f9f7911e10e.png)
   ![image](https://user-images.githubusercontent.com/26999792/94907192-5889c800-04d2-11eb-85fd-a62314ffc341.png)
   
   ## Usage
   
   ### Are there any API changes?
   
   - [x] The API has been changed.
   
   <!-- LIST THE API CHANGES HERE -->
   Add a new option `className` to `tooltip` component.
   
   ### Related test cases or examples to use the new APIs
   
   Please refer to `test/tooltip-windowResize.html`
   
   ## Others
   
   ### Merging options
   
   - [ ] Please squash the commits into a single one when merge.
   
   ### Other information
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on pull request #13383: feat(tooltip): allow adding classes to tooltip DOM and migrate changes to next branch in #12834.

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on pull request #13383:
URL: https://github.com/apache/incubator-echarts/pull/13383#issuecomment-702619612


   Thanks for your contribution!
   The community will review it ASAP. In the meanwhile, please checkout [the coding standard](https://echarts.apache.org/en/coding-standard.html) and Wiki about [How to make a pull request](https://github.com/apache/incubator-echarts/wiki/How-to-make-a-pull-request).
   
   The pull request is marked to be `PR: author is committer` because you are a committer of this project.
   
   Document changes are required in this PR. Please also make a PR to [apache/incubator-echarts-doc](https://github.com/apache/incubator-echarts-doc) for document changes. When the doc PR is merged, the maintainers will remove the `PR: awaiting doc` label.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang merged pull request #13383: feat(tooltip): allow adding classes to tooltip DOM and migrate changes to next branch in #12834.

Posted by GitBox <gi...@apache.org>.
pissang merged pull request #13383:
URL: https://github.com/apache/incubator-echarts/pull/13383


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang merged pull request #13383: feat(tooltip): allow adding classes to tooltip DOM and migrate changes to next branch in #12834.

Posted by GitBox <gi...@apache.org>.
pissang merged pull request #13383:
URL: https://github.com/apache/incubator-echarts/pull/13383


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on pull request #13383: feat(tooltip): allow adding classes to tooltip DOM and migrate changes to next branch in #12834.

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on pull request #13383:
URL: https://github.com/apache/incubator-echarts/pull/13383#issuecomment-705984979


   Congratulations! Your PR has been merged. Thanks for your contribution! 👍


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on pull request #13383: feat(tooltip): allow adding classes to tooltip DOM and migrate changes to next branch in #12834.

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on pull request #13383:
URL: https://github.com/apache/incubator-echarts/pull/13383#issuecomment-705984979


   Congratulations! Your PR has been merged. Thanks for your contribution! 👍


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org