-
Notifications
You must be signed in to change notification settings - Fork 350
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
docs: add contribution guidelines #181
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a bunch of comments, but nothing that I feel requires amendment. Happy for this to be merged as-is, but leaving my notes here in case they are helpful.
CONTRIBUTING.md
Outdated
- Open a discussion via GitHub | ||
- Use the #chat or #help channels in our [Discord server](https://discord.gg/D9e4E3MQVZ) | ||
|
||
**GitHub issues are for bugs and feature requests, not for questions.** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure bolding is needed here, comes across a little <strong>
🥁. Maybe italics?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated!
CONTRIBUTING.md
Outdated
@@ -0,0 +1,120 @@ | |||
# Contribution guidelines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think "Contributing guide" is a more common title form for CONTRIBUTING.md maybe?
Could include the name, "Puck contributing guide" or similar.
Example:
https://github.com/github/docs/blob/f3b2edcd8076e10b69239a492bc483b89d531455/CONTRIBUTING.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or just "Contributing to Puck"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated!
|
||
We manage our backlog using labels. Labels can help you understand the status of each ticket. | ||
|
||
### Status labels |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonder if we should add a good first issue
label and mention it here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did think that but we don't have the label yet... will check the backlog and make one if I think there are any issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added!
CONTRIBUTING.md
Outdated
|
||
## Reporting bugs or requesting features | ||
|
||
Bugs and feature requests are best reported via GitHub issues. If you're unsure whether or not you've encounter a bug, feel free to ask first. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could include some "please search first before creating a new issue" words here, but I don't think we're currently getting a lot of dupes. Could leave for now, and add if (when) it becomes a problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added!
CONTRIBUTING.md
Outdated
|
||
- **ready** - this ticket has a description and is ready to be worked on. | ||
- **in triage** - this ticket has been seen by the Puck team and we are identifying next steps. Tickets may stay in this state until we're ready to process them. | ||
- **opinions wanted** - we're looking for opinions on this ticket. Feel free to chime in with comments or suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assume that opinions wanted
would
- only (mostly) be used on feature requests, and
- not be used with the
in triage
label, as it's now been processed and maintainer's view is we need to gather community input before we can proceed. Then once the opinions have been gathered, it moves toready
(or gets closed)? Asking cause it seems like there is some crossover with this label and the guidance above to not ask questions in issues.
And in general, would only one of these labels be present on a issue at a time (i.e. radio buttons not checkbox group)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I think mostly. Bug fixes might also require some opinions. Also sometimes it's softer, like "how do you want to engage with puck".
- Probably not, but I don't think it needs to be that strict.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've split these out into an "Other labels" section, alongside "Good first issue"
f83f440
to
702a6f3
Compare
702a6f3
to
28d9ad6
Compare
CONTRIBUTING.md
Outdated
@@ -0,0 +1,120 @@ | |||
# Contribution guidelines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or just "Contributing to Puck"
CONTRIBUTING.md
Outdated
|
||
## Reporting bugs or requesting features | ||
|
||
Bugs and feature requests are best reported via GitHub issues. If you're unsure whether or not you've encounter a bug, feel free to ask first. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bugs and feature requests are best reported via GitHub issues. If you're unsure whether or not you've encounter a bug, feel free to ask first. | |
Bugs and feature requests are best reported via GitHub issues. If you're unsure whether or not you've encountered a bug, feel free to ask first. |
|
||
Bugs and feature requests are best reported via GitHub issues. Always check if the issue already exists before opening a new one. | ||
|
||
If you're unsure whether or not you've encounter a bug, feel free to ask first 👇 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're unsure whether or not you've encounter a bug, feel free to ask first 👇 | |
If you're unsure whether or not you've encountered a bug, feel free to ask first 👇 |
There are several ways to ask questions or ask for help: | ||
|
||
- Open a [discussion](https://github.com/measuredco/puck/discussions) via GitHub | ||
- Use the #chat or #help channels in our [Discord server](https://discord.gg/D9e4E3MQVZ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe less friction for people to point to just one Discord channel?
- Use the #chat or #help channels in our [Discord server](https://discord.gg/D9e4E3MQVZ) | |
- Use the #help channel in our [Discord server](https://discord.gg/D9e4E3MQVZ) |
- Open a [discussion](https://github.com/measuredco/puck/discussions) via GitHub | ||
- Use the #chat or #help channels in our [Discord server](https://discord.gg/D9e4E3MQVZ) | ||
|
||
_GitHub issues are for bugs and feature requests, not for questions._ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Friendly reword.
_GitHub issues are for bugs and feature requests, not for questions._ | |
_Please only use GitHub issues for bugs and feature requests, and not for questions._ |
|
||
### Other labels | ||
|
||
- **good first issue** - if you're new to contributing on Puck, this is a good palce to start. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- **good first issue** - if you're new to contributing on Puck, this is a good palce to start. | |
- **good first issue** - if you're new to contributing on Puck, this is a good place to start. |
|
||
**Keep your PRs focused to a single issue**. This makes it easier to review and is necessary for our release process. | ||
|
||
We rely on angular-style conventional commits for automating our releases, determining the version bump and generating our changelog. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth linking to a guide to Angular-style, or just Conventional Commits docs here?
|
||
You generally don't need to write perfect commit messages yourselves - we squash most PRs and rewrite the messages on merge. | ||
|
||
If you need to solve multiple issues, it's best to split it into multiple PRs. Or, if you're comfortable writing convential commits, you can also split each change into a separate commit. The team is more likely to have opinions about this and you may be asked to reword your commits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you need to solve multiple issues, it's best to split it into multiple PRs. Or, if you're comfortable writing convential commits, you can also split each change into a separate commit. The team is more likely to have opinions about this and you may be asked to reword your commits. | |
If you need to solve multiple issues, it's best to split it into multiple PRs. Or, if you're comfortable writing conventional commits, you can also split each change into a separate commit. The team is more likely to have opinions about this and you may be asked to reword your commits. |
|
||
- TypeScript | ||
- CSS Modules | ||
- Turbo repo for efficient monorepo scripting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Turbo repo for efficient monorepo scripting | |
- Turborepo for efficient monorepo scripting |
|
||
#### CSS | ||
|
||
- Class names must follow [SUIT CSS](https://suitcss.github.io) convention. This is a tooling-angostic convention used at [@measuredco](https://github.com/measuredco) for all CSS work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Class names must follow [SUIT CSS](https://suitcss.github.io) convention. This is a tooling-angostic convention used at [@measuredco](https://github.com/measuredco) for all CSS work. | |
- Class names must follow [SUIT CSS](https://suitcss.github.io) convention. This is a tooling-agnostic convention used at [@measuredco](https://github.com/measuredco) for all CSS work. |
No description provided.