BristolMyersSquibb / blockr

Composable, extensible no-code UI
https://bristolmyerssquibb.github.io/blockr/
GNU General Public License v3.0
32 stars 3 forks source link

Support htmlwidgets output #321

Open JohnCoene opened 6 months ago

JohnCoene commented 6 months ago

Support htmlwidgets output (ploty, highcharter, echarts4r, etc.)

JohnCoene commented 6 months ago

To clarify, perhaps something we can do to simplify implementation, currenty, AFAIK it requires a few methods to make it work, e.g.: see blockr.echarts4r

JohnCoene commented 6 months ago

Initial work done on 312-htmlwidgets branch.

Issue is with uiOutputBlock method where we cannot guess the htmlwidget's output function like can be done for the renderer (server_output).

https://github.com/blockr-org/blockr/blob/00e3c10e16d9adc7b2f25c8e3cf02a503d399640/R/server.R#L631