{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/jupyter-js-plugins/issues/130","repository_url":"https://api.github.com/repos/jupyter/jupyter-js-plugins","labels_url":"https://api.github.com/repos/jupyter/jupyter-js-plugins/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/jupyter-js-plugins/issues/130/comments","events_url":"https://api.github.com/repos/jupyter/jupyter-js-plugins/issues/130/events","html_url":"https://github.com/jupyter/jupyter-js-plugins/issues/130","id":143102805,"number":130,"title":"Move transformime to be a service in the application","user":{"login":"jasongrout","id":192614,"avatar_url":"https://avatars.githubusercontent.com/u/192614?v=3","gravatar_id":"","url":"https://api.github.com/users/jasongrout","html_url":"https://github.com/jasongrout","followers_url":"https://api.github.com/users/jasongrout/followers","following_url":"https://api.github.com/users/jasongrout/following{/other_user}","gists_url":"https://api.github.com/users/jasongrout/gists{/gist_id}","starred_url":"https://api.github.com/users/jasongrout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasongrout/subscriptions","organizations_url":"https://api.github.com/users/jasongrout/orgs","repos_url":"https://api.github.com/users/jasongrout/repos","events_url":"https://api.github.com/users/jasongrout/events{/privacy}","received_events_url":"https://api.github.com/users/jasongrout/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-23T23:09:22Z","updated_at":"2016-03-23T23:38:31Z","closed_at":null,"body":"In order for the widget manager to be at the notebook plugin level, we need the output renderer (transformime) to also be at that level so that the widget manager can register a renderer for the `application/vnd.jupyter.widget` mimetype.\r\n\r\nHere's a quick sketch of a plan of action:\r\n\r\n1. Move transformime from the jupyter-js-notebook repo up to this repo, perhaps in the notebook plugin directory for now. Eventually, we might make it a separate service provided by a plugin?\r\n2. In the notebook plugin.ts file, construct the transformime instance and pass it to the notebook. We'll have to change the notebook widget to accept a transformime instance that it will use to render outputs.\r\n3. Construct the widgetmanager and make a new transformime renderer that uses the widget manager to render the mimetype `application/vnd.jupyter.widget` (with data being the model id, and returning a phosphor widget). Register this new transformime renderer.\r\n\r\nCC @afshin, @blink1073, @jdfreder, @sccolbert."},"comment":{"url":"https://api.github.com/repos/jupyter/jupyter-js-plugins/issues/comments/200583571","html_url":"https://github.com/jupyter/jupyter-js-plugins/issues/130#issuecomment-200583571","issue_url":"https://api.github.com/repos/jupyter/jupyter-js-plugins/issues/130","id":200583571,"user":{"login":"blink1073","id":2096628,"avatar_url":"https://avatars.githubusercontent.com/u/2096628?v=3","gravatar_id":"","url":"https://api.github.com/users/blink1073","html_url":"https://github.com/blink1073","followers_url":"https://api.github.com/users/blink1073/followers","following_url":"https://api.github.com/users/blink1073/following{/other_user}","gists_url":"https://api.github.com/users/blink1073/gists{/gist_id}","starred_url":"https://api.github.com/users/blink1073/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blink1073/subscriptions","organizations_url":"https://api.github.com/users/blink1073/orgs","repos_url":"https://api.github.com/users/blink1073/repos","events_url":"https://api.github.com/users/blink1073/events{/privacy}","received_events_url":"https://api.github.com/users/blink1073/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T23:38:31Z","updated_at":"2016-03-23T23:38:31Z","body":"Or, if desired, it could be in `jupyter-js-ui`."}}