Blocksmith
Version 1.2.4
Fixed
- Preview jump when initializing Masonry (Thanks to David (@davidwebca) for the contribution!)
- Filtering of child Matrix elements; ensure only enabled Matrix fields are displayed in the modal (Thanks to David (@davidwebca) for the contribution!)
Improvement
- Ensure only block types assigned to the current Matrix field are displayed in the modal.
- Categories are properly filtered and displayed based on visible blocks when opening the modal.
Version 1.2.3
Added
- Compatibility with Matrix Extended: Matrix Extended's context menu button and button group are displayed when preview modal is disabled for a Matrix field.
Version 1.2.2
- Fixed typo in translation.
Version 1.2.1
- New Feature: Option to enable or disable previews for specific Matrix fields, improving workflow in nested Matrix setups.
Version 1.2.0
Highlights
This marks the end of the beta phase for Blocksmith! With this stable release, we've introduced categories for blocks, enhanced the user experience in the preview modal, and ensured robust performance.
Added
- Categories for Blocks: Users can now assign and manage categories for block types. Categories appear in the preview modal, allowing for streamlined filtering and faster block selection.
- Improved Preview Modal: Includes better category navigation and dynamic layouts powered by Masonry.js.
- Stability Improvements: Finalized functionality and bug fixes to ensure a stable, production-ready release.
Version 1.1.1-beta
Added support for new languages: ar, cs, da, el, fi, he, ja, ko, pl, sv, tr, zh
Version 1.1.0-beta
Highlights
This release introduces the flexible image upload for block previews and makes the Block Settings page under "Configure Blocks" fully functional. Additionally, significant improvements to the user experience have been made, including the ability to choose between handle-based and uploaded preview images.
Added
- Flexible Preview Images for Blocks:: In addition to handle-based preview images, users can now upload custom preview images directly via the Craft Asset Browser. Both handle-based and custom preview images are supported, offering greater flexibility in managing block previews.
- Block Settings Page:: The "Configure Blocks" section is now fully functional, allowing users to manage block descriptions and, if handle-based previews are disabled, upload or modify preview images.
- Preview Modal Improvements:: Added an option to display 3 blocks per row in wide viewports (≥1178px). The default remains 2 blocks per row.
Improved
- Usability:: Automatic selection of a default volume for handle-based preview images prevents misconfigurations.
- Performance:: Improved AJAX requests for fetching and displaying block data and preview images, ensuring a faster and more reliable experience.
Fixed
- Resolved an issue where handle-based preview images were not recognized if no volume was selected.
- Minor UI issues on the Block Settings page have been addressed.
Version 1.0.7-beta
Added
- Added a preview version of the Block Settings page, laying the groundwork for upcoming features.
- Full functionality will be introduced in a future release within the next few days.
- Prepared the structure for database migrations to support future features and enhancements.
- These migrations are currently inactive and will be rolled out in subsequent updates.
Improvements
- Refactored the settings structure to support multi-page settings views.
- Minor code improvements for better readability and maintainability.
Version 1.0.6-beta
Added
- Masonry.js integration for flexible previews.
- Improved block layout in the preview modal.
- Switched to local asset loading for Masonry.js and imagesLoaded.js.
Version 1.0.5-beta
Update button label logic to use Matrix field settings or default to 'New Entry'
Version 1.0.4-beta
Adjusted CSS to display blocks in a two-column grid layout
Version 1.0.3-beta
Removed obsolete _settings folder
Version 1.0.2-beta
Small optimizations in CHANGELOG.md and README.md. Added skeleton for settings page.
Version 1.0.1-beta
Fixed
- Fixed an issue where the "Add block above" button in the context menu was occasionally not disabled when the maximum number of entries was reached.
Updated
- Additional optimizations and refactoring of the blocksmith.js file for better maintainability and performance.