-
Notifications
You must be signed in to change notification settings - Fork 0
release/0.0.1
to main
#1
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
b13c578
chore: initial plugin version
chrishbite d706b2b
ci: correct the order of ci steps
chrishbite 1bafd74
ci: increase phpstan memory limit
chrishbite 22689b6
ci: fix config format
chrishbite bfd993d
chore: remove unneeded files for built branches
chrishbite 93401e3
Update .github/CODEOWNERS
chrishbite ec05bd7
Update CODEOWNERS
chrishbite 0106c23
chore: updates composer.lock file
chrishbite 301f28b
Update src/blocks/image-comparison-item/components/AlternativeText.js
chrishbite d7351c9
fix: remove unnecessary enqueued script
chrishbite ae673fb
fix: aligns all constants with the same prefix
chrishbite 210d6f1
Update index.php
chrishbite 65196e7
fix: updates css selectors to bigbite standards
chrishbite 1deadb8
fix: loads only cursor css rules on the frontend
chrishbite e553512
fix: refactors generated colour css variable code
chrishbite da43028
chore: corrects comment in block render
chrishbite b0e0891
fix: swaps magic constant __FILE__ to __DIR__
chrishbite 365a2d4
fix: pass plugin path into loader constructor
chrishbite ee7f845
feat: adds keyboard navigation controls
chrishbite c6e274b
fix: updates Edit and Save import names
chrishbite 72586dd
chore: adds explanatory comment to colours array
chrishbite File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,29 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
project: bigbite/[email protected] | ||
|
||
jobs: | ||
build: | ||
executor: | ||
name: project/default | ||
php: '8.2' | ||
steps: | ||
- checkout | ||
- project/setup | ||
- project/composer-install | ||
- project/phpcs | ||
- project/npm-install | ||
- project/npm-build | ||
- project/phpstan: | ||
memory_limit: '512M' | ||
- project/create-build | ||
|
||
workflows: | ||
workflow: | ||
jobs: | ||
- build: | ||
context: bigbite | ||
filters: | ||
branches: | ||
ignore: /^.*-built$/ |
This file contains hidden or 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,24 @@ | ||
# npm | ||
|
||
node_modules | ||
package-lock.json | ||
package.json | ||
|
||
# composer | ||
|
||
composer.lock | ||
composer.json | ||
|
||
# build tools | ||
|
||
src | ||
.phpcs.xml.dist | ||
webpack.config.js | ||
|
||
# other | ||
|
||
.gitignore | ||
vendor | ||
.github | ||
.node-version | ||
phpstan.neon |
This file contains hidden or 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 @@ | ||
* @chrishbite @jaymcp @bigbite/lead-engineers |
This file contains hidden or 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,6 @@ | ||
node_modules/ | ||
vendor/ | ||
dist/ | ||
|
||
.DS_Store | ||
inc/asset-settings.php |
This file contains hidden or 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 @@ | ||
v22.3.0 |
This file contains hidden or 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,4 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="Big Bite Image Comparison Rules"> | ||
<rule ref="./vendor/bigbite/phpcs-config/BigBite" /> | ||
</ruleset> |
This file contains hidden or 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 +1,3 @@ | ||
# image-comparison | ||
# Image Comparison | ||
|
||
Display two images in a comparison state. |
This file contains hidden or 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,20 @@ | ||
{ | ||
"name": "bigbite/image-comparison", | ||
"description": "Display two images in a comparison state.", | ||
"type": "wordpress-plugin", | ||
"config": { | ||
"preferred-install": "dist", | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
}, | ||
"require-dev": { | ||
"bigbite/phpcs-config": "^2.0", | ||
"phpstan/phpstan": "^1.10", | ||
"szepeviktor/phpstan-wordpress": "^1.3" | ||
}, | ||
"scripts": { | ||
"phpcs": "./vendor/bin/phpcs .", | ||
"phpstan": "@php ./vendor/bin/phpstan --memory-limit=512M" | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.