Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'release/1.0.0' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
admturner committed Jun 1, 2021
2 parents 40289ab + 47aabf3 commit 67e30c4
Show file tree
Hide file tree
Showing 114 changed files with 10,733 additions and 7,702 deletions.
86 changes: 47 additions & 39 deletions .github/ISSUE_TEMPLATE/Bug_report.md
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" -->
13 changes: 6 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
## Description
<!-- Learn the overall process and best practices for pull requests at https://github.com/washingtonstateuniversity/hrswp-plugin-blocks/blob/develop/CONTRIBUTING.md. -->

## Description
<!-- Please describe what you have changed or added -->

## How has this been tested?

<!-- Please describe in detail how you tested your changes. -->
<!-- Include details of your testing environment, tests run to see how -->
<!-- Include details of your testing environment, tests ran to see how -->
<!-- your change affects other areas of the code, etc. -->

## Screenshots <!-- if applicable -->

## Types of changes

<!-- What types of changes does your code introduce? -->
<!-- Bug fix (non-breaking change which fixes an issue) -->
<!-- New feature (non-breaking change which adds functionality) -->
Expand All @@ -20,7 +19,7 @@
## Checklist:

- [ ] My code is tested.
- [ ] My code follows the WordPress code style. <!-- Check code: `npm run test` -->
- [ ] My code follows the accessibility standards. <!-- Guidelines: -->
- [ ] My code has proper inline documentation. <!-- Guidelines: -->
- [ ] My code follows the WordPress code style. <!-- Check code: `npm run lint`, Guidelines: https://developer.wordpress.org/coding-standards/wordpress-coding-standards/ -->
- [ ] My code follows the accessibility standards. <!-- Guidelines: https://developer.wordpress.org/coding-standards/wordpress-coding-standards/accessibility/ -->
- [ ] My code has proper inline documentation. <!-- Guidelines: https://developer.wordpress.org/coding-standards/inline-documentation-standards/ -->
- [ ] I've included developer documentation if appropriate.
66 changes: 66 additions & 0 deletions .github/workflows/coding-standards.yml
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
5 changes: 4 additions & 1 deletion .npmpackagejsonlintrc.json
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"
}
}
2 changes: 1 addition & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "stylelint-config-wordpress",
"extends": "@wordpress/stylelint-config",
"rules": {
"no-descending-specificity": null
}
Expand Down
56 changes: 0 additions & 56 deletions .travis.yml

This file was deleted.

