Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
7c37215
WIP: add add-on plugin
mlwilkerson Oct 10, 2025
63871d8
WIP: extracting zip contents
mlwilkerson Oct 10, 2025
b3da216
remove obsolete code
mlwilkerson Oct 10, 2025
f60068a
use style_shorthand
mlwilkerson Oct 10, 2025
25787eb
write metadata file names of icon names for all styles
mlwilkerson Oct 10, 2025
0c8f515
enqueue FA Pro css
mlwilkerson Oct 10, 2025
e3d828d
hack the fa_version to make things show up in the icon library
mlwilkerson Oct 10, 2025
3bf6926
remove container name in docker-compoose.yml
mlwilkerson Oct 11, 2025
dd91bae
WIP
mlwilkerson Oct 11, 2025
39d490c
initial implementation of a FontAwesome_Elementor_Data_Manager
mlwilkerson Oct 11, 2025
e22292f
wire-up svg rendering
mlwilkerson Oct 11, 2025
dee1e92
remove some error_logs
mlwilkerson Oct 11, 2025
133de35
use a library name starting with fapro- to avoid confusion with fa-
mlwilkerson Oct 11, 2025
19691cb
add comments and filter
mlwilkerson Oct 11, 2025
009b99c
bring back the css
mlwilkerson Oct 11, 2025
1f02045
refactor definitions for the setup with the web archive
mlwilkerson Oct 11, 2025
4029f71
more DRY
mlwilkerson Oct 11, 2025
afa19fe
use additional_tabs instead
mlwilkerson Oct 11, 2025
1f2670e
Add a placeholder script
mlwilkerson Oct 14, 2025
c1a2add
remove obsolete code
mlwilkerson Dec 31, 2025
3d69fe6
eliminate prefix for file entries in kit download zips
mlwilkerson Dec 31, 2025
5b01884
add kit shorthands
mlwilkerson Dec 31, 2025
d62b57b
change the name of the temp download kit.zip file
mlwilkerson Dec 31, 2025
bf21c4e
eliminate the data manager singleton
mlwilkerson Dec 31, 2025
701cf9a
use a closure for the render_callback
mlwilkerson Dec 31, 2025
1e80c07
abbreviate library names
mlwilkerson Dec 31, 2025
aa10162
refactor
mlwilkerson Dec 31, 2025
967e6c1
add autoload.php module
mlwilkerson Jan 2, 2026
6bcbd03
configure a composer dependency of wordpress-fontawesome-lib
mlwilkerson Jan 2, 2026
d2c2dc3
autoload composer vendor
mlwilkerson Jan 2, 2026
587cbeb
partial migration to psr-4 autoloading
mlwilkerson Jan 2, 2026
29e5b2b
reduce what all is set in configure-debugging
mlwilkerson Jan 3, 2026
367207e
don't exclude wp-dist from the docker mounted volumes
mlwilkerson Jan 3, 2026
d0f6856
Create scoper.inc.php
mlwilkerson Jan 3, 2026
da68270
update composer config for the test script to use uopz extension
mlwilkerson Jan 5, 2026
15ca9e8
remove obsolete code
mlwilkerson Jan 7, 2026
efc02d6
WIP: migrating to to use wordpress-fontawesome-lib and cleanup
mlwilkerson Jan 8, 2026
fd5310b
setup autoload for fontawesome-elementor-addon
mlwilkerson Jan 8, 2026
f5acc85
store a plugin option with the relative kit assets dir
mlwilkerson Jan 8, 2026
09c0ff5
rename add-on as addon
mlwilkerson Jan 8, 2026
0a4ec19
Create Notice.php for an Elementor-styled WP admin dashboard notice
mlwilkerson Jan 8, 2026
4a48ab3
more renaming of add-on to addon
mlwilkerson Jan 9, 2026
51ea1af
handle possible absent vendor/autoload.php
mlwilkerson Jan 9, 2026
034477e
rework prototype implementation for set up of icon library using kit
mlwilkerson Jan 9, 2026
950eae6
update bin/setup script to always run composer install inside the docker
mlwilkerson Jan 9, 2026
61a2479
rename basename as file_stem
mlwilkerson Jan 9, 2026
baa232c
complete initial implementation using wordpress-fontawesome-lib for SVG
mlwilkerson Jan 9, 2026
7bdffd3
add comment
mlwilkerson Jan 9, 2026
a879c8e
Update to use new Family_Style_Collection API
mlwilkerson Jan 10, 2026
ad81a0f
Add Options class
mlwilkerson Jan 10, 2026
dffc8a4
Create uninstall.php
mlwilkerson Jan 10, 2026
9d39a41
Use Options class in main plugin file
mlwilkerson Jan 10, 2026
ea1dae7
update plugin header comments
mlwilkerson Jan 10, 2026
146f118
cleanup unused code
mlwilkerson Jan 10, 2026
6c42b72
fix a validation
mlwilkerson Jan 10, 2026
12ecac8
WIP: creating a new singleton main class
mlwilkerson Jan 10, 2026
190fe57
remove obsolete JS
mlwilkerson Jan 11, 2026
1d1d2ac
WIP: re-organizing into a proper plugin layout
mlwilkerson Jan 11, 2026
6df6a93
refactoring
mlwilkerson Jan 11, 2026
0c4bfc7
consolidate require_once into autoload.php
mlwilkerson Jan 11, 2026
22162b9
WIP: migration complete but editor styles not working
mlwilkerson Jan 11, 2026
1f800ab
WIP: refactoring
mlwilkerson Jan 12, 2026
c760d7d
switch to element/init for the main hook
mlwilkerson Jan 12, 2026
7dd600c
more refactoring and fixing hooks for enqueueing CSS
mlwilkerson Jan 12, 2026
a7e767f
WIP: wiring up toast for notifications in Elementor editor
mlwilkerson Jan 13, 2026
65f8503
refactor toast messaging
mlwilkerson Jan 13, 2026
5cce749
remove debug output
mlwilkerson Jan 13, 2026
66f35ab
kit_metadata validation and toast error reporting
mlwilkerson Jan 13, 2026
212e7c9
remove obsolete code
mlwilkerson Jan 13, 2026
b760a22
remove obsolete code
mlwilkerson Jan 13, 2026
a7731d7
rename md as kit_metadata
mlwilkerson Jan 13, 2026
3b4bba9
use private methods and arrow functions for init action hooks and
mlwilkerson Jan 13, 2026
39416bb
move editor.js under assets
mlwilkerson Jan 13, 2026
6066c52
Add a svg.css to fix SVG formatting for FA7
mlwilkerson Jan 13, 2026
4f95f4b
refactor CSS loading
mlwilkerson Jan 13, 2026
45a9a02
rename svg.css as style.css
mlwilkerson Jan 13, 2026
2856587
Add inline style at higher specificity to fix width for <i> tags
mlwilkerson Jan 13, 2026
1f69e15
initialize a settings page
mlwilkerson Jan 13, 2026
9ebe24d
update settings page sanitization to merge values instead of overwriting
mlwilkerson Jan 13, 2026
cff7f28
rename Settings as Settings_Page
mlwilkerson Jan 13, 2026
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
10 changes: 1 addition & 9 deletions bin/configure-debugging
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,7 @@ echo "Adding WordPress debug configuration..."
wp_cli config set WP_DEBUG true \
&& wp_cli config set WP_DEBUG_LOG true \
&& wp_cli config set SCRIPT_DEBUG_LOG true \
&& wp_cli config set WP_DEBUG_DISPLAY false \
&& wp_cli config set SAVEQUERIES true \
&& wp_cli plugin install debug-bar \
&& wp_cli plugin install debug-bar-console \
&& wp_cli plugin install debug-bar-constants \
&& wp_cli plugin install debug-bar-actions-and-filters-addon \
&& wp_cli plugin install debug-bar-transients \
&& wp_cli plugin install debug-bar-list-dependencies \
&& wp_cli plugin install debug-bar-remote-requests
&& wp_cli config set WP_DEBUG_DISPLAY false

