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

Update v4 changelog #28

Merged
merged 25 commits into from
Nov 8, 2024
Merged

Update v4 changelog #28

merged 25 commits into from
Nov 8, 2024

Conversation

mike-sheppard
Copy link
Member

Summary

  • Update License to MIT everywhere
  • Remove unused checks since moving to field markup into a separate view
  • Update author info
  • Update changelog for v4

Levdbas and others added 25 commits November 5, 2024 17:44
Co-authored-by: Mike Sheppard <[email protected]>
* Add support for hashed assets

1. This hopefully simplifies our checks a bit as we're already gathering most of this info within `svg_collector()`, so we shouldn't need to check again.

2. By saving the full path in `svg_collector()` we can provide support for hashed assets eg. `arrow-left.524a72.svg`

```php
"arrow left" => [
    "name" => "arrow left"
    "filename" => "arrow-left.524a72"
    "icon" => "arrow-left.524a72.svg"
    "url" => "/dist/editor/images/icons/admin-picker/arrow-left.524a72.svg"
]
```

3. Also, might be better to save an ID (`sanitize_key($name)`) of the icon to the ACF field instead of the name?

* Fix filters

* Use sanitized key for ACF field val instead 'name'

* Bring back normalized title in filter

* Fix icon array check

* Support legacy field values

* README tweaks - add filters + release links

* Fix phpcs config, igmore `*/wp-content/*`

* Add missing void return type

* Move js, css & extract views into resources

* Add composer aliases/nicknames

* Fix silly typos

* Add Test: check sanitised and legacy (unsanitised) acf values
* Add missing return types + simplify acf field view phpstan issues

* Fix logic typo + encode plus symbol

* Update versions
@mike-sheppard mike-sheppard merged commit e17587e into main Nov 8, 2024
6 checks passed
@mike-sheppard mike-sheppard deleted the update-changelog branch November 8, 2024 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants