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

docs: add contribution guidelines #181

Merged
merged 1 commit into from
Oct 20, 2023
Merged

docs: add contribution guidelines #181

merged 1 commit into from
Oct 20, 2023

Conversation

chrisvxd
Copy link
Member

No description provided.

@vercel
Copy link

vercel bot commented Oct 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
puck-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 20, 2023 3:23pm

Copy link
Member

@monospaced monospaced left a 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.**
Copy link
Member

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?

Copy link
Member Author

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
Copy link
Member

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

Copy link
Member

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"

Copy link
Member Author

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
Copy link
Member

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?

Copy link
Member Author

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

Copy link
Member Author

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.
Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

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

Added!

CONTRIBUTING.md Show resolved Hide resolved
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.
Copy link
Member

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

  1. only (mostly) be used on feature requests, and
  2. 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 to ready (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)?

Copy link
Member Author

Choose a reason for hiding this comment

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

  1. I think mostly. Bug fixes might also require some opinions. Also sometimes it's softer, like "how do you want to engage with puck".
  2. Probably not, but I don't think it needs to be that strict.

Copy link
Member Author

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"

@chrisvxd chrisvxd force-pushed the contribution-guidelines branch from 702a6f3 to 28d9ad6 Compare October 20, 2023 15:22
@chrisvxd chrisvxd merged commit 17fc4dc into main Oct 20, 2023
2 checks passed
@chrisvxd chrisvxd deleted the contribution-guidelines branch October 20, 2023 15:23
CONTRIBUTING.md Outdated
@@ -0,0 +1,120 @@
# Contribution guidelines
Copy link
Member

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.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
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 👇
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
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)
Copy link
Member

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?

Suggested change
- 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._
Copy link
Member

Choose a reason for hiding this comment

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

Friendly reword.

Suggested change
_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.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- **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.
Copy link
Member

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.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
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
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- 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.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- 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.

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.

3 participants