Skip to content

Commit

Permalink
chores, docs: Update actions, readme, contributing, code of conduct (#72
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mithi committed Jun 18, 2020
1 parent 61c7417 commit 8e026da
Show file tree
Hide file tree
Showing 7 changed files with 141 additions and 14 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,10 @@ jobs:
- name: Build project
run: yarn build

- name: Run tests
run: yarn test --watchAll=false
- name: Test and generate coverage report
run: yarn test --watchAll=false --coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
name: codecov-umbrella
76 changes: 76 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at mithi.sevilla@gmail.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
29 changes: 29 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Thank you for your interest in contributing to this project!
All types of contributions are welcome, no matter how big or small.

## Useful things:
- Before contributing, please discuss the change you wish to make in an issue before making this change.
- I use a automated code formatters ([prettier][prettier_link] for Javascript, [black][black_link] for Python for example) to format my code.
- I use [code climate][code_climate_link] to check for code smells.
- Please read [the commit style guide][commit_style_guide_link], the guide which I try to adhere to when wording my commit messages. These are not rules, just a guide.
- I prefer PRs with fewer commits. Squash the commits and push force if you need to. But of course, it's better if all the changes in one commit are logically connected. Thoughtfully-written explanations and the rationale of the pull request is always appreciated. Here's [a simple git workflow](https://github.com/mithi/hexapod/wiki/Simple-Git-Workflow-guide) I try to stick to.
- And of course, Don't be mean :) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](https://www.contributor-covenant.org/)

## Here's a few examples of ways you can help:
- Work on an existing issue (feature request, bug, etc)
- Add new tests and test cases to improve code coverage
- Work on optimizations, performance, speed, efficiency improvements
- Report or work on bugs
- Suggest Idiomatic code and better software practices
- Suggest ways to improving code quality / readability
- Improve User Interface / Experience Design
- Improve documentation
- More on: [Types of Code Contributions][contribute_link]!


[contribute_link]: https://github.com/mithi/hexapod/wiki/Types-of-(code)-Contributions
[commit_style_guide_link]: https://github.com/mithi/hexapod/wiki/Commit-Style-Guide
[git_workflow_link]: https://github.com/mithi/hexapod/wiki/Simple-Git-Workflow-guide
[prettier_link]: https://github.com/mithi/hexapod/blob/master/.prettierrc.yaml
[black_link]: https://github.com/psf/black
[code_climate_link]: https://github.com/mithi/hexapod/blob/master/.codeclimate.yml
41 changes: 29 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,43 @@
![](https://github.com/mithi/hexapod/workflows/build/badge.svg)
[![Code Climate](https://codeclimate.com/github/mithi/hexapod/badges/gpa.svg)](https://codeclimate.com/github/mithi/hexapod)
[![](https://img.shields.io/codeclimate/tech-debt/mithi/hexapod)](https://codeclimate.com/github/mithi/hexapod/trends/technical_debt) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat)](https://github.com/prettier/prettier)
[![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat)](https://opensource.org/licenses/Apache-2.0)
[![first-timers-only](https://img.shields.io/badge/first--timers--only-friendly-blueviolet.svg?style=flat)](https://www.firsttimersonly.com/)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/mithi/hexapod/wiki/Types-of-(code)-Contributions)
[![](https://img.shields.io/badge/Buy%20me%20-coffee!-orange)](https://ko-fi.com/minimithi)
[![](https://img.shields.io/codeclimate/tech-debt/mithi/hexapod)](https://codeclimate.com/github/mithi/hexapod/trends/technical_debt)
[![codecov](https://codecov.io/gh/mithi/hexapod/branch/master/graph/badge.svg)](https://codecov.io/gh/mithi/hexapod)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat)](https://github.com/prettier/prettier)
[![](https://img.shields.io/badge/Buy%20me%20-coffee!-orange.svg?logo=buy-me-a-coffee&color=795548)](https://ko-fi.com/minimithi)


# Mithi's Bare Minimum Hexapod Simulator (in Javascript)
# Mithi's Bare-Minimum Hexapod Robot Simulator Rewrite
_(in Javascript!)_

<img src="https://mithi.github.io/robotics-blog/v2-hexapod-1.gif" alt="drawing" width="200" align="right" />

- Solve (and visualize) forward and inverse kinematics purely on your browser! It's a complete rewrite of the [one I wrote in Python 🐍](https://github.com/mithi/hexapod-robot-simulator). Extremely fast! Zero server-side computations!

- Consider buying me [a couple cups of coffee ☕ ☕ ☕](https://ko-fi.com/minimithi) to motivate me to build other robotics related visualizers. (Quadrotors?!)
- Consider buying me [a couple cups of coffee ☕ ☕ ☕](https://ko-fi.com/minimithi) to motivate me to build other robotics-related visualizers. (Quadrotors?!)

- 🚧 Under heavy construction. This project is still a buggy 🐞🐛 work in progress.
- See: https://hexapod.netlify.app

## Contributions Welcome! [![first-timers-only](https://img.shields.io/badge/first--timers--only-friendly-blueviolet.svg?style=flat)](https://www.firsttimersonly.com/) [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](./CONTRIBUTING.md) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](https://www.contributor-covenant.org/)

- Any contribution to improve the source code will be extremely appreciated. 💙 Anything. Anything at all. This is my first time coding in Javascript and this is also my first React app, so I'm sure there is a lot of room for improvement.
- A couple of examples from the top of my head:
- Adding more (and better) tests and test cases (Current code coverage isn't so pretty)
- Improving the page layout for enhanced user experience
- Suggesting refactors and better software development practices in general
- See [./CONTRIBUTING.md](./CONTRIBUTING.md)

- 🚧 Under heavy construction. This project is still a buggy 🐞🐞🐞 work in progress. See: https://hexapod.netlify.app

## Contributions Welcome!
- Any contribution to improve the source code will be extremely appreciated. 💙 Anything from fixing typographical errors... to adding tests... to completely changing the page design ... or even rewriting modules to follow better software practices...
- This is my first time coding in Javascript and this is also my first react app, so I'm sure there is a lot of room for improvement. See: [Types of code contributions](https://github.com/mithi/hexapod/wiki/Types-of-(code)-Contributions).
![](./public/img/screenshot2.png)

## [](https://ko-fi.com/minimithi) Other statistics
| <img src="./public/img/screenshot1.png" alt="drawing" width="600" /> | <img src="./public/img/screenshot3.png" alt="drawing" width="305" /> |
|---|---|
| . | . |


## [](https://ko-fi.com/minimithi) I love badges! (Don't we all?)

[![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat)](https://opensource.org/licenses/Apache-2.0)
![](https://img.shields.io/codeclimate/maintainability-percentage/mithi/hexapod)
![](https://img.shields.io/codeclimate/maintainability/mithi/hexapod)
[![HitCount](http://hits.dwyl.com/mithi/hexapod.svg)](http://hits.dwyl.com/mithi/hexapod)
Expand Down
Binary file added public/img/screenshot1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/screenshot2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/screenshot3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8e026da

Please sign in to comment.