web-client-ui icon indicating copy to clipboard operation
web-client-ui copied to clipboard

Embed-widget code previews for use in docs

Open mofojed opened this issue 1 year ago • 1 comments

We should be able to link to an embed widget URL that runs a snippet of code and displays the result. Some suggestions to investigate:

  • Query parameter code that takes a base64 encoded string and runs it, then displays the result (similar to something like Monaco playground with their code links)
  • POST message with the code
    • May need a separate endpoint
  • IFrame postMessage to the embed widget
  • Something else?

mofojed avatar Sep 09 '24 14:09 mofojed

There should be a param to select which objects to show and in what order.

vbabich avatar Sep 10 '24 15:09 vbabich