Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add contributing and code of conduct documentation [DT-5996] #35

Merged
merged 7 commits into from
Nov 21, 2024

Conversation

lanesawyer
Copy link
Collaborator

chore: Add contributing and code of conduct documentation

What

Added CONTRIBUTING.md and CODE_OF_CONDUCT.md to prepare us for open-sourcing the codebase

How

Used a popular generator site and tweaked it: https://generator.contributing.md/

@lanesawyer lanesawyer requested review from a team, froyo-np and crispipear and removed request for a team November 8, 2024 19:14
Copy link
Collaborator

@froyo-np froyo-np left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks great! Thanks!

@lanesawyer
Copy link
Collaborator Author

@AllenInstitute/app-dev It would be good to get a majority of the team's eyes on this to make sure we're all happy with the code of conduct and contributing instructions!

@lanesawyer lanesawyer changed the title chore: Add contributing and code of conduct documentation chore: Add contributing and code of conduct documentation [DT-5996] Nov 14, 2024
@lanesawyer lanesawyer requested a review from a team as a code owner November 20, 2024 22:15
CODE_OF_CONDUCT.md Show resolved Hide resolved
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there be any mention of a no-retaliation policy here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's a good idea. It's implied, but being a little more explicit is helpful!

@@ -0,0 +1,116 @@
# Code of Conduct - Visualization Toolkit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless it's otherwise recommended, I'd suggest removing the extra newlines embedded in each paragraph, so that they flow appropriately in whatever space they're viewed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah those are from the Prettier formatting rules. I don't love them either. We could tweak them or ignore .md files from formatting!

CONTRIBUTING.md Outdated

- Open an [Issue](https://github.com/AllenInstitute/vis/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.)
- Explain the behavior you would expect and the actual behavior.
- Please provide as much context as possible and describe the _reproduction steps_ that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The phrasing "bug report" seems to be contrary to what was said in the first bullet; maybe "good issue report"?

CONTRIBUTING.md Outdated
Once it's filed:

- The project team will label the issue accordingly.
- A team member will try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for those steps and mark the issue as `needs-repro`. Bugs with the `needs-repro` tag will not be addressed until they are reproduced.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, "Bugs" maybe should be replaced with "Issues" here, for consistency

CONTRIBUTING.md Outdated
- Provide a **step-by-step description of the suggested enhancement** in as many details as possible.
- **Describe the current behavior** and **explain which behavior you expected to see instead** and why. At this point you can also tell which alternatives do not work for you.
- You may want to **include screenshots and animated GIFs** which help you demonstrate the steps or point out the part which the suggestion is related to. You can use [this tool](https://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra line here?

CONTRIBUTING.md Outdated

### Improving The Documentation

Documentation improvements are incredibly helpful and welcome. At the moment, we use markdown files on the `docs` folder to document key pieces of the project. At some point we would like to move to a more structured documentation system, but for now, markdown is the way to go when creating new documentation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Documentation improvements are incredibly helpful and welcome. At the moment, we use markdown files on the `docs` folder to document key pieces of the project. At some point we would like to move to a more structured documentation system, but for now, markdown is the way to go when creating new documentation.
Documentation improvements are incredibly helpful and welcome. At the moment, we use markdown files in the `docs` folder to document key pieces of the project. At some point we would like to move to a more structured documentation system, but for now, markdown is the way to go when creating new documentation.

CONTRIBUTING.md Outdated

### Linting and Formatting

We use a linter and code formatter on the project and check for errors. That will largely keep the code style consistent. Make sure to run those checks and fix any issues when opening a PR!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
We use a linter and code formatter on the project and check for errors. That will largely keep the code style consistent. Make sure to run those checks and fix any issues when opening a PR!
We use a linter and code formatter on the project to check for errors. That will largely keep the code style consistent. Make sure to run those checks and fix any issues when opening a PR!

README.md Outdated
Contributions are welcome! We're currently breaking apart the Scattebrain component into smaller, more manageable packages. If you have a package that you think would be useful to others, please open a PR.
Contributions are welcome! We're currently breaking apart the Scatterbrain component into smaller, more manageable packages. If you have a package that you think would be useful to others, please open a PR.

See the CONTRIBUTING.md file for more information on how to contribute to the project
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
See the CONTRIBUTING.md file for more information on how to contribute to the project
See the CONTRIBUTING.md file for more information on how to contribute to the project!

@lanesawyer lanesawyer merged commit d522888 into main Nov 21, 2024
5 checks passed
@lanesawyer lanesawyer deleted the lane/contributing-code-of-conduct branch November 21, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants