GitHub PullRequestReviewCommentEvent at 2014-10-31 14:18:55
Repository: insight
Actor: seanworkcode
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/ScottLogic/insight/pulls/comments/19668751","id":19668751,"diff_hunk":"@@ -3,23 +3,30 @@\n         <h2>A gallery of insight.js charts</h2>\n         <div class=\"how-to-divider\"></div>\n \n-        <div ng-show=\"showGallery\" ng-init=\"loadItems()\">\n+\n+\n+        \n+        <div ng-init=\"loadItems()\" class=\"gallery-items-container\">\n         \t<div ng-repeat=\"item in items\">\n-        \t\t<div class=\"gallery-item-header\" ng-click=\"loadItem(item)\">{{item.title}}</div>\n-        \t\t<div ng-click=\"loadItem(item)\" class=\"gallery-item-thumb\">\n-                    <img ng-src=\"app/gallery/items/{{item.thumbnail}}\">\n+                <div class=\"gallery-item\">\n+            \t\t<div class=\"gallery-item-header\" ng-click=\"setTemplate(item)\">{{item.title}}</div>\n+            \t\t<div ng-click=\"setTemplate(item)\" class=\"gallery-item-thumb\">\n+                        <img ng-src=\"app/gallery/items/{{item.thumbnail}}\">\n+                    </div>\n                 </div>\n         \t</div>\n         </div>\n+        <div class=\"how-to-divider\"></div>\n+\n+        <div ng-if=\"template !== undefined\" ng-include=\"template\"></div>\n \n-        <div ng-show=\"!showGallery\">\n-            <div ng-click=\"closeItem()\" class=\"gallery-item-header\">Back to gallery</div>\n+        <div >\n             <h2>{{currentItem.title}}</h2>\n             <p>{{currentItem.desc}}</p>\n             <div id=\"gallery-chart\"></div>\n             <div class=\"how-to-divider\"></div>\n-            <h3>The code</h3>","path":"app/gallery/gallery.html","position":32,"original_position":32,"commit_id":"bbe2c1e9c328f2ce6fcda899efdf630fbce06472","original_commit_id":"bbe2c1e9c328f2ce6fcda899efdf630fbce06472","user":{"login":"seanworkcode","id":8777626,"avatar_url":"https://avatars.githubusercontent.com/u/8777626?v=2","gravatar_id":"","url":"https://api.github.com/users/seanworkcode","html_url":"https://github.com/seanworkcode","followers_url":"https://api.github.com/users/seanworkcode/followers","following_url":"https://api.github.com/users/seanworkcode/following{/other_user}","gists_url":"https://api.github.com/users/seanworkcode/gists{/gist_id}","starred_url":"https://api.github.com/users/seanworkcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanworkcode/subscriptions","organizations_url":"https://api.github.com/users/seanworkcode/orgs","repos_url":"https://api.github.com/users/seanworkcode/repos","events_url":"https://api.github.com/users/seanworkcode/events{/privacy}","received_events_url":"https://api.github.com/users/seanworkcode/received_events","type":"User","site_admin":false},"body":"fixed in other pull request","created_at":"2014-10-31T14:18:55Z","updated_at":"2014-10-31T14:18:55Z","html_url":"https://github.com/ScottLogic/insight/pull/300#discussion_r19668751","pull_request_url":"https://api.github.com/repos/ScottLogic/insight/pulls/300","_links":{"self":{"href":"https://api.github.com/repos/ScottLogic/insight/pulls/comments/19668751"},"html":{"href":"https://github.com/ScottLogic/insight/pull/300#discussion_r19668751"},"pull_request":{"href":"https://api.github.com/repos/ScottLogic/insight/pulls/300"}}},"pull_request":{"url":"https://api.github.com/repos/ScottLogic/insight/pulls/300","id":23617211,"html_url":"https://github.com/ScottLogic/insight/pull/300","diff_url":"https://github.com/ScottLogic/insight/pull/300.diff","patch_url":"https://github.com/ScottLogic/insight/pull/300.patch","issue_url":"https://api.github.com/repos/ScottLogic/insight/issues/300","number":300,"state":"open","locked":false,"title":"refactored gallery to load index files","user":{"login":"seanworkcode","id":8777626,"avatar_url":"https://avatars.githubusercontent.com/u/8777626?v=2","gravatar_id":"","url":"https://api.github.com/users/seanworkcode","html_url":"https://github.com/seanworkcode","followers_url":"https://api.github.com/users/seanworkcode/followers","following_url":"https://api.github.com/users/seanworkcode/following{/other_user}","gists_url":"https://api.github.com/users/seanworkcode/gists{/gist_id}","starred_url":"https://api.github.com/users/seanworkcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanworkcode/subscriptions","organizations_url":"https://api.github.com/users/seanworkcode/orgs","repos_url":"https://api.github.com/users/seanworkcode/repos","events_url":"https://api.github.com/users/seanworkcode/events{/privacy}","received_events_url":"https://api.github.com/users/seanworkcode/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-10-30T16:21:06Z","updated_at":"2014-10-31T14:18:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1930d55713086a794c34a9689805c68738a40a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ScottLogic/insight/pulls/300/commits","review_comments_url":"https://api.github.com/repos/ScottLogic/insight/pulls/300/comments","review_comment_url":"https://api.github.com/repos/ScottLogic/insight/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ScottLogic/insight/issues/300/comments","statuses_url":"https://api.github.com/repos/ScottLogic/insight/statuses/bbe2c1e9c328f2ce6fcda899efdf630fbce06472","head":{"label":"seanworkcode:feature/gallery-use-example-index","ref":"feature/gallery-use-example-index","sha":"bbe2c1e9c328f2ce6fcda899efdf630fbce06472","user":{"login":"seanworkcode","id":8777626,"avatar_url":"https://avatars.githubusercontent.com/u/8777626?v=2","gravatar_id":"","url":"https://api.github.com/users/seanworkcode","html_url":"https://github.com/seanworkcode","followers_url":"https://api.github.com/users/seanworkcode/followers","following_url":"https://api.github.com/users/seanworkcode/following{/other_user}","gists_url":"https://api.github.com/users/seanworkcode/gists{/gist_id}","starred_url":"https://api.github.com/users/seanworkcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanworkcode/subscriptions","organizations_url":"https://api.github.com/users/seanworkcode/orgs","repos_url":"https://api.github.com/users/seanworkcode/repos","events_url":"https://api.github.com/users/seanworkcode/events{/privacy}","received_events_url":"https://api.github.com/users/seanworkcode/received_events","type":"User","site_admin":false},"repo":{"id":24881780,"name":"insight","full_name":"seanworkcode/insight","owner":{"login":"seanworkcode","id":8777626,"avatar_url":"https://avatars.githubusercontent.com/u/8777626?v=2","gravatar_id":"","url":"https://api.github.com/users/seanworkcode","html_url":"https://github.com/seanworkcode","followers_url":"https://api.github.com/users/seanworkcode/followers","following_url":"https://api.github.com/users/seanworkcode/following{/other_user}","gists_url":"https://api.github.com/users/seanworkcode/gists{/gist_id}","starred_url":"https://api.github.com/users/seanworkcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanworkcode/subscriptions","organizations_url":"https://api.github.com/users/seanworkcode/orgs","repos_url":"https://api.github.com/users/seanworkcode/repos","events_url":"https://api.github.com/users/seanworkcode/events{/privacy}","received_events_url":"https://api.github.com/users/seanworkcode/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seanworkcode/insight","description":"A Javascript charting library","fork":true,"url":"https://api.github.com/repos/seanworkcode/insight","forks_url":"https://api.github.com/repos/seanworkcode/insight/forks","keys_url":"https://api.github.com/repos/seanworkcode/insight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seanworkcode/insight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seanworkcode/insight/teams","hooks_url":"https://api.github.com/repos/seanworkcode/insight/hooks","issue_events_url":"https://api.github.com/repos/seanworkcode/insight/issues/events{/number}","events_url":"https://api.github.com/repos/seanworkcode/insight/events","assignees_url":"https://api.github.com/repos/seanworkcode/insight/assignees{/user}","branches_url":"https://api.github.com/repos/seanworkcode/insight/branches{/branch}","tags_url":"https://api.github.com/repos/seanworkcode/insight/tags","blobs_url":"https://api.github.com/repos/seanworkcode/insight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seanworkcode/insight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seanworkcode/insight/git/refs{/sha}","trees_url":"https://api.github.com/repos/seanworkcode/insight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seanworkcode/insight/statuses/{sha}","languages_url":"https://api.github.com/repos/seanworkcode/insight/languages","stargazers_url":"https://api.github.com/repos/seanworkcode/insight/stargazers","contributors_url":"https://api.github.com/repos/seanworkcode/insight/contributors","subscribers_url":"https://api.github.com/repos/seanworkcode/insight/subscribers","subscription_url":"https://api.github.com/repos/seanworkcode/insight/subscription","commits_url":"https://api.github.com/repos/seanworkcode/insight/commits{/sha}","git_commits_url":"https://api.github.com/repos/seanworkcode/insight/git/commits{/sha}","comments_url":"https://api.github.com/repos/seanworkcode/insight/comments{/number}","issue_comment_url":"https://api.github.com/repos/seanworkcode/insight/issues/comments/{number}","contents_url":"https://api.github.com/repos/seanworkcode/insight/contents/{+path}","compare_url":"https://api.github.com/repos/seanworkcode/insight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seanworkcode/insight/merges","archive_url":"https://api.github.com/repos/seanworkcode/insight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seanworkcode/insight/downloads","issues_url":"https://api.github.com/repos/seanworkcode/insight/issues{/number}","pulls_url":"https://api.github.com/repos/seanworkcode/insight/pulls{/number}","milestones_url":"https://api.github.com/repos/seanworkcode/insight/milestones{/number}","notifications_url":"https://api.github.com/repos/seanworkcode/insight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seanworkcode/insight/labels{/name}","releases_url":"https://api.github.com/repos/seanworkcode/insight/releases{/id}","created_at":"2014-10-07T08:02:21Z","updated_at":"2014-10-07T11:26:39Z","pushed_at":"2014-10-31T14:17:26Z","git_url":"git://github.com/seanworkcode/insight.git","ssh_url":"git@github.com:seanworkcode/insight.git","clone_url":"https://github.com/seanworkcode/insight.git","svn_url":"https://github.com/seanworkcode/insight","homepage":"scottlogic.github.io/insight/#/","size":41567,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ScottLogic:gh-pages-dev","ref":"gh-pages-dev","sha":"011f4ed23020c792186cddfa3f4b6d13544742a7","user":{"login":"ScottLogic","id":2046037,"avatar_url":"https://avatars.githubusercontent.com/u/2046037?v=2","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":20251886,"name":"insight","full_name":"ScottLogic/insight","owner":{"login":"ScottLogic","id":2046037,"avatar_url":"https://avatars.githubusercontent.com/u/2046037?v=2","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/insight","description":"A Javascript charting library","fork":false,"url":"https://api.github.com/repos/ScottLogic/insight","forks_url":"https://api.github.com/repos/ScottLogic/insight/forks","keys_url":"https://api.github.com/repos/ScottLogic/insight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ScottLogic/insight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ScottLogic/insight/teams","hooks_url":"https://api.github.com/repos/ScottLogic/insight/hooks","issue_events_url":"https://api.github.com/repos/ScottLogic/insight/issues/events{/number}","events_url":"https://api.github.com/repos/ScottLogic/insight/events","assignees_url":"https://api.github.com/repos/ScottLogic/insight/assignees{/user}","branches_url":"https://api.github.com/repos/ScottLogic/insight/branches{/branch}","tags_url":"https://api.github.com/repos/ScottLogic/insight/tags","blobs_url":"https://api.github.com/repos/ScottLogic/insight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ScottLogic/insight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ScottLogic/insight/git/refs{/sha}","trees_url":"https://api.github.com/repos/ScottLogic/insight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ScottLogic/insight/statuses/{sha}","languages_url":"https://api.github.com/repos/ScottLogic/insight/languages","stargazers_url":"https://api.github.com/repos/ScottLogic/insight/stargazers","contributors_url":"https://api.github.com/repos/ScottLogic/insight/contributors","subscribers_url":"https://api.github.com/repos/ScottLogic/insight/subscribers","subscription_url":"https://api.github.com/repos/ScottLogic/insight/subscription","commits_url":"https://api.github.com/repos/ScottLogic/insight/commits{/sha}","git_commits_url":"https://api.github.com/repos/ScottLogic/insight/git/commits{/sha}","comments_url":"https://api.github.com/repos/ScottLogic/insight/comments{/number}","issue_comment_url":"https://api.github.com/repos/ScottLogic/insight/issues/comments/{number}","contents_url":"https://api.github.com/repos/ScottLogic/insight/contents/{+path}","compare_url":"https://api.github.com/repos/ScottLogic/insight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ScottLogic/insight/merges","archive_url":"https://api.github.com/repos/ScottLogic/insight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ScottLogic/insight/downloads","issues_url":"https://api.github.com/repos/ScottLogic/insight/issues{/number}","pulls_url":"https://api.github.com/repos/ScottLogic/insight/pulls{/number}","milestones_url":"https://api.github.com/repos/ScottLogic/insight/milestones{/number}","notifications_url":"https://api.github.com/repos/ScottLogic/insight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ScottLogic/insight/labels{/name}","releases_url":"https://api.github.com/repos/ScottLogic/insight/releases{/id}","created_at":"2014-05-28T09:22:15Z","updated_at":"2014-10-18T04:50:01Z","pushed_at":"2014-10-30T14:09:48Z","git_url":"git://github.com/ScottLogic/insight.git","ssh_url":"git@github.com:ScottLogic/insight.git","clone_url":"https://github.com/ScottLogic/insight.git","svn_url":"https://github.com/ScottLogic/insight","homepage":"scottlogic.github.io/insight/#/","size":49312,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":8,"forks":7,"open_issues":8,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ScottLogic/insight/pulls/300"},"html":{"href":"https://github.com/ScottLogic/insight/pull/300"},"issue":{"href":"https://api.github.com/repos/ScottLogic/insight/issues/300"},"comments":{"href":"https://api.github.com/repos/ScottLogic/insight/issues/300/comments"},"review_comments":{"href":"https://api.github.com/repos/ScottLogic/insight/pulls/300/comments"},"review_comment":{"href":"https://api.github.com/repos/ScottLogic/insight/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ScottLogic/insight/pulls/300/commits"},"statuses":{"href":"https://api.github.com/repos/ScottLogic/insight/statuses/bbe2c1e9c328f2ce6fcda899efdf630fbce06472"}}}}