Vinai Kopp
Vinai Kopp
@rav-redchamps Also refactored the block logic into an abstract base class, with `Block\Adminhtml\HyvaGrid` and`Block\FrontendHyvaGrid` extending it. See https://github.com/hyva-themes/magento2-hyva-admin/tree/main/Block Also moved the `di.xml` and `events.xml` to global scope.
@rav-redchamps And finally replaced the Backend\UrlInterface with the generic one. Thanks you very much for exploring what needed to be changed. I haven't tested using the grid on the frontend,...
What is still missing for frontend grids to be a thing? - hyva theme grid adapter module with a frontend JS initialization and template - maybe a luma theme grid...
I was wondering about this, too. Often the features interleave, for example, when massactions are defined, the extra column at the beginning needs to be rendered for the table header,...
@adamkarnowka Thank you for your input. You are right, currently there is no way to add buttons inside the grid. I've been pondering the issue of extensibility. Because simplicity is...
@adamkarnowka FYI I've added grid buttons, they still need styling so they haven't been merged just yet.
> I am currently building new extension which will use hyva-grids heavily so as work progresses, there will probably come some new ideas. Looking forward to hearing them very much!
@adamkarnowka FYI because you mentioned them, button support is in the just released 1.0.6.
@adamkarnowka Thanks for your offer to make a PR! Because the core deprecated custom blocks, it might be better to add a child element to add viewModels. They can provide...
Thanks for bringing this up, @indefinitedevil I'd be willing to merge a PR that extracts all anonymous classes into named classes, but at the moment I don't have time to...