ho-nl / magento2-Ho_Templatehints

H&O Magento 2 Advanced Template Hints module
BSD 2-Clause "Simplified" License
269 stars 68 forks source link

Setting for disabling the ?ath=1 parameter #22

Open royvanos opened 7 years ago

royvanos commented 7 years ago

Just a minor feature request which would make the workflow of frontend developers a bit faster and easier.

I've recently been doing frontend development and Jisse from @yireo recommended this module to me, but every time I want to inspect blocks I have to add the URL parameter to do so, wouldn't it be nicer if there was a setting for enabling/disabling the URL parameter so you can inspect elements right away if the developer wishes to?

I can supply you with the code if this idea sounds good to you!

stianmartinsen commented 7 years ago

I think this is a good idea. In the meantime, a bookmarklet that adds this suffix to the URL is a good way to speed things up.

paales commented 7 years ago

I understand what you mean, but before we can add a 'always enable' feature we need to fix the integration with the HTML. At the moment it still adds a lot of attributes to all the elements, which causes a lot of noise.