Skip to content

Release Version v1.1.8

Latest
Compare
Choose a tag to compare
@drew7721 drew7721 released this 20 May 22:54
ea6b5ab

Key changes:

  1. New Feature:

    • Added a new plugin CmsBlockWrapper to wrap Magento CMS blocks with template hints.
  2. Template Update:

    • The template constant in WrapperInterface.php now includes an HTML id attribute for hints.
  3. Plugin Registration:

    • Updated etc/frontend/di.xml to register the new CmsBlockWrapper plugin for Magento\Cms\Block\Block.
    • Changed plugin names and sort orders for better clarity and execution order.
  4. Enhancements to Template Rendering:

    • AbstractWrapper.php now injects the block identifier as an HTML id.
  5. Frontend Improvements:

    • The info.phtml template displays more detailed layout information, including:
      • Layout cache ID
      • Lists of handles, containers, blocks, and design abstractions
      • Navigation link to page info
      • Enhanced display and organization of block/class data
  6. Styling Updates:

    • The LESS styles (_module.less) have been significantly expanded:
      • New color definitions for CMS blocks and pages.
      • Improved styling for block hints, containers, and navigation elements.
      • More user-friendly and visually distinct hint boxes and block info popups.

Summary:

  • The master branch introduces CMS block hinting, richer template and layout information for developers, and improved UI/UX for hints and layout info overlays.

Full Changelog: 1.1.7...master