简体中文 |
English
"My code level is not good ." "Will it be despised?" "Will it be bad?" Don't worry. Feel free to contribute.
We welcome any contribution, whether it's a typo correction or a friendly suggestion, whether it's submitted by Issue, a cool pull request, or a DingTalk group discussion, participate in discussions, look forward to seeing your profile picture in Contributor List.
Currently, we are developing based on the master branch. Please check out a branch based on master, and Pull Request if you have any modifications. We will review your PR for the first time and give you feedback.
We are sorry to push bugs. And we would appreciate that if you could report them to us. To save time on the communication, please give details about the bug as much as possible.
-
First select [Bug report]
-
Fill in the relevant information according to the Issue template.
We are sorry that these steps are a bit redundant. Since every user uses S2 in different situations, system environment, software version, specific steps to reproduce the bug could help us solve the issue in time.
- Fork the project and clone it (or use GitHub's Codespace function, which is very convenient).
- Installation dependency:
yarn bootstraporyarn. - Commit your changes, and please follow [AngularJS Git Commit Message Conventions] (https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit#heading=h.uyo6cb12dt6w).
- If your change is a bug fix, you can add
close #issue numberafter the submission information so that after the pr merge, the related issue could be closed automatically. eg:fix: render bug close #123. - Make sure to add the related unit test.
- After all Lint and Test checks are passed, and the review is passed, we will merge your pr.
We use yarn@v1 as package management.
npm i -g yarnyarn bootstrap: Installation dependency.yarn site:bootstrap: Install site related dependencies.yarn site:start: Starts the localS2website.yarn core:start: Debug and test local@antv/s2(Based on jest-electron).yarn react:startDebug and test local@antv/s2-react(Based on jest-electron).yarn vue:startDebug and test local@antv/s2-vue(Based on jest-electron).yarn react:playgroundStarts the local@antv/s2-reactplayground (Based on vite).yarn vue:playgroundStarts the local@antv/s2-vueplayground (Based on vite).yarn build: Builds@antv/s2and@antv/s2-reactand@antv/s2-vue, outputs areumd,esmandlibdirectories.yarn test: Run unit tests.



