Contributions of all kinds are welcome. By offering a contribution, you agree to abide by our Code of Conduct and that your work may be made available under the terms of our license.

  1. To report a bug or request a new feature, please check the list of open issues to see if it’s already there, and if not, file as complete a description as you can.

  2. If you have made a fix or improvement, please create a pull request. We will review these as quickly as we can (typically within 2-3 days). If you are tackling an issue that has already been opened, please name your branch number-some-description (e.g., 20-highlighting-active-block) and put Closes #N (e.g., Closes #20) on a line by itself at the end of the PR’s long description.

Who Can Help and How

Asha is a high school mathematics teacher whose students are using TidyBlocks to do their homework. She can help by filing bug reports and feature suggestions, and by providing questions and solutions for us to add to our gallery of examples.

Raniere is a data scientist who uses R and Python in his work. He can help by creating code generators for those languages and by extending our visualization toolkit.

Yatindra is a web programmer who is fluent in JavaScript. They can help by bringing our code and tooling into line with modern standards and by adding features to make TidyBlocks easier to use.

Getting Started

  1. Fork and clone it to your desktop.

  2. Go into the newly-created tidyblocks directory and run npm install to install all of the packages we depend on.
    • Note: do not install blockly itself from NPM: madness will ensue. We have included a working copy of the library in this repository.
  3. Run npm test to re-run the unit tests in tests/test_*.js. These check that our blocks generate the expected code, and that the code does the right things.

The Interface

Code Generation