{"action":"created","issue":{"url":"https://api.github.com/repos/cdglabs/apparatus/issues/24","labels_url":"https://api.github.com/repos/cdglabs/apparatus/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/cdglabs/apparatus/issues/24/comments","events_url":"https://api.github.com/repos/cdglabs/apparatus/issues/24/events","html_url":"https://github.com/cdglabs/apparatus/pull/24","id":112895436,"number":24,"title":"A draft implementation to close/re-open the right panel to increase the canvas size","user":{"login":"thachmai","id":1647008,"avatar_url":"https://avatars.githubusercontent.com/u/1647008?v=3","gravatar_id":"","url":"https://api.github.com/users/thachmai","html_url":"https://github.com/thachmai","followers_url":"https://api.github.com/users/thachmai/followers","following_url":"https://api.github.com/users/thachmai/following{/other_user}","gists_url":"https://api.github.com/users/thachmai/gists{/gist_id}","starred_url":"https://api.github.com/users/thachmai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thachmai/subscriptions","organizations_url":"https://api.github.com/users/thachmai/orgs","repos_url":"https://api.github.com/users/thachmai/repos","events_url":"https://api.github.com/users/thachmai/events{/privacy}","received_events_url":"https://api.github.com/users/thachmai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-22T21:28:34Z","updated_at":"2015-10-25T18:37:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cdglabs/apparatus/pulls/24","html_url":"https://github.com/cdglabs/apparatus/pull/24","diff_url":"https://github.com/cdglabs/apparatus/pull/24.diff","patch_url":"https://github.com/cdglabs/apparatus/pull/24.patch"},"body":"This is my first implementation for issue #23. It groups the Outline + Inspector into a component called \"RightPanel\" and adds the capability to close/open the panel by clicking on the vertical bar.\r\n\r\nI'm no stranger to web development, but this is literally my first commit with React, Coffeescript and Stylus. It'd be great if you can let me know what you think about it and whether I should pursue this route further.\r\n\r\n\r\nIf the commit is OK with you, I can pursue it further to cleanup/improve the implementation. Some ideas:\r\n\r\n* Implement a cleaner mechanism to store the layout state.\r\n* Re-implement a better way to propagate the \"resize\" event to Canvas element (I'd likely need help with this since I'm really new to React).\r\n* Improve the styling of the vertical resize bar. Maybe add a visual indicator that the bar is click/draggable.\r\n* Add the capability to resize the RightPanel instead of just closing/opening.\r\n* Extend the concept to the CreatePanel to provide a full screen canvas."},"comment":{"url":"https://api.github.com/repos/cdglabs/apparatus/issues/comments/150953789","html_url":"https://github.com/cdglabs/apparatus/pull/24#issuecomment-150953789","issue_url":"https://api.github.com/repos/cdglabs/apparatus/issues/24","id":150953789,"user":{"login":"electronicwhisper","id":177466,"avatar_url":"https://avatars.githubusercontent.com/u/177466?v=3","gravatar_id":"","url":"https://api.github.com/users/electronicwhisper","html_url":"https://github.com/electronicwhisper","followers_url":"https://api.github.com/users/electronicwhisper/followers","following_url":"https://api.github.com/users/electronicwhisper/following{/other_user}","gists_url":"https://api.github.com/users/electronicwhisper/gists{/gist_id}","starred_url":"https://api.github.com/users/electronicwhisper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electronicwhisper/subscriptions","organizations_url":"https://api.github.com/users/electronicwhisper/orgs","repos_url":"https://api.github.com/users/electronicwhisper/repos","events_url":"https://api.github.com/users/electronicwhisper/events{/privacy}","received_events_url":"https://api.github.com/users/electronicwhisper/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T18:37:58Z","updated_at":"2015-10-25T18:37:58Z","body":"Yes I see what you're saying. Sounds good."}}