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

Prepare for new block variations 3/3: block variation loading #898

Merged
Merged
Show file tree
Hide file tree
Changes from 42 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f749adb
Register & require_once block variations
carstingaxion Sep 21, 2024
cb45d04
Include variations in webpack config & copy all php classes to build
carstingaxion Sep 21, 2024
8a3ee5f
Add TEST block-variation (to illustrate the idea)
carstingaxion Sep 21, 2024
7ff1c5f
NEW Block_Variation Trait
carstingaxion Sep 21, 2024
fb0da1c
Fix error: 'copy-webpack-plugin' should be listed in the project's d…
carstingaxion Sep 25, 2024
190a84c
Fix for CS
carstingaxion Sep 25, 2024
11a1bd0
NEW hooks to assert
carstingaxion Oct 1, 2024
ee4243a
Reduce to relevant values before return
carstingaxion Oct 1, 2024
9b99841
NEW test for get_block_variations() method
carstingaxion Oct 1, 2024
e5b8ea2
NEW unittest group "blocks"
carstingaxion Oct 1, 2024
52ef721
(WIP) NEW test for register_block_variations() method
carstingaxion Oct 1, 2024
f5acaf7
NEW test to check for the existence of pattern slugs in developer docs
carstingaxion Oct 1, 2024
527b5ce
NEW test for register_block_patterns() method
carstingaxion Oct 1, 2024
76c237c
Fix for CS
carstingaxion Oct 1, 2024
f18a2c1
NEW assertion
carstingaxion Oct 1, 2024
689e6da
(failing) NEW test for register_block_variations() method
carstingaxion Oct 1, 2024
25fb97d
Autoload one singleton per block variation
carstingaxion Oct 5, 2024
0e0bd98
Remove example block-variation
carstingaxion Oct 5, 2024
85c8d42
npm uninstall copy-webpack-plugin
carstingaxion Oct 5, 2024
1506d6e
Check if folder exists before processing
carstingaxion Oct 5, 2024
76c5268
BUILD
carstingaxion Oct 5, 2024
e466a0a
Merge branch 'main' into feature/block-variation-loading
carstingaxion Oct 5, 2024
8a8b92c
Fix for CS
carstingaxion Oct 5, 2024
1c60c65
Make sure to keep this folder (to avoid errors until the first block-…
carstingaxion Oct 5, 2024
2d62c27
Fix error due to non-existing variations folder
carstingaxion Oct 5, 2024
d50c636
Fix for CS
carstingaxion Oct 5, 2024
e4a54d1
Ignore phpstan-error until first block-variation is in place.
carstingaxion Oct 5, 2024
b92e3df
Some adjustments, cleanup, fix conflicts from develop.
mauteri Oct 12, 2024
6c9727a
Push update.
mauteri Oct 12, 2024
70d8823
Reverse.
mauteri Oct 12, 2024
9d22aa0
Resolve conflicts.
mauteri Oct 12, 2024
0bf75c4
Fix conflict.
mauteri Oct 12, 2024
fd5faea
Remove "<<<<..." left-over
carstingaxion Oct 13, 2024
f6c93b2
Move asset-methods into assets-class ;)
carstingaxion Oct 16, 2024
fcc06e3
Remove static keyword
carstingaxion Oct 16, 2024
5d76429
Fix failing tests
carstingaxion Oct 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/272.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/481.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/567-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading