{"action":"created","comment":{"url":"https://api.github.com/repos/liqd/aula/pulls/comments/59694638","id":59694638,"diff_hunk":"@@ -29,11 +29,10 @@ import LifeCycle\n import qualified Frontend.Path as U\n \n data CommentWidget = CommentWidget\n-    { _cwIdeaCaps :: [IdeaCapability]\n-    , _cwUserId   :: AUID User\n-    , _cwRole     :: Role\n-    , _cwContext  :: CommentContext\n-    , _cwComment  :: Comment\n+    { _cwIdeaCaps      :: [IdeaCapability]","path":"src/Frontend/Page/Comment.hs","position":null,"original_position":9,"commit_id":"bb9a328614a3bc6542d9dd06bee65d632345a814","original_commit_id":"28ac0190dc9a5ad05487592c076ecb5f7c92ef02","user":{"login":"fisx","id":10210727,"avatar_url":"https://avatars.githubusercontent.com/u/10210727?v=3","gravatar_id":"","url":"https://api.github.com/users/fisx","html_url":"https://github.com/fisx","followers_url":"https://api.github.com/users/fisx/followers","following_url":"https://api.github.com/users/fisx/following{/other_user}","gists_url":"https://api.github.com/users/fisx/gists{/gist_id}","starred_url":"https://api.github.com/users/fisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fisx/subscriptions","organizations_url":"https://api.github.com/users/fisx/orgs","repos_url":"https://api.github.com/users/fisx/repos","events_url":"https://api.github.com/users/fisx/events{/privacy}","received_events_url":"https://api.github.com/users/fisx/received_events","type":"User","site_admin":false},"body":"> There is a type synonym for `[IdeaCapability]` that is `IdeaCapabilities` please use that, as the same style is applied on the persistent layer.\n\nno there isn't, i think i might have removed that.  i don't like introducing more names for something os simple.\n","created_at":"2016-04-14T10:30:57Z","updated_at":"2016-04-14T10:30:57Z","html_url":"https://github.com/liqd/aula/pull/362#discussion_r59694638","pull_request_url":"https://api.github.com/repos/liqd/aula/pulls/362","_links":{"self":{"href":"https://api.github.com/repos/liqd/aula/pulls/comments/59694638"},"html":{"href":"https://github.com/liqd/aula/pull/362#discussion_r59694638"},"pull_request":{"href":"https://api.github.com/repos/liqd/aula/pulls/362"}}},"pull_request":{"url":"https://api.github.com/repos/liqd/aula/pulls/362","id":66338663,"html_url":"https://github.com/liqd/aula/pull/362","diff_url":"https://github.com/liqd/aula/pull/362.diff","patch_url":"https://github.com/liqd/aula/pull/362.patch","issue_url":"https://api.github.com/repos/liqd/aula/issues/362","number":362,"state":"open","locked":false,"title":"Delete and report comments","user":{"login":"np","id":5548,"avatar_url":"https://avatars.githubusercontent.com/u/5548?v=3","gravatar_id":"","url":"https://api.github.com/users/np","html_url":"https://github.com/np","followers_url":"https://api.github.com/users/np/followers","following_url":"https://api.github.com/users/np/following{/other_user}","gists_url":"https://api.github.com/users/np/gists{/gist_id}","starred_url":"https://api.github.com/users/np/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/np/subscriptions","organizations_url":"https://api.github.com/users/np/orgs","repos_url":"https://api.github.com/users/np/repos","events_url":"https://api.github.com/users/np/events{/privacy}","received_events_url":"https://api.github.com/users/np/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-04-13T15:13:13Z","updated_at":"2016-04-14T10:30:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"30cfed11f4f8ac1430ee189bc063aadc6ea22d88","assignee":{"login":"fisx","id":10210727,"avatar_url":"https://avatars.githubusercontent.com/u/10210727?v=3","gravatar_id":"","url":"https://api.github.com/users/fisx","html_url":"https://github.com/fisx","followers_url":"https://api.github.com/users/fisx/followers","following_url":"https://api.github.com/users/fisx/following{/other_user}","gists_url":"https://api.github.com/users/fisx/gists{/gist_id}","starred_url":"https://api.github.com/users/fisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fisx/subscriptions","organizations_url":"https://api.github.com/users/fisx/orgs","repos_url":"https://api.github.com/users/fisx/repos","events_url":"https://api.github.com/users/fisx/events{/privacy}","received_events_url":"https://api.github.com/users/fisx/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/liqd/aula/pulls/362/commits","review_comments_url":"https://api.github.com/repos/liqd/aula/pulls/362/comments","review_comment_url":"https://api.github.com/repos/liqd/aula/pulls/comments{/number}","comments_url":"https://api.github.com/repos/liqd/aula/issues/362/comments","statuses_url":"https://api.github.com/repos/liqd/aula/statuses/bb9a328614a3bc6542d9dd06bee65d632345a814","head":{"label":"liqd:2016-04-13-np-delete-comments","ref":"2016-04-13-np-delete-comments","sha":"bb9a328614a3bc6542d9dd06bee65d632345a814","user":{"login":"liqd","id":2312088,"avatar_url":"https://avatars.githubusercontent.com/u/2312088?v=3","gravatar_id":"","url":"https://api.github.com/users/liqd","html_url":"https://github.com/liqd","followers_url":"https://api.github.com/users/liqd/followers","following_url":"https://api.github.com/users/liqd/following{/other_user}","gists_url":"https://api.github.com/users/liqd/gists{/gist_id}","starred_url":"https://api.github.com/users/liqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liqd/subscriptions","organizations_url":"https://api.github.com/users/liqd/orgs","repos_url":"https://api.github.com/users/liqd/repos","events_url":"https://api.github.com/users/liqd/events{/privacy}","received_events_url":"https://api.github.com/users/liqd/received_events","type":"Organization","site_admin":false},"repo":{"id":50575063,"name":"aula","full_name":"liqd/aula","owner":{"login":"liqd","id":2312088,"avatar_url":"https://avatars.githubusercontent.com/u/2312088?v=3","gravatar_id":"","url":"https://api.github.com/users/liqd","html_url":"https://github.com/liqd","followers_url":"https://api.github.com/users/liqd/followers","following_url":"https://api.github.com/users/liqd/following{/other_user}","gists_url":"https://api.github.com/users/liqd/gists{/gist_id}","starred_url":"https://api.github.com/users/liqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liqd/subscriptions","organizations_url":"https://api.github.com/users/liqd/orgs","repos_url":"https://api.github.com/users/liqd/repos","events_url":"https://api.github.com/users/liqd/events{/privacy}","received_events_url":"https://api.github.com/users/liqd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/liqd/aula","description":"","fork":false,"url":"https://api.github.com/repos/liqd/aula","forks_url":"https://api.github.com/repos/liqd/aula/forks","keys_url":"https://api.github.com/repos/liqd/aula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liqd/aula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liqd/aula/teams","hooks_url":"https://api.github.com/repos/liqd/aula/hooks","issue_events_url":"https://api.github.com/repos/liqd/aula/issues/events{/number}","events_url":"https://api.github.com/repos/liqd/aula/events","assignees_url":"https://api.github.com/repos/liqd/aula/assignees{/user}","branches_url":"https://api.github.com/repos/liqd/aula/branches{/branch}","tags_url":"https://api.github.com/repos/liqd/aula/tags","blobs_url":"https://api.github.com/repos/liqd/aula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liqd/aula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liqd/aula/git/refs{/sha}","trees_url":"https://api.github.com/repos/liqd/aula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liqd/aula/statuses/{sha}","languages_url":"https://api.github.com/repos/liqd/aula/languages","stargazers_url":"https://api.github.com/repos/liqd/aula/stargazers","contributors_url":"https://api.github.com/repos/liqd/aula/contributors","subscribers_url":"https://api.github.com/repos/liqd/aula/subscribers","subscription_url":"https://api.github.com/repos/liqd/aula/subscription","commits_url":"https://api.github.com/repos/liqd/aula/commits{/sha}","git_commits_url":"https://api.github.com/repos/liqd/aula/git/commits{/sha}","comments_url":"https://api.github.com/repos/liqd/aula/comments{/number}","issue_comment_url":"https://api.github.com/repos/liqd/aula/issues/comments{/number}","contents_url":"https://api.github.com/repos/liqd/aula/contents/{+path}","compare_url":"https://api.github.com/repos/liqd/aula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liqd/aula/merges","archive_url":"https://api.github.com/repos/liqd/aula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liqd/aula/downloads","issues_url":"https://api.github.com/repos/liqd/aula/issues{/number}","pulls_url":"https://api.github.com/repos/liqd/aula/pulls{/number}","milestones_url":"https://api.github.com/repos/liqd/aula/milestones{/number}","notifications_url":"https://api.github.com/repos/liqd/aula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liqd/aula/labels{/name}","releases_url":"https://api.github.com/repos/liqd/aula/releases{/id}","deployments_url":"https://api.github.com/repos/liqd/aula/deployments","created_at":"2016-01-28T10:23:17Z","updated_at":"2016-02-17T23:33:10Z","pushed_at":"2016-04-14T10:08:59Z","git_url":"git://github.com/liqd/aula.git","ssh_url":"git@github.com:liqd/aula.git","clone_url":"https://github.com/liqd/aula.git","svn_url":"https://github.com/liqd/aula","homepage":null,"size":2701,"stargazers_count":5,"watchers_count":5,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":45,"forks":0,"open_issues":45,"watchers":5,"default_branch":"master"}},"base":{"label":"liqd:master","ref":"master","sha":"a1ec3f0606cb813b1404e9d6c22e86eb73bf674d","user":{"login":"liqd","id":2312088,"avatar_url":"https://avatars.githubusercontent.com/u/2312088?v=3","gravatar_id":"","url":"https://api.github.com/users/liqd","html_url":"https://github.com/liqd","followers_url":"https://api.github.com/users/liqd/followers","following_url":"https://api.github.com/users/liqd/following{/other_user}","gists_url":"https://api.github.com/users/liqd/gists{/gist_id}","starred_url":"https://api.github.com/users/liqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liqd/subscriptions","organizations_url":"https://api.github.com/users/liqd/orgs","repos_url":"https://api.github.com/users/liqd/repos","events_url":"https://api.github.com/users/liqd/events{/privacy}","received_events_url":"https://api.github.com/users/liqd/received_events","type":"Organization","site_admin":false},"repo":{"id":50575063,"name":"aula","full_name":"liqd/aula","owner":{"login":"liqd","id":2312088,"avatar_url":"https://avatars.githubusercontent.com/u/2312088?v=3","gravatar_id":"","url":"https://api.github.com/users/liqd","html_url":"https://github.com/liqd","followers_url":"https://api.github.com/users/liqd/followers","following_url":"https://api.github.com/users/liqd/following{/other_user}","gists_url":"https://api.github.com/users/liqd/gists{/gist_id}","starred_url":"https://api.github.com/users/liqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liqd/subscriptions","organizations_url":"https://api.github.com/users/liqd/orgs","repos_url":"https://api.github.com/users/liqd/repos","events_url":"https://api.github.com/users/liqd/events{/privacy}","received_events_url":"https://api.github.com/users/liqd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/liqd/aula","description":"","fork":false,"url":"https://api.github.com/repos/liqd/aula","forks_url":"https://api.github.com/repos/liqd/aula/forks","keys_url":"https://api.github.com/repos/liqd/aula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liqd/aula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liqd/aula/teams","hooks_url":"https://api.github.com/repos/liqd/aula/hooks","issue_events_url":"https://api.github.com/repos/liqd/aula/issues/events{/number}","events_url":"https://api.github.com/repos/liqd/aula/events","assignees_url":"https://api.github.com/repos/liqd/aula/assignees{/user}","branches_url":"https://api.github.com/repos/liqd/aula/branches{/branch}","tags_url":"https://api.github.com/repos/liqd/aula/tags","blobs_url":"https://api.github.com/repos/liqd/aula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liqd/aula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liqd/aula/git/refs{/sha}","trees_url":"https://api.github.com/repos/liqd/aula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liqd/aula/statuses/{sha}","languages_url":"https://api.github.com/repos/liqd/aula/languages","stargazers_url":"https://api.github.com/repos/liqd/aula/stargazers","contributors_url":"https://api.github.com/repos/liqd/aula/contributors","subscribers_url":"https://api.github.com/repos/liqd/aula/subscribers","subscription_url":"https://api.github.com/repos/liqd/aula/subscription","commits_url":"https://api.github.com/repos/liqd/aula/commits{/sha}","git_commits_url":"https://api.github.com/repos/liqd/aula/git/commits{/sha}","comments_url":"https://api.github.com/repos/liqd/aula/comments{/number}","issue_comment_url":"https://api.github.com/repos/liqd/aula/issues/comments{/number}","contents_url":"https://api.github.com/repos/liqd/aula/contents/{+path}","compare_url":"https://api.github.com/repos/liqd/aula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liqd/aula/merges","archive_url":"https://api.github.com/repos/liqd/aula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liqd/aula/downloads","issues_url":"https://api.github.com/repos/liqd/aula/issues{/number}","pulls_url":"https://api.github.com/repos/liqd/aula/pulls{/number}","milestones_url":"https://api.github.com/repos/liqd/aula/milestones{/number}","notifications_url":"https://api.github.com/repos/liqd/aula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liqd/aula/labels{/name}","releases_url":"https://api.github.com/repos/liqd/aula/releases{/id}","deployments_url":"https://api.github.com/repos/liqd/aula/deployments","created_at":"2016-01-28T10:23:17Z","updated_at":"2016-02-17T23:33:10Z","pushed_at":"2016-04-14T10:08:59Z","git_url":"git://github.com/liqd/aula.git","ssh_url":"git@github.com:liqd/aula.git","clone_url":"https://github.com/liqd/aula.git","svn_url":"https://github.com/liqd/aula","homepage":null,"size":2701,"stargazers_count":5,"watchers_count":5,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":45,"forks":0,"open_issues":45,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/liqd/aula/pulls/362"},"html":{"href":"https://github.com/liqd/aula/pull/362"},"issue":{"href":"https://api.github.com/repos/liqd/aula/issues/362"},"comments":{"href":"https://api.github.com/repos/liqd/aula/issues/362/comments"},"review_comments":{"href":"https://api.github.com/repos/liqd/aula/pulls/362/comments"},"review_comment":{"href":"https://api.github.com/repos/liqd/aula/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/liqd/aula/pulls/362/commits"},"statuses":{"href":"https://api.github.com/repos/liqd/aula/statuses/bb9a328614a3bc6542d9dd06bee65d632345a814"}}}}