Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed-widget code previews for use in docs #2213

Open
mofojed opened this issue Sep 9, 2024 · 1 comment
Open

Embed-widget code previews for use in docs #2213

mofojed opened this issue Sep 9, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@mofojed
Copy link
Member

mofojed commented Sep 9, 2024

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 mofojed added enhancement New feature or request triage Issue requires triage labels Sep 9, 2024
@vbabich vbabich added this to the September 2024 milestone Sep 10, 2024
@vbabich vbabich removed the triage Issue requires triage label Sep 10, 2024
@vbabich
Copy link
Collaborator

vbabich commented Sep 10, 2024

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

@mofojed mofojed modified the milestones: September 2024, October 2024 Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants