drew7721 / module-templatehints Goto Github PK
View Code? Open in Web Editor NEWWill make your life easier when developing Magento 2 frontend layout
License: GNU General Public License v3.0
Will make your life easier when developing Magento 2 frontend layout
License: GNU General Public License v3.0
The block element has double wrapping. Once from the block rendering and once from the element rendering. The element should only show the containers.
Many blocks are added, moved and changed in multiple layout update handles.
It would be nice to know the one that actually rendered the template.
For instance, there are many catalog_product_view
layout handles that get merged together to create the layout. I wonder if there is a way to know which one had the last word on the block. This might not be possible so it needs to be investigated.
It would, however, be nice to know at least that it was the catalog_product_veiw
handle that generated the block. Especially if the block comes from a custom layout update handle.
Add a way of displaying more data information about the block.
Don't want the interface to be too polluted, so it would be nice that a Shift + click
or a Shift + hover
would display additional information about the current block.
This would be a js enhancement.
Add translations to the module.
Use require to add the JavaScript on the page.
Make sure that it's still only added/loaded if in developer mode.
It would be nice to know if the block belongs to a group or not.
<block class="Magento\Catalog\Block\Product\View\Attributes" name="product.attributes" as="additional" template="Magento_Catalog::product/view/attributes.phtml" group="detailed_info">
group="detailed_info"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.