if [ "$?" == "0" ]; then
echo "ok."
Expand Down
7 changes: 7 additions & 0 deletions bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ else
. .env.local
fi

$DIR/composer -c ${WP_CONTAINER} install

if [ "$?" != "0" ]; then
echo "WARNING: composer install failed inside the docker container."
exit 1
fi

$DIR/env -c ${WP_CONTAINER} /tmp/add-hosts.sh

if [ "$?" != "0" ]; then
Expand Down
37 changes: 34 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"support": {
"email": "hello@fontawesome.com"
},
"minimum-stability": "beta",
"minimum-stability": "dev",
"prefer-stable": true,
"archive": {
"exclude": [
"/images",
Expand Down Expand Up @@ -75,7 +76,7 @@
"scripts": {
"phpcs": "phpcs --standard=.phpcs.xml",
"phpcbf": "phpcbf --standard=.phpcs.xml",
"test": "phpunit",
"test": "@php -d extension=uopz $COMPOSER_VENDOR_DIR/bin/phpunit",
"clean": "rm -fR wp-dist && rm -fR admin/build && rm -fR block-editor/build && rm -fR classic-editor/build && rm -fR icon-chooser/build && rm -fR vendor && rm -f font-awesome.zip",
"build.admin": "cd admin; npm install && npm run build",
"build.block-editor": "cd block-editor; npm install && npm run build",
Expand All @@ -90,5 +91,35 @@
"symfony/flex": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
},
"require": {
"fortawesome/wordpress-fontawesome-lib": "*"
},
"autoload": {
"psr-4": {
"FortAwesome\\": "includes/"
},
"classmap": [
"includes/class-fontawesome-release-provider.php",
"includes/class-fontawesome-metadata-provider.php",
"includes/class-fontawesome-api-settings.php",
"includes/class-fontawesome-resource.php",
"includes/class-fontawesome-config-controller.php",
"includes/class-fontawesome-api-controller.php",
"includes/class-fontawesome-preference-conflict-detector.php",
"includes/class-fontawesome-preference-check-controller.php",
"includes/class-fontawesome-conflict-detection-controller.php",
"includes/class-fontawesome-exception.php",
"includes/class-fontawesome-command.php",
"includes/class-fontawesome-svg-styles-manager.php",
"includes/class-fontawesome-svg-styles-manager.php"
]
},
"repositories": [
{
"type": "path",
"url": "../wordpress-fontawesome-lib",
"options": { "symlink": true }
}
]
}
Loading
Loading