{"action":"created","issue":{"url":"https://api.github.com/repos/shamansir/rpd/issues/316","repository_url":"https://api.github.com/repos/shamansir/rpd","labels_url":"https://api.github.com/repos/shamansir/rpd/issues/316/labels{/name}","comments_url":"https://api.github.com/repos/shamansir/rpd/issues/316/comments","events_url":"https://api.github.com/repos/shamansir/rpd/issues/316/events","html_url":"https://github.com/shamansir/rpd/issues/316","id":133462238,"number":316,"title":"Patch/enter and Patch/exit could be joined in a single event Patch/select","user":{"login":"shamansir","id":110920,"avatar_url":"https://avatars.githubusercontent.com/u/110920?v=3","gravatar_id":"","url":"https://api.github.com/users/shamansir","html_url":"https://github.com/shamansir","followers_url":"https://api.github.com/users/shamansir/followers","following_url":"https://api.github.com/users/shamansir/following{/other_user}","gists_url":"https://api.github.com/users/shamansir/gists{/gist_id}","starred_url":"https://api.github.com/users/shamansir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamansir/subscriptions","organizations_url":"https://api.github.com/users/shamansir/orgs","repos_url":"https://api.github.com/users/shamansir/repos","events_url":"https://api.github.com/users/shamansir/events{/privacy}","received_events_url":"https://api.github.com/users/shamansir/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/shamansir/rpd/labels/could-change-api","name":"could-change-api","color":"bfe5bf"},{"url":"https://api.github.com/repos/shamansir/rpd/labels/docs","name":"docs","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/shamansir/rpd/milestones/1","html_url":"https://github.com/shamansir/rpd/milestones/v0.2.0-%CE%B1","labels_url":"https://api.github.com/repos/shamansir/rpd/milestones/1/labels","id":960119,"number":1,"title":"v0.2.0-α","description":"Planned Features:\r\n\r\n* Better UI;\r\n* Massive API changes and improvements in the sake of consistency;\r\n* Ability to connect patches (\"models\", maiden name) and navigate between them;\r\n* Simplified renderers;\r\n* SVG Renderer;\r\n* Import/Export;\r\n* Quartz & PD \"modes\" are now separate \"styles\" (which reduces resulting file size);\r\n* Improved building, with Gulp;\r\n* ...","creator":{"login":"shamansir","id":110920,"avatar_url":"https://avatars.githubusercontent.com/u/110920?v=3","gravatar_id":"","url":"https://api.github.com/users/shamansir","html_url":"https://github.com/shamansir","followers_url":"https://api.github.com/users/shamansir/followers","following_url":"https://api.github.com/users/shamansir/following{/other_user}","gists_url":"https://api.github.com/users/shamansir/gists{/gist_id}","starred_url":"https://api.github.com/users/shamansir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamansir/subscriptions","organizations_url":"https://api.github.com/users/shamansir/orgs","repos_url":"https://api.github.com/users/shamansir/repos","events_url":"https://api.github.com/users/shamansir/events{/privacy}","received_events_url":"https://api.github.com/users/shamansir/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":87,"state":"open","created_at":"2015-02-01T11:13:46Z","updated_at":"2016-03-07T14:44:32Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-02-13T19:16:56Z","updated_at":"2016-03-07T15:15:44Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/shamansir/rpd/issues/comments/193293469","html_url":"https://github.com/shamansir/rpd/issues/316#issuecomment-193293469","issue_url":"https://api.github.com/repos/shamansir/rpd/issues/316","id":193293469,"user":{"login":"shamansir","id":110920,"avatar_url":"https://avatars.githubusercontent.com/u/110920?v=3","gravatar_id":"","url":"https://api.github.com/users/shamansir","html_url":"https://github.com/shamansir","followers_url":"https://api.github.com/users/shamansir/followers","following_url":"https://api.github.com/users/shamansir/following{/other_user}","gists_url":"https://api.github.com/users/shamansir/gists{/gist_id}","starred_url":"https://api.github.com/users/shamansir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamansir/subscriptions","organizations_url":"https://api.github.com/users/shamansir/orgs","repos_url":"https://api.github.com/users/shamansir/repos","events_url":"https://api.github.com/users/shamansir/events{/privacy}","received_events_url":"https://api.github.com/users/shamansir/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T15:15:44Z","updated_at":"2016-03-07T15:15:44Z","body":"Another question: what is the difference between `patch/render` and `patch/select` then? \n\nPossible answer: `patch/render` is called first and only single time, to define configuration and target, `patch/select` could be called any number of times and so detach from DOM everything left from previous patch and then attach the current patch DOM structure (already build or not, no matter).\n\nWhat if user wants to render another patch in the same target w/o removing DOM left from previous patch — I mean, show both patches simultaneously?\n\nShouldn't `patch/select` be Network event instead of being Patch event? Should it copy render definition from the root patch? And if yes, should it always happen this way? And if so, could we determine root patch without checking `patch/project` event?"}}