{"action":"created","issue":{"url":"https://api.github.com/repos/oschuett/appmode/issues/3","repository_url":"https://api.github.com/repos/oschuett/appmode","labels_url":"https://api.github.com/repos/oschuett/appmode/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/oschuett/appmode/issues/3/comments","events_url":"https://api.github.com/repos/oschuett/appmode/issues/3/events","html_url":"https://github.com/oschuett/appmode/issues/3","id":273164994,"number":3,"title":"Use the JupyterLab output area","user":{"login":"jasongrout","id":192614,"avatar_url":"https://avatars0.githubusercontent.com/u/192614?v=4","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,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-11T18:16:43Z","updated_at":"2017-11-19T12:55:29Z","closed_at":null,"author_association":"NONE","body":"Rather than basing this on the classic notebook and hiding what we don't want, we could use the new JupyterLab output area component to make essentially a new notebook renderer, that has exactly just the things that we want (i.e., no code cells, etc.).\r\n\r\nBasically, we could implement a *very* simple notebook renderer along the lines of the [web3](https://github.com/jupyter-widgets/ipywidgets/tree/master/examples/web3) example in the ipywidgets repo, which reads in a notebook, executes all cells, but only display the output of cells (or markdown cells) with a certain metadata tag. This lets you have a larger notebook with debugging stuff, stuff explaining the code, etc., but the 'app mode' is confined to specially-marked cells."},"comment":{"url":"https://api.github.com/repos/oschuett/appmode/issues/comments/345514557","html_url":"https://github.com/oschuett/appmode/issues/3#issuecomment-345514557","issue_url":"https://api.github.com/repos/oschuett/appmode/issues/3","id":345514557,"user":{"login":"oschuett","id":241771,"avatar_url":"https://avatars2.githubusercontent.com/u/241771?v=4","gravatar_id":"","url":"https://api.github.com/users/oschuett","html_url":"https://github.com/oschuett","followers_url":"https://api.github.com/users/oschuett/followers","following_url":"https://api.github.com/users/oschuett/following{/other_user}","gists_url":"https://api.github.com/users/oschuett/gists{/gist_id}","starred_url":"https://api.github.com/users/oschuett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oschuett/subscriptions","organizations_url":"https://api.github.com/users/oschuett/orgs","repos_url":"https://api.github.com/users/oschuett/repos","events_url":"https://api.github.com/users/oschuett/events{/privacy}","received_events_url":"https://api.github.com/users/oschuett/received_events","type":"User","site_admin":false},"created_at":"2017-11-19T12:55:29Z","updated_at":"2017-11-19T12:55:29Z","author_association":"OWNER","body":"Hi Jason, sorry for the late reply. \r\n\r\n> we could use the new JupyterLab output area component \r\n\r\nUnfortunately, I [haven't managed](https://github.com/jupyter-widgets/ipywidgets/issues/1824) to tinker with your web3 example, yet.\r\n\r\nI do agree that monkey patching the CSS is not very elegant. On the other hand it makes Appmode pretty lightweight (<300LoC) and the classic notebook seems to be fairly stable. Then again, I would also like to add JupyterLab support and I suppose the output component would be the way to go, right? \r\n\r\n> but the 'app mode' is confined to specially-marked cells.\r\n\r\nWhat use cases do you have in mind for this? Comments and debugging stuff can already be hidden in code cells. Generally, I'd be afraid that this causes confusion among users because metadata is pretty invisible to them. Hence, I would like to keep the current behavior as a default in any case."}}
{"actor":{"display_login":"oschuett"}}