👍🎉 First off, thanks for taking the time to contribute! 🎉👍
The following is a set of guidelines for contributing to Block Lab. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
This project and everyone participating in it is governed by the Block Lab Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].
Bugs are tracked as GitHub issues.
Explain the problem and include additional details to help maintainers reproduce the problem.
Enhancement suggestions are also tracked as GitHub issues.
Please describe in detail the enhancement and your use case for it.
Please follow these steps to have your contribution considered by the maintainers:
- Follow all instructions in the template
- Follow the styleguides
- After you submit your pull request, verify that all status checks are passing
What if the status checks are failing?
If a status check is failing, and you believe that the failure is unrelated to your change, please leave a comment on the pull request explaining why you believe the failure is unrelated. A maintainer will re-run the status check for you. If we conclude that the failure was a false positive, then we will open an issue to track that problem with our status check suite.
While the prerequisites above must be satisfied prior to having your pull request reviewed, the reviewer(s) may ask you to complete additional design work, tests, or other changes before your pull request can be ultimately accepted.
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally after the first line
- Consider starting the commit message with an applicable emoji:
- 🎨
:art:
when improving the format/structure of the code - 🐎
:racehorse:
when improving performance - 🚱
:non-potable_water:
when plugging memory leaks - 📝
:memo:
when writing docs - 🐧
:penguin:
when fixing something on Linux - 🍎
:apple:
when fixing something on macOS - 🏁
:checkered_flag:
when fixing something on Windows - 🐛
:bug:
when fixing a bug - 🔥
:fire:
when removing code or files - ✅
:white_check_mark:
when adding tests - 🔒
:lock:
when dealing with security
- 🎨
Block Lab development requires Node.js and follows the WordPress coding standards for PHP and JavaScript. In order to get your development environment setup quickly, simply run the following commands after cloning the plugin from Github:
Install Packages
npm install
This command installs required Node packages locally and is required before running build setup.
Watch Changes
npm run dev
While developing, it is a best practice to watch for changes. This command will build assets as modifications are made.
composer install
This section lists the labels we use to help us track and manage issues and pull requests. Please open an issue if you have suggestions for new labels.
GitHub search makes it easy to use labels for finding groups of issues or pull requests you're interested in. For example, you might be interested in open issues which are labeled as bugs and are good for new contributors or perhaps open pull requests which haven't been reviewed yet. To help you find issues and pull requests, each label is listed with search links for finding open items with that label. We encourage you to read about other search filters which will help you write more focused queries.
Label name | getblocklab/block-lab 🔎 |
Description |
---|---|---|
bug |
[search][search-block-lab-repo-label-bug] | Something isn't working. |
control |
[search][search-block-lab-repo-label-control] | |
duplicate |
[search][search-block-lab-repo-label-duplicate] | This issue or pull request already exists. |
enhancement |
[search][search-block-lab-repo-label-enhancement] | New feature or request. |
good-first-issue |
[search][search-block-lab-repo-label-good-first-issue] | Good for newcomers. |
help-wanted |
[search][search-block-lab-repo-label-help-wanted] | Extra attention is needed. |
invalid |
[search][search-block-lab-repo-label-invalid] | This doesn't seem right. |
question |
[search][search-block-lab-repo-label-question] | Further information is requested. |
wontfix |
[search][search-block-lab-repo-label-wontfix] | This will not be worked on. |
Thanks! ❤️ ❤️ ❤️
Block Lab Team