Something that I run into every now and then is that it is important to have some visual que that you are in acceptance, test of local.
Or which role you are using.
or want to add a class to the top level layout dynamicly
Mendix is very good at putting page classes and layout classes high in the DOM tree.
The idea is either:
have mendix automatically add a class to the top level of the DOM per enviroment and role
somehow have a way to do this with microflows and dynamic classes.
I agree, that would be nice.
You could use constants in dynamic classes to achieve this, unfortunately, we cannot use them outside a data container.
ok so after talking with the Council of UX (props to Marnix, Tim & Sytze)
rol is already set on the DOM
adding enviroment would also be nice if done the same way :D