kiln / flourish-sdk

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

Allow user to specify Flourish.environment in the SDK #43

Open theduncanclark opened 6 years ago

theduncanclark commented 6 years ago

On /preview Flourish.environment should be "preview" (as per the app), not "sdk".

robinhouston commented 6 years ago

Shouldn’t the SDK let you test with different values of Flourish.environment?

Maybe we should retire “sdk” as an option – why would one want to make a template behave differently in the SDK? – and add a drop down menu or something.

robinhouston commented 6 years ago

PS. I’ve removed the bug label, since this is working as designed, though I agree the design isn’t ideal!