kiln / flourish-sdk

The SDK for developing Flourish templates
Other
80 stars 16 forks source link

Cloned cards viz not revealing conditional settings block #81

Open h-robertson opened 2 years ago

h-robertson commented 2 years ago

Very minor issue but I’m finding when I clone this visualization to the SDK, the Audio settings block that appears in the app, isn’t showing in the SDK.

Screenshot 2022-03-22 at 15 58 56

The Audio block should appear when: show_if: data.cards.audio.

It doesn’t seem to happen with a settings block that is revealed based on another setting (rather than a binding) — unsure if this is the reason why! For example, cloning a LBP viz in grid of charts mode (that reveals the Grid of charts settings block) works fine. The Grid of charts block is revealed if:

show_if:
      facet_layout: facets
peterrcook-canva commented 1 year ago

Related to https://github.com/kiln/flourish-sdk/issues/49 (I think!)