Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Preparation for grids mako removal #4101
This PR enhances the grids helper such that grids can be built without using makos. Instead of returning an HTML string controller endpoints may now optionally return JSON. This allows us to transform grids one-by-one to the new mako-less format. This PR demonstrates this strategy with the published page list grid. A major difference between the previous HTML string / mako model and this structure here is that all grid operations will become async in the process hence avoiding page reloads. Another benefit is that the grid is loaded without the iframe. Once all grids operate without makos, the next step would be to transfer the pagination to the client side and continuously degrade the content provided through the response dictionary until the client side can take over and build grids through regular API endpoints.