{"action":"opened","number":747,"pull_request":{"url":"https://api.github.com/repos/ScottLogic/StockFlux/pulls/747","id":64049048,"html_url":"https://github.com/ScottLogic/StockFlux/pull/747","diff_url":"https://github.com/ScottLogic/StockFlux/pull/747.diff","patch_url":"https://github.com/ScottLogic/StockFlux/pull/747.patch","issue_url":"https://api.github.com/repos/ScottLogic/StockFlux/issues/747","number":747,"state":"open","locked":false,"title":"Tearout single stocks WIP","user":{"login":"owennw","id":14889759,"avatar_url":"https://avatars.githubusercontent.com/u/14889759?v=3","gravatar_id":"","url":"https://api.github.com/users/owennw","html_url":"https://github.com/owennw","followers_url":"https://api.github.com/users/owennw/followers","following_url":"https://api.github.com/users/owennw/following{/other_user}","gists_url":"https://api.github.com/users/owennw/gists{/gist_id}","starred_url":"https://api.github.com/users/owennw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owennw/subscriptions","organizations_url":"https://api.github.com/users/owennw/orgs","repos_url":"https://api.github.com/users/owennw/repos","events_url":"https://api.github.com/users/owennw/events{/privacy}","received_events_url":"https://api.github.com/users/owennw/received_events","type":"User","site_admin":false},"body":"This PR introduces tearing out the final stock in a window. As per #726 the window will fade after an amount of time after the card has been torn and left the tearout area, and will fade back in if the card stops moving.\r\n\r\nIssues/bugs:\r\n\r\n- [ ] The window shadow is still present after the window has faded\r\n- [ ] The window sometimes fades in and out twice, instead of once\r\n- [ ] Quickly tearing out a card and letting go of the mouse will result in a window with the favourite missing (but it's there in search and the window behaves as if it has one stock!). This could potentially be resolved by not keeping the old window and instead destroying it and recreating a new window. This feels wasteful but would work. (There would be no fade effect either).","created_at":"2016-03-24T15:17:14Z","updated_at":"2016-03-24T15:17:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ScottLogic/StockFlux/pulls/747/commits","review_comments_url":"https://api.github.com/repos/ScottLogic/StockFlux/pulls/747/comments","review_comment_url":"https://api.github.com/repos/ScottLogic/StockFlux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ScottLogic/StockFlux/issues/747/comments","statuses_url":"https://api.github.com/repos/ScottLogic/StockFlux/statuses/5c19a37ec3baae802ae5e8e8422b3f9449c23b50","head":{"label":"ScottLogic:single-tearout","ref":"single-tearout","sha":"5c19a37ec3baae802ae5e8e8422b3f9449c23b50","user":{"login":"ScottLogic","id":2046037,"avatar_url":"https://avatars.githubusercontent.com/u/2046037?v=3","gravatar_id":"","url":"https://api.github.com/users/ScottLogic","html_url":"https://github.com/ScottLogic","followers_url":"https://api.github.com/users/ScottLogic/followers","following_url":"https://api.github.com/users/ScottLogic/following{/other_user}","gists_url":"https://api.github.com/users/ScottLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/ScottLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScottLogic/subscriptions","organizations_url":"https://api.github.com/users/ScottLogic/orgs","repos_url":"https://api.github.com/users/ScottLogic/repos","events_url":"https://api.github.com/users/ScottLogic/events{/privacy}","received_events_url":"https://api.github.com/users/ScottLogic/received_events","type":"Organization","site_admin":false},"repo":{"id":47250097,"name":"StockFlux","full_name":"ScottLogic/StockFlux","owner":{"login":"ScottLogic","id":2046037,"avatar_url":"https://avatars.githubusercontent.com/u/2046037?v=3","gravatar_id":"","url":"https://api.github.com/users/ScottLogic","html_url":"https://github.com/ScottLogic","followers_url":"https://api.github.com/users/ScottLogic/followers","following_url":"https://api.github.com/users/ScottLogic/following{/other_user}","gists_url":"https://api.github.com/users/ScottLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/ScottLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScottLogic/subscriptions","organizations_url":"https://api.github.com/users/ScottLogic/orgs","repos_url":"https://api.github.com/users/ScottLogic/repos","events_url":"https://api.github.com/users/ScottLogic/events{/privacy}","received_events_url":"https://api.github.com/users/ScottLogic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ScottLogic/StockFlux","description":"StockFlux is a desktop application developed by Scott Logic that uses the OpenFin HTML5 container together with AngularJS, ES2015 and d3fc","fork":false,"url":"https://api.github.com/repos/ScottLogic/StockFlux","forks_url":"https://api.github.com/repos/ScottLogic/StockFlux/forks","keys_url":"https://api.github.com/repos/ScottLogic/StockFlux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ScottLogic/StockFlux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ScottLogic/StockFlux/teams","hooks_url":"https://api.github.com/repos/ScottLogic/StockFlux/hooks","issue_events_url":"https://api.github.com/repos/ScottLogic/StockFlux/issues/events{/number}","events_url":"https://api.github.com/repos/ScottLogic/StockFlux/events","assignees_url":"https://api.github.com/repos/ScottLogic/StockFlux/assignees{/user}","branches_url":"https://api.github.com/repos/ScottLogic/StockFlux/branches{/branch}","tags_url":"https://api.github.com/repos/ScottLogic/StockFlux/tags","blobs_url":"https://api.github.com/repos/ScottLogic/StockFlux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ScottLogic/StockFlux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ScottLogic/StockFlux/git/refs{/sha}","trees_url":"https://api.github.com/repos/ScottLogic/StockFlux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ScottLogic/StockFlux/statuses/{sha}","languages_url":"https://api.github.com/repos/ScottLogic/StockFlux/languages","stargazers_url":"https://api.github.com/repos/ScottLogic/StockFlux/stargazers","contributors_url":"https://api.github.com/repos/ScottLogic/StockFlux/contributors","subscribers_url":"https://api.github.com/repos/ScottLogic/StockFlux/subscribers","subscription_url":"https://api.github.com/repos/ScottLogic/StockFlux/subscription","commits_url":"https://api.github.com/repos/ScottLogic/StockFlux/commits{/sha}","git_commits_url":"https://api.github.com/repos/ScottLogic/StockFlux/git/commits{/sha}","comments_url":"https://api.github.com/repos/ScottLogic/StockFlux/comments{/number}","issue_comment_url":"https://api.github.com/repos/ScottLogic/StockFlux/issues/comments{/number}","contents_url":"https://api.github.com/repos/ScottLogic/StockFlux/contents/{+path}","compare_url":"https://api.github.com/repos/ScottLogic/StockFlux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ScottLogic/StockFlux/merges","archive_url":"https://api.github.com/repos/ScottLogic/StockFlux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ScottLogic/StockFlux/downloads","issues_url":"https://api.github.com/repos/ScottLogic/StockFlux/issues{/number}","pulls_url":"https://api.github.com/repos/ScottLogic/StockFlux/pulls{/number}","milestones_url":"https://api.github.com/repos/ScottLogic/StockFlux/milestones{/number}","notifications_url":"https://api.github.com/repos/ScottLogic/StockFlux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ScottLogic/StockFlux/labels{/name}","releases_url":"https://api.github.com/repos/ScottLogic/StockFlux/releases{/id}","deployments_url":"https://api.github.com/repos/ScottLogic/StockFlux/deployments","created_at":"2015-12-02T09:18:18Z","updated_at":"2016-03-23T07:44:46Z","pushed_at":"2016-03-24T15:14:14Z","git_url":"git://github.com/ScottLogic/StockFlux.git","ssh_url":"git@github.com:ScottLogic/StockFlux.git","clone_url":"https://github.com/ScottLogic/StockFlux.git","svn_url":"https://github.com/ScottLogic/StockFlux","homepage":"","size":4713,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":63,"forks":5,"open_issues":63,"watchers":15,"default_branch":"master"}},"base":{"label":"ScottLogic:dev","ref":"dev","sha":"8fd2f5502b9fc35757f19957901175ccaaccdb34","user":{"login":"ScottLogic","id":2046037,"avatar_url":"https://avatars.githubusercontent.com/u/2046037?v=3","gravatar_id":"","url":"https://api.github.com/users/ScottLogic","html_url":"https://github.com/ScottLogic","followers_url":"https://api.github.com/users/ScottLogic/followers","following_url":"https://api.github.com/users/ScottLogic/following{/other_user}","gists_url":"https://api.github.com/users/ScottLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/ScottLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScottLogic/subscriptions","organizations_url":"https://api.github.com/users/ScottLogic/orgs","repos_url":"https://api.github.com/users/ScottLogic/repos","events_url":"https://api.github.com/users/ScottLogic/events{/privacy}","received_events_url":"https://api.github.com/users/ScottLogic/received_events","type":"Organization","site_admin":false},"repo":{"id":47250097,"name":"StockFlux","full_name":"ScottLogic/StockFlux","owner":{"login":"ScottLogic","id":2046037,"avatar_url":"https://avatars.githubusercontent.com/u/2046037?v=3","gravatar_id":"","url":"https://api.github.com/users/ScottLogic","html_url":"https://github.com/ScottLogic","followers_url":"https://api.github.com/users/ScottLogic/followers","following_url":"https://api.github.com/users/ScottLogic/following{/other_user}","gists_url":"https://api.github.com/users/ScottLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/ScottLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScottLogic/subscriptions","organizations_url":"https://api.github.com/users/ScottLogic/orgs","repos_url":"https://api.github.com/users/ScottLogic/repos","events_url":"https://api.github.com/users/ScottLogic/events{/privacy}","received_events_url":"https://api.github.com/users/ScottLogic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ScottLogic/StockFlux","description":"StockFlux is a desktop application developed by Scott Logic that uses the OpenFin HTML5 container together with AngularJS, ES2015 and d3fc","fork":false,"url":"https://api.github.com/repos/ScottLogic/StockFlux","forks_url":"https://api.github.com/repos/ScottLogic/StockFlux/forks","keys_url":"https://api.github.com/repos/ScottLogic/StockFlux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ScottLogic/StockFlux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ScottLogic/StockFlux/teams","hooks_url":"https://api.github.com/repos/ScottLogic/StockFlux/hooks","issue_events_url":"https://api.github.com/repos/ScottLogic/StockFlux/issues/events{/number}","events_url":"https://api.github.com/repos/ScottLogic/StockFlux/events","assignees_url":"https://api.github.com/repos/ScottLogic/StockFlux/assignees{/user}","branches_url":"https://api.github.com/repos/ScottLogic/StockFlux/branches{/branch}","tags_url":"https://api.github.com/repos/ScottLogic/StockFlux/tags","blobs_url":"https://api.github.com/repos/ScottLogic/StockFlux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ScottLogic/StockFlux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ScottLogic/StockFlux/git/refs{/sha}","trees_url":"https://api.github.com/repos/ScottLogic/StockFlux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ScottLogic/StockFlux/statuses/{sha}","languages_url":"https://api.github.com/repos/ScottLogic/StockFlux/languages","stargazers_url":"https://api.github.com/repos/ScottLogic/StockFlux/stargazers","contributors_url":"https://api.github.com/repos/ScottLogic/StockFlux/contributors","subscribers_url":"https://api.github.com/repos/ScottLogic/StockFlux/subscribers","subscription_url":"https://api.github.com/repos/ScottLogic/StockFlux/subscription","commits_url":"https://api.github.com/repos/ScottLogic/StockFlux/commits{/sha}","git_commits_url":"https://api.github.com/repos/ScottLogic/StockFlux/git/commits{/sha}","comments_url":"https://api.github.com/repos/ScottLogic/StockFlux/comments{/number}","issue_comment_url":"https://api.github.com/repos/ScottLogic/StockFlux/issues/comments{/number}","contents_url":"https://api.github.com/repos/ScottLogic/StockFlux/contents/{+path}","compare_url":"https://api.github.com/repos/ScottLogic/StockFlux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ScottLogic/StockFlux/merges","archive_url":"https://api.github.com/repos/ScottLogic/StockFlux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ScottLogic/StockFlux/downloads","issues_url":"https://api.github.com/repos/ScottLogic/StockFlux/issues{/number}","pulls_url":"https://api.github.com/repos/ScottLogic/StockFlux/pulls{/number}","milestones_url":"https://api.github.com/repos/ScottLogic/StockFlux/milestones{/number}","notifications_url":"https://api.github.com/repos/ScottLogic/StockFlux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ScottLogic/StockFlux/labels{/name}","releases_url":"https://api.github.com/repos/ScottLogic/StockFlux/releases{/id}","deployments_url":"https://api.github.com/repos/ScottLogic/StockFlux/deployments","created_at":"2015-12-02T09:18:18Z","updated_at":"2016-03-23T07:44:46Z","pushed_at":"2016-03-24T15:14:14Z","git_url":"git://github.com/ScottLogic/StockFlux.git","ssh_url":"git@github.com:ScottLogic/StockFlux.git","clone_url":"https://github.com/ScottLogic/StockFlux.git","svn_url":"https://github.com/ScottLogic/StockFlux","homepage":"","size":4713,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":63,"forks":5,"open_issues":63,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ScottLogic/StockFlux/pulls/747"},"html":{"href":"https://github.com/ScottLogic/StockFlux/pull/747"},"issue":{"href":"https://api.github.com/repos/ScottLogic/StockFlux/issues/747"},"comments":{"href":"https://api.github.com/repos/ScottLogic/StockFlux/issues/747/comments"},"review_comments":{"href":"https://api.github.com/repos/ScottLogic/StockFlux/pulls/747/comments"},"review_comment":{"href":"https://api.github.com/repos/ScottLogic/StockFlux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ScottLogic/StockFlux/pulls/747/commits"},"statuses":{"href":"https://api.github.com/repos/ScottLogic/StockFlux/statuses/5c19a37ec3baae802ae5e8e8422b3f9449c23b50"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":123,"deletions":25,"changed_files":2}}