{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/jupyter-js-notebook/issues/213","repository_url":"https://api.github.com/repos/jupyter/jupyter-js-notebook","labels_url":"https://api.github.com/repos/jupyter/jupyter-js-notebook/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/jupyter-js-notebook/issues/213/comments","events_url":"https://api.github.com/repos/jupyter/jupyter-js-notebook/issues/213/events","html_url":"https://github.com/jupyter/jupyter-js-notebook/pull/213","id":155126674,"number":213,"title":"[WIP] Clean up architecture","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-16T21:30:24Z","updated_at":"2016-05-17T18:42:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jupyter/jupyter-js-notebook/pulls/213","html_url":"https://github.com/jupyter/jupyter-js-notebook/pull/213","diff_url":"https://github.com/jupyter/jupyter-js-notebook/pull/213.diff","patch_url":"https://github.com/jupyter/jupyter-js-notebook/pull/213.patch"},"body":"Fixes #166."},"comment":{"url":"https://api.github.com/repos/jupyter/jupyter-js-notebook/issues/comments/219814082","html_url":"https://github.com/jupyter/jupyter-js-notebook/pull/213#issuecomment-219814082","issue_url":"https://api.github.com/repos/jupyter/jupyter-js-notebook/issues/213","id":219814082,"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},"created_at":"2016-05-17T18:42:37Z","updated_at":"2016-05-17T18:42:37Z","body":"For context, we considered the idea that things like the notebook format `scrolled` cell state should really mean *initial* scrolled state for the cell, which would mean two widgets displaying the same notebook could have different scrolled states for the same cell. However, there are lots of complications like:\r\n* What and when should this state be saved? Should save automatically save the scrolled states of cells? Should that be a separate action? I can imagine going through and setting up the layout, and then wanting to just save a change to the content without changing the layout.\r\n* What happens on a revert? What happens when a cell widget is recreated in a revert?\r\n\r\nSo we decided for now that disk state is model state is shared state between widgets. Even if that nbformat state is really UI information."}}