choko icon indicating copy to clipboard operation
choko copied to clipboard

Empty Regions

Open lucasconstantino opened this issue 11 years ago • 5 comments

As for today, when layout is parsing recursively through rows and columns it doesn't mind printing markup for regions that don't have content. This pull request changes that by recursively identifying empty regions (row/columns). It also introduces a region attribute called alwaysVisible that when set to true will cause a region wrapper to be output even when it has no content; mostly useful in cases when the extra markup is required for styling purposes.

This pull request relies on the code introduced by the #133 pull-request, so it should only be merged if the other one has already being merged.

lucasconstantino avatar Jul 15 '14 02:07 lucasconstantino

Hello @lucasconstantino, this looks like a good improvement. I've added some inline comments.

I've seen this depends on the "responseAlter" patch and its changes are bundled here too. I'll leave comments about that to the other thread.

recidive avatar Jul 15 '14 03:07 recidive

Once you approve the other pull-request, it is probable that the changes present in this pull-request will reduce to the actual difference - not sure though.

lucasconstantino avatar Jul 15 '14 18:07 lucasconstantino

You might be right. But there were changes on the other pull request, that will require some adjustments here.

Anyway, we are very close to integrate both :)

recidive avatar Jul 15 '14 20:07 recidive

Hello Lucas, please take a look at my inline comments, this is almost ready to go just needs a few tweaks, but it depends on #133.

recidive avatar Jul 17 '14 19:07 recidive

Needs to be re-rolled and also some RouteController related code need to be removed. I believe we will need a rebase and a push to a clean branch here. Maybe a rebase and a squash.

recidive avatar Sep 02 '14 18:09 recidive