77 changes: 68 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,76 @@ Changelog formatting (http://semver.org/):
## Major.MinorAddorDeprec.Bugfix YYYY-MM-DD
### Features
### Enhancements
### Bug Fixes
### Experiments
### Deprecations
### Code quality
### Documentation
### Build Tooling
### Project Management
### Added (for new features.)
### Changed (for changes in existing functionality.)
### Deprecated (for soon-to-be removed features.)
### Removed (for now removed features.)
### Fixed (for any bug fixes.)
### Security (in case of vulnerabilities.)
-->

## 1.0.0 (2021-06-01)

### Added

- Create a guide for making contributions in CONTRIBUTING.md. (2741912)
- Filter block (`filter` and `filter-section`) to replace the now-deprecated Search Filter block (`search-filter`, `search-filter-input`, and `search-filter-section`). This refactored version uses Block API 2, moves the UI controls to frontend JS, matches markup to core Search block, and resolves issues #7, #56, and #57. (9471cdc)
- New Accordions block (`accordions`, `accordion-heading`, and `accordion-section`) to replace the now-deprecated Accordion block (`accordion` and `accordion-panel`). This refactored version uses Block API 2 and resolves issues #24, #25, #51, #52, and #53. (8f33744)
- Button and Buttons blocks to replace WP Core versions, close #54. Custom versions mostly replicate the core versions of those blocks but remove features we do not want users to use, like radius controls. (887bc64)
- Filter to manage blocks allowed in editor inserter. (32370ba)
- Add postcss as a dev dependency (required by PostCSS CLI and PostCSS Import). (5a86ebe)

### Changed

- Bump WordPress tested-to to 5.7.2 and minimum supported version to 5.7.
- Expand on the bug report and pull request templates, close #50. (2741912)
- Complete README including list of HRSWP blocks provided, close #6. (92ed6de)
- Replace GPL 2.0 license with a GPL 3.0 license. (9ba18d7 and 2e335b8)
- Update block registration method to use metadata from `block.json` directly. (f1058fb)
- Simplify Composer coding standards scripts. (742aaee)
- Replace Travis CI with GitHub Actions, close #60. (2817e66)
- Replace deprecated WP Stylelint config dependency with new version. (ca4da08)
- Bump @wordpress/stylelint-config from 19.0.2 to 19.0.4 and stylelint from 13.7.1 to 13.13.1. (00c76bb)
- Bump postcss from 8.2.8 to 8.3.0. (00c76bb)
- Bump classnames from 2.2.6 to 2.3.1. (00c76bb)
- Bump @wordpress/dependency-extraction-webpack-plugin from 3.1.0 to 3.1.3. (00c76bb)
- Bump @babel/core from 7.13.14 to 7.14.3 and @babel/runtime from 7.13.10 to 7.14.0. (00c76bb)
- Bump eslint from 7.9.0 to 7.27.0. (b833f80 and 00c76bb)
- Bump squizlabs/php_codesniffer from 3.5.6 to 3.6.0. (00c76bb)
- Bump dealerdirect/phpcodesniffer-composer-installer from 0.7.0 to 0.7.1. (00c76bb)
- Bump sirbrillig/phpcs-variable-analysis from 2.8.3 to 2.11.0. (00c76bb)
- Upgrade cssnano from 4.1.10 to 5.0.4. (00c76bb)
- Upgrade @wordpress/babel-preset-default from 5.1.0 to 6.1.0. (00c76bb)
- Upgrade to Webpack 5: webpack from 4.44.2 to 5.37.1; webpack-bundle-analyzer from 3.9.0 to 4.4.2; webpack-cli from 3.3.12 to 4.7.0; source-map-loader from 1.1.0 to 3.0.0; and copy-webpack-plugin from 6.1.1 to 9.0.0. (346f8f6 and 00c76bb)
- Upgrade PostCSS build tools: postcss-cli from 8.0.0 to 8.3.0 and postcss-import from 12.0.1 to 14.0.2. (5a86ebe)
- Upgrade JS linters: @wordpress/eslint-plugin from 7.2.1 to 9.0.5; @wordpress/npm-package-json-lint-config from 3.1.0 to 4.0.4; and WP prettier from 2.0.5 to 2.2.1-beta-1. (b833f80 and 00c76bb)

### Deprecated

- HRSWP `searchFilter`, `searchFilterSection`, and `searchFilterInput` blocks. (9471cdc)
- HRSWP `accordion`, `accordion-panel`, and `accordion-input` blocks. (bcf2e9a)
- WP Core `button` and `buttons` blocks. (887bc64)

### Removed

- Remove Thread Loader dependency and script from Webpack config until it works with Webpack 5. (346f8f6)

### Fixed

- Fix #55 Sidebar block layout like Columns block to prevent collapse when empty. (3517d17)
- Fix #58 update Notifcation block to use `hrswp/button`. (757bfc4)
- Fix copy webpack plugin pattern syntax: no longer need `.[ext]` after copy-webpack-plugin version 8.0.0. (d33c4f2)
- Fix eslint "no-unresolved" error from missing import. (1c73230)

### Security

- Bump browserslist from 4.16.4 to 4.16.6. (b9b1008)
- Bump y18n from 4.0.0 to 4.0.1. (d64059b)
- Bump elliptic from 6.5.3 to 6.5.4. (40289ab)
- Bump dot-prop from 4.2.0 to 4.2.1. (f335f90)
- Bump ini from 1.3.5 to 1.3.8. (1bc8c67)

## 0.6.0 (2020-09-14)

### Bug Fixes
Expand Down
Loading

0 comments on commit 67e30c4

Please sign in to comment.