{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter-widgets/ipywidgets/issues/1387","repository_url":"https://api.github.com/repos/jupyter-widgets/ipywidgets","labels_url":"https://api.github.com/repos/jupyter-widgets/ipywidgets/issues/1387/labels{/name}","comments_url":"https://api.github.com/repos/jupyter-widgets/ipywidgets/issues/1387/comments","events_url":"https://api.github.com/repos/jupyter-widgets/ipywidgets/issues/1387/events","html_url":"https://github.com/jupyter-widgets/ipywidgets/pull/1387","id":231064629,"number":1387,"title":"[WIP] Embed code generation from Python","user":{"login":"vidartf","id":510760,"avatar_url":"https://avatars0.githubusercontent.com/u/510760?v=3","gravatar_id":"","url":"https://api.github.com/users/vidartf","html_url":"https://github.com/vidartf","followers_url":"https://api.github.com/users/vidartf/followers","following_url":"https://api.github.com/users/vidartf/following{/other_user}","gists_url":"https://api.github.com/users/vidartf/gists{/gist_id}","starred_url":"https://api.github.com/users/vidartf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidartf/subscriptions","organizations_url":"https://api.github.com/users/vidartf/orgs","repos_url":"https://api.github.com/users/vidartf/repos","events_url":"https://api.github.com/users/vidartf/events{/privacy}","received_events_url":"https://api.github.com/users/vidartf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-05-24T14:43:09Z","updated_at":"2017-05-24T16:21:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jupyter-widgets/ipywidgets/pulls/1387","html_url":"https://github.com/jupyter-widgets/ipywidgets/pull/1387","diff_url":"https://github.com/jupyter-widgets/ipywidgets/pull/1387.diff","patch_url":"https://github.com/jupyter-widgets/ipywidgets/pull/1387.patch"},"body":"Adds functions to the Python side API for generating embeddable javascript/HTML representation of the widgets. Based on code from [ipyvolume](https://github.com/maartenbreddels/ipyvolume/blob/master/ipyvolume/embed.py).\r\n\r\nResolves #1241.\r\n\r\n### TODOs\r\n\r\n - [ ] Documentation\r\n - [ ] Tests\r\n - [x] Figure out source of error: `Could not create model: Model name: DescriptionStyleModel` that appears regularly for full saves."},"comment":{"url":"https://api.github.com/repos/jupyter-widgets/ipywidgets/issues/comments/303775977","html_url":"https://github.com/jupyter-widgets/ipywidgets/pull/1387#issuecomment-303775977","issue_url":"https://api.github.com/repos/jupyter-widgets/ipywidgets/issues/1387","id":303775977,"user":{"login":"vidartf","id":510760,"avatar_url":"https://avatars0.githubusercontent.com/u/510760?v=3","gravatar_id":"","url":"https://api.github.com/users/vidartf","html_url":"https://github.com/vidartf","followers_url":"https://api.github.com/users/vidartf/followers","following_url":"https://api.github.com/users/vidartf/following{/other_user}","gists_url":"https://api.github.com/users/vidartf/gists{/gist_id}","starred_url":"https://api.github.com/users/vidartf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidartf/subscriptions","organizations_url":"https://api.github.com/users/vidartf/orgs","repos_url":"https://api.github.com/users/vidartf/repos","events_url":"https://api.github.com/users/vidartf/events{/privacy}","received_events_url":"https://api.github.com/users/vidartf/received_events","type":"User","site_admin":false},"created_at":"2017-05-24T16:21:18Z","updated_at":"2017-05-24T16:21:18Z","body":"@maartenbreddels : I figured if someone wanted more custom HTML, they could simply use the snippet code, and then wrap it themselves (`embed_minimal_html` is mostly intended as a dev tool).\r\n\r\nHaving the url overridable sounds like a decent idea."}}
{"actor":{"display_login":"vidartf"}}