Fix the Ifs breaking layouts in Service Studio
56
Views
3
Comments
New
Service Studio

Service Studio is supposed to be a WYSIWYG IDE. However, when working with things displayed in conditional situations, the layouts tend to shrink, resize, warp, or whatever else, breaking the preview. Example:

This search with filters section is something very common to be found in many apps. This is a screenshot from the preview in Service Studio, and matches exactly what renders on the website after publishing.

 However a requirement came up to hide the bottom two under a role check, wrapping them in an If to only display them if they come up True:


If published, rendered it looks fine, but the preview in Service Studio breaks

There are some tricks; wrap the If in a container, put an empty container in the False branch... but those are just workarounds which shouldn't be necessary (and sometimes, as in the screenshots, they don't work)

The idea, in short, is: make Service Studio render the contents as the CSS rules say it will render, If or no If

This feedback is better given using the feedback feature in Service Studio.

I entirely agree Daniel, however, I can't he the first, fifth or hundredth dev to have this feedback, and it's an issue I remember since I started with the platform almost 10 years ago now. 


It does need a fix as it turns screens hard to navigate, hard to read, and slows development as a result. 

And it is even worse on mobile, where we crap so much stuff on a screen it is almost never WYSIWYG.