Releases: timmyomahony/craft-matrix-field-preview
New action menu dropdown button
Adding Craft 5.6 version constraints
The previous Matrix Field Preview release (5.2.0
) didn't have a constraint on the compatible Craft version. Craft 5.6
is required for Matrix Field Preview >= 5.2.0
.
This is because we are now making use of the "read only" settings page, only introduced in Craft 5.6
.
Please downgrade Matrix Field Preview to 5.1.0
in the meantime if you don't have an up-to-date Craft version.
Fixing issue with plugin settings visibility in production
Bug 🪲
This was released without a constraint on the compatible Craft version. Craft 5.6 is required for this release (support for read-only settings page functionality)
Fixed
- The icon for the plugin wasn't appearing in the settings page when "allow admin changes" was false, making it unclear that you can always edit your previews in production. This has been fixed.
- The breadcrumbs in the settings page were malformed and have now been fixed to make the settings page experience more consistant with other plugins.
Button labels, icons & bugfixes
Added
Added ability to configure each matrix field preview setting individually, adding ability to have custom features like ...
- New "button label" field that lets you customise the text of the preview button on a per-field basis. Previously this was only possible at a "global" level via translations (see issue #135).
- New button icons that let you customise the look of the preview button.
Also added the ability to disable particular previews so that they don't show in the modal.
Changed
- Preview modal sidebar will only show when a block has been assigned to a category.
- Preview modal sidebar only shows categories now that have a block assigned to them.
- Changed nested Neo blocks to insert new blocks at the end rather than the start of the parent block.
Fixed
- Fixed a bug with the preview button not properly "taking over" the default button.
- Fixed layout issue with button when pasting a matrix field (issue #136).
Fix for Neo field takeover issue
Fix for Neo field takeover issue
Fixed
- Fix for Neo field takeover CSS issue (Issue #129)
Craft 5 support
Added
- Craft 5 support
🚨 Please Read Before Updating
We need to reset the Matrix Field Preview data as part of the Craft 5 upgrade. Unfortunately there's no way to migrate existing data from version 4 to 5, due to the changes in matrix fields in Craft 5 (specifically the migration from "block types" to "entry types").
Therefore, after updating to version 5 you'll need to re-enter titles, descriptions and images for the entry types within your matrix fields. Neo fields are unaffected, as is any other data on your site.
Currently, only the "block" view for matrix fields is supported. Support for the "card" and "element index" views will follow shortly in a future update (5.1). This is due to requiring some additions in the Craft codebase to be able to detect these new views in the Craft CP Javascript environment.
Fixed
Support for "enabled"/"disabled" setting in Neo fields
Added support for GIF when transforms are disable
Added
- Support for GIFs when transforms are disabled (issue #119). See the troubleshooting docs for more on issues with GIFs.
Updated branding & icon as well as a new documentation site
No new features, but the plugin has brand new branding better suited to the Craft CMS aesthetic. So you'll notice a shiny new icon in the Craft settings page.
I've also created a new dedicated documentation website which will allow for much better developer experience.
The Github repo has moved to my personal account timmyomahony/craft-matrix-field-preview
but nothing should change from the outside.