Bug report:
If you have component instance, you canât set a condition for it. So as soon as you have a component you canât set condition for each instance.
I have the feeling these components will not reach a usable state within a year from now. Bricks 2.0 seems to miss the chance to do a major cleanup and remove the flaws and restrictions in the background.
We added some of your improvements in Bricks 2.0 RC, which is now available in your account.
Best to check the changelog: Bricks 2.0-rc Changelog â Bricks
Please let us know if you are still experiencing issues or have suggestions for improvement.
As with any pre-stable release, please do not use it on a production/live website. It is only meant for testing in a local or staging environment.
I agree, we should be able to set condition on the component instance, i couldnt find a way to do that even in the latest rc. Only way is to unlink the component and set the condition
Then it is not a component instance anymore. That doesnât make sense.
I donât understand in general, why Bricks component instances behave so much different and have so many specialities, when they should mostly behave like an any other element.
Just the backend should build the output based on the instructions from a unique place.
A use case for instance, you have a section component that you would only like to show a particular instance if a certain condition is met e.g if the url contains a certain parameter.
HI @emmanuelson, you should be able to connect a property to the condition, then you can show / hide single instance it based on a property. But yes, if you just add a condition there, without property, it will affect all component instances.
Why canât we just set a condition on the instance? Thatâs my feature request. Itâs far from a streamlined experience and steepens the learning curve, when having so many additional steps. Element level condition are well known now.
yeah, the current implementation does not support adding conditions directly to the component instance, only via properties.
Letâs see how many users will request this.
That doesnât even work in v2.0 RC to hide a component at instance level, only sub-parts of a component.
The context menu does not allow you to hide the root element in the component editor. Thus, you canât link a toggle property to the root element and hide it on instance level. So the proposed solution does not work here.
Right, that is the only way that works. While the context menu would suggest that itâs not supported at all.
So, the context menu is missing the entry.