This repository has been archived by the owner on Jul 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/1.0.0' into stable
- Loading branch information
Showing
114 changed files
with
10,733 additions
and
7,702 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,51 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
about: Report a bug with the HRS Blocks plugin. | ||
--- | ||
|
||
**Describe the bug** | ||
|
||
A clear and concise description of what the bug is. | ||
|
||
**To reproduce** | ||
|
||
Steps to reproduce the behavior: | ||
|
||
1. Go to... | ||
2. Click on... | ||
3. Scroll down to... | ||
4. See error | ||
|
||
**Expected behavior** | ||
|
||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
|
||
If applicable, add screenshots to help explain your problem. | ||
|
||
**The system showing the bug (please complete the following information):** | ||
|
||
- OS: [e.g. iOS, Ubuntu, Windows] | ||
- OS Version: [e.g. 12.2, 16.04, 10] | ||
- Browser [e.g. chrome, safari, firefox] | ||
- Version [e.g. 22] | ||
|
||
**Smartphone (please complete the following information):** | ||
|
||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** | ||
|
||
- Please add the version of WordPress you are using. | ||
## Description | ||
<!-- Please write a brief description of the bug. --> | ||
|
||
## Step-by-step reproduction instructions | ||
<!-- | ||
Please list the steps needed to reproduce the bug. For example: | ||
1. Go to '...' | ||
2. Click on '...' | ||
3. Scroll down to '...' | ||
--> | ||
|
||
## Expected behaviour | ||
<!-- Please describe what you expected to happen. --> | ||
|
||
## Actual behaviour | ||
<!-- Please describe what actually happened. --> | ||
|
||
## Screenshots or screen recording (optional) | ||
<!-- | ||
If possible, please upload a screenshot or screen recording which demonstrates | ||
the bug. You can use LIEcap to create a GIF screen recording: | ||
https://www.cockos.com/licecap/ | ||
--> | ||
|
||
## Code snippet (optional) | ||
<!-- | ||
If this bug is to related to a developer API, please share a code snippet that | ||
demonstrates the issue. | ||
For small snippets paste it directly here, or you can use GitHub Gist to share | ||
multiple code files: https://gist.github.com | ||
Please ensure the shared code can be used by a developer to reproduce the | ||
issue—ideally it can be copied into a local development environment or executed | ||
in a browser console to help debug the issue. | ||
--> | ||
|
||
## WordPress information | ||
- WordPress version: <!-- e.g. "5.6.0". Find this in Tools → Site Health → Info → WordPress --> | ||
- Are all plugins except HRS Blocks deactivated? <!-- "Yes" or "No" --> | ||
- Are you using the HRS child theme? <!-- "Yes" or "No" --> | ||
|
||
## Device information | ||
- Device: <!-- e.g. "Desktop" or "iPhone 11" --> | ||
- Operating system: <!-- e.g. "Windows 10" or "iOS 14" --> | ||
- Browser: <!-- e.g. "Chrome 86.0" or "Mobile Safari" --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: Coding Standards | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
- stable | ||
- release/** | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
lint: | ||
name: Script and Style Coding Standards | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Log debug information | ||
run: | | ||
npm --version | ||
node --version | ||
git --version | ||
- name: Install NodeJS v14 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
- name: Log debug information | ||
run: | | ||
npm --version | ||
node --version | ||
- name: Install npm dependencies | ||
run: npm ci | ||
- name: Run eslint | ||
run: npm run lint:scripts | ||
- name: Run stylelint | ||
run: npm run lint:styles | ||
- name: Run npmPkgJsonLint | ||
run: npm run lint:pkg | ||
phpcs: | ||
name: PHP Coding Standards | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Set up PHP version | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '7.4' | ||
coverage: none | ||
tools: composer, cs2pr | ||
- name: Log debug information | ||
run: | | ||
php --version | ||
composer --version | ||
- name: Install Composer dependencies | ||
uses: ramsey/composer-install@v1 | ||
with: | ||
composer-options: "--no-progress --no-ansi --no-interaction" | ||
- name: Make Composer packages available globally | ||
run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH | ||
- name: Log PHPCS debug information | ||
run: phpcs -i | ||
- name: Run PHPCS | ||
run: phpcs -q -n --report=checkstyle | cs2pr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"extends": "@wordpress/npm-package-json-lint-config" | ||
"extends": "@wordpress/npm-package-json-lint-config", | ||
"rules": { | ||
"valid-values-license": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.