{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/fireplace/pulls/comments/25018545","id":25018545,"diff_hunk":"@@ -64,34 +47,42 @@ $desktop-tray-size = 540px;\n             width: 100%;\n         }\n     }\n+    img {\n+        -moz-user-select: none;","path":"src/media/css/previews-tray.styl","position":64,"original_position":64,"commit_id":"d88bde1fdaaded07dffbfb58e6295fe8333bf3a3","original_commit_id":"d88bde1fdaaded07dffbfb58e6295fe8333bf3a3","user":{"login":"ngokevin","id":674727,"avatar_url":"https://avatars.githubusercontent.com/u/674727?v=3","gravatar_id":"","url":"https://api.github.com/users/ngokevin","html_url":"https://github.com/ngokevin","followers_url":"https://api.github.com/users/ngokevin/followers","following_url":"https://api.github.com/users/ngokevin/following{/other_user}","gists_url":"https://api.github.com/users/ngokevin/gists{/gist_id}","starred_url":"https://api.github.com/users/ngokevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngokevin/subscriptions","organizations_url":"https://api.github.com/users/ngokevin/orgs","repos_url":"https://api.github.com/users/ngokevin/repos","events_url":"https://api.github.com/users/ngokevin/events{/privacy}","received_events_url":"https://api.github.com/users/ngokevin/received_events","type":"User","site_admin":false},"body":"disable-user-select()","created_at":"2015-02-19T19:47:16Z","updated_at":"2015-02-19T19:47:16Z","html_url":"https://github.com/mozilla/fireplace/pull/1030#discussion_r25018545","pull_request_url":"https://api.github.com/repos/mozilla/fireplace/pulls/1030","_links":{"self":{"href":"https://api.github.com/repos/mozilla/fireplace/pulls/comments/25018545"},"html":{"href":"https://github.com/mozilla/fireplace/pull/1030#discussion_r25018545"},"pull_request":{"href":"https://api.github.com/repos/mozilla/fireplace/pulls/1030"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/fireplace/pulls/1030","id":29547805,"html_url":"https://github.com/mozilla/fireplace/pull/1030","diff_url":"https://github.com/mozilla/fireplace/pull/1030.diff","patch_url":"https://github.com/mozilla/fireplace/pull/1030.patch","issue_url":"https://api.github.com/repos/mozilla/fireplace/issues/1030","number":1030,"state":"open","locked":false,"title":"updated preview trays","user":{"login":"spasovski","id":391260,"avatar_url":"https://avatars.githubusercontent.com/u/391260?v=3","gravatar_id":"","url":"https://api.github.com/users/spasovski","html_url":"https://github.com/spasovski","followers_url":"https://api.github.com/users/spasovski/followers","following_url":"https://api.github.com/users/spasovski/following{/other_user}","gists_url":"https://api.github.com/users/spasovski/gists{/gist_id}","starred_url":"https://api.github.com/users/spasovski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spasovski/subscriptions","organizations_url":"https://api.github.com/users/spasovski/orgs","repos_url":"https://api.github.com/users/spasovski/repos","events_url":"https://api.github.com/users/spasovski/events{/privacy}","received_events_url":"https://api.github.com/users/spasovski/received_events","type":"User","site_admin":false},"body":"Biggest change this offers is no longer recreating the trays on desktop on every resize. Some old and unnecessary CSS was removed (.listing ...) etc.\r\n\r\n- JS logic should be a bit more readable.\r\n- New breakpoint definition (1050px - this will play into the padding bug also).\r\n- No initialization needed on single preview trays (except on desktop detail and there it's minimal).\r\n- Better centering logic for preview images (I want to tweak this even more for when arrows are active).\r\n- New placeholder icon.\r\n\r\n![](http://i.imgur.com/NbPLVOb.png)\r\n\r\n![](http://i.imgur.com/xuBxL5T.png)\r\n\r\n![](http://i.imgur.com/kwmynSQ.png)","created_at":"2015-02-18T18:01:13Z","updated_at":"2015-02-19T19:47:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f45e4c40c8ba76edcb8071ee7ba8ffe19e96d9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/fireplace/pulls/1030/commits","review_comments_url":"https://api.github.com/repos/mozilla/fireplace/pulls/1030/comments","review_comment_url":"https://api.github.com/repos/mozilla/fireplace/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mozilla/fireplace/issues/1030/comments","statuses_url":"https://api.github.com/repos/mozilla/fireplace/statuses/d88bde1fdaaded07dffbfb58e6295fe8333bf3a3","head":{"label":"spasovski:damnyoutrays","ref":"damnyoutrays","sha":"d88bde1fdaaded07dffbfb58e6295fe8333bf3a3","user":{"login":"spasovski","id":391260,"avatar_url":"https://avatars.githubusercontent.com/u/391260?v=3","gravatar_id":"","url":"https://api.github.com/users/spasovski","html_url":"https://github.com/spasovski","followers_url":"https://api.github.com/users/spasovski/followers","following_url":"https://api.github.com/users/spasovski/following{/other_user}","gists_url":"https://api.github.com/users/spasovski/gists{/gist_id}","starred_url":"https://api.github.com/users/spasovski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spasovski/subscriptions","organizations_url":"https://api.github.com/users/spasovski/orgs","repos_url":"https://api.github.com/users/spasovski/repos","events_url":"https://api.github.com/users/spasovski/events{/privacy}","received_events_url":"https://api.github.com/users/spasovski/received_events","type":"User","site_admin":false},"repo":{"id":8148475,"name":"fireplace","full_name":"spasovski/fireplace","owner":{"login":"spasovski","id":391260,"avatar_url":"https://avatars.githubusercontent.com/u/391260?v=3","gravatar_id":"","url":"https://api.github.com/users/spasovski","html_url":"https://github.com/spasovski","followers_url":"https://api.github.com/users/spasovski/followers","following_url":"https://api.github.com/users/spasovski/following{/other_user}","gists_url":"https://api.github.com/users/spasovski/gists{/gist_id}","starred_url":"https://api.github.com/users/spasovski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spasovski/subscriptions","organizations_url":"https://api.github.com/users/spasovski/orgs","repos_url":"https://api.github.com/users/spasovski/repos","events_url":"https://api.github.com/users/spasovski/events{/privacy}","received_events_url":"https://api.github.com/users/spasovski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spasovski/fireplace","description":"A clandestine operation to make @krupa happy","fork":true,"url":"https://api.github.com/repos/spasovski/fireplace","forks_url":"https://api.github.com/repos/spasovski/fireplace/forks","keys_url":"https://api.github.com/repos/spasovski/fireplace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spasovski/fireplace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spasovski/fireplace/teams","hooks_url":"https://api.github.com/repos/spasovski/fireplace/hooks","issue_events_url":"https://api.github.com/repos/spasovski/fireplace/issues/events{/number}","events_url":"https://api.github.com/repos/spasovski/fireplace/events","assignees_url":"https://api.github.com/repos/spasovski/fireplace/assignees{/user}","branches_url":"https://api.github.com/repos/spasovski/fireplace/branches{/branch}","tags_url":"https://api.github.com/repos/spasovski/fireplace/tags","blobs_url":"https://api.github.com/repos/spasovski/fireplace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spasovski/fireplace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spasovski/fireplace/git/refs{/sha}","trees_url":"https://api.github.com/repos/spasovski/fireplace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spasovski/fireplace/statuses/{sha}","languages_url":"https://api.github.com/repos/spasovski/fireplace/languages","stargazers_url":"https://api.github.com/repos/spasovski/fireplace/stargazers","contributors_url":"https://api.github.com/repos/spasovski/fireplace/contributors","subscribers_url":"https://api.github.com/repos/spasovski/fireplace/subscribers","subscription_url":"https://api.github.com/repos/spasovski/fireplace/subscription","commits_url":"https://api.github.com/repos/spasovski/fireplace/commits{/sha}","git_commits_url":"https://api.github.com/repos/spasovski/fireplace/git/commits{/sha}","comments_url":"https://api.github.com/repos/spasovski/fireplace/comments{/number}","issue_comment_url":"https://api.github.com/repos/spasovski/fireplace/issues/comments/{number}","contents_url":"https://api.github.com/repos/spasovski/fireplace/contents/{+path}","compare_url":"https://api.github.com/repos/spasovski/fireplace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spasovski/fireplace/merges","archive_url":"https://api.github.com/repos/spasovski/fireplace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spasovski/fireplace/downloads","issues_url":"https://api.github.com/repos/spasovski/fireplace/issues{/number}","pulls_url":"https://api.github.com/repos/spasovski/fireplace/pulls{/number}","milestones_url":"https://api.github.com/repos/spasovski/fireplace/milestones{/number}","notifications_url":"https://api.github.com/repos/spasovski/fireplace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spasovski/fireplace/labels{/name}","releases_url":"https://api.github.com/repos/spasovski/fireplace/releases{/id}","created_at":"2013-02-11T22:39:14Z","updated_at":"2014-11-24T19:16:27Z","pushed_at":"2015-02-19T19:00:33Z","git_url":"git://github.com/spasovski/fireplace.git","ssh_url":"git@github.com:spasovski/fireplace.git","clone_url":"https://github.com/spasovski/fireplace.git","svn_url":"https://github.com/spasovski/fireplace","homepage":"https://marketplace.firefox.com/","size":24896,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"2331ec5dd1f2ed4637bbe7809516dc6eb632caa9","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":8046076,"name":"fireplace","full_name":"mozilla/fireplace","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/fireplace","description":"Frontend for the Firefox Marketplace","fork":false,"url":"https://api.github.com/repos/mozilla/fireplace","forks_url":"https://api.github.com/repos/mozilla/fireplace/forks","keys_url":"https://api.github.com/repos/mozilla/fireplace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/fireplace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/fireplace/teams","hooks_url":"https://api.github.com/repos/mozilla/fireplace/hooks","issue_events_url":"https://api.github.com/repos/mozilla/fireplace/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/fireplace/events","assignees_url":"https://api.github.com/repos/mozilla/fireplace/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/fireplace/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/fireplace/tags","blobs_url":"https://api.github.com/repos/mozilla/fireplace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/fireplace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/fireplace/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/fireplace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/fireplace/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/fireplace/languages","stargazers_url":"https://api.github.com/repos/mozilla/fireplace/stargazers","contributors_url":"https://api.github.com/repos/mozilla/fireplace/contributors","subscribers_url":"https://api.github.com/repos/mozilla/fireplace/subscribers","subscription_url":"https://api.github.com/repos/mozilla/fireplace/subscription","commits_url":"https://api.github.com/repos/mozilla/fireplace/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/fireplace/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/fireplace/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/fireplace/issues/comments/{number}","contents_url":"https://api.github.com/repos/mozilla/fireplace/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/fireplace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/fireplace/merges","archive_url":"https://api.github.com/repos/mozilla/fireplace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/fireplace/downloads","issues_url":"https://api.github.com/repos/mozilla/fireplace/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/fireplace/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/fireplace/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/fireplace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/fireplace/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/fireplace/releases{/id}","created_at":"2013-02-06T06:41:06Z","updated_at":"2015-02-19T17:38:28Z","pushed_at":"2015-02-19T19:28:41Z","git_url":"git://github.com/mozilla/fireplace.git","ssh_url":"git@github.com:mozilla/fireplace.git","clone_url":"https://github.com/mozilla/fireplace.git","svn_url":"https://github.com/mozilla/fireplace","homepage":"https://marketplace.firefox.com/","size":87195,"stargazers_count":52,"watchers_count":52,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":96,"mirror_url":null,"open_issues_count":7,"forks":96,"open_issues":7,"watchers":52,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/fireplace/pulls/1030"},"html":{"href":"https://github.com/mozilla/fireplace/pull/1030"},"issue":{"href":"https://api.github.com/repos/mozilla/fireplace/issues/1030"},"comments":{"href":"https://api.github.com/repos/mozilla/fireplace/issues/1030/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/fireplace/pulls/1030/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/fireplace/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mozilla/fireplace/pulls/1030/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/fireplace/statuses/d88bde1fdaaded07dffbfb58e6295fe8333bf3a3"}}}}