I know you guys are working on the documentation/videos, just sharing a few notes about stuff I’d find useful as I try to wrap my head around this new feature set (the complexity of what’s possible increased dramatically with this release, so it’s a little tougher to just “get” on first glance).
No need to respond to these all here. These are mostly just brain dumps of things that I wondered about, but couldn’t figure out, in the current drafts of the docs.
Parameters
- I’d find it useful to have examples illustrating real world use-cases for the different settings.
- What are all the possible
type
values? - Is there a way to mimic the base/interaction color picker?
- Is there a way to reference global colors as the initial value for colors?
- Can parameters be used to turn on/off things like the sub headline controls? Or to turn on/off padding? etc.
- In the section referencing the Conditions logic, I’d like to suggest using a different example than the one that includes a
side
parameter. Reason being is that earlier in the documentation, you talk about things to the "left “side” of the:
and the “right side” of the:
. So I got super confused in the example that referencesleft
andright
andside
as a parameter name too in the conditional logic, because I kept thinking the example had to do with the left and right side of the:
explanation. So another real-world example would be super helpful here too.
Also, are Parameters currently intended for the use-case of setting a global value and being able to reference that in any component (for example, being able to set a specific text value that shows up in a bunch of different places, etc.)? Or is that something more for one of the future releases you’re working on?
Components
- Can you share some more about how the Private setting is useful? With maybe an example?
- Do you have recommendations for how to handle something like wanting to have 3 different styles of a button that all maintain the exact same padding and shape – but have different styling for colors? For example, a Primary Button, Secondary Button, and Ghost Button that all have the exact same setup, but different colors depending on the type. Would this be a scenario where using the power of the parameters could help – like maybe set up a
type : select
parameter with condition logic for the different colors for different types of buttons? - The explanation of how to access section components within the builder would be handy too
––
I’ll just tack on to this thread if think of any others. Thanks!