{"action":"created","issue":{"url":"https://api.github.com/repos/capacity4dev/capacity4more/issues/741","labels_url":"https://api.github.com/repos/capacity4dev/capacity4more/issues/741/labels{/name}","comments_url":"https://api.github.com/repos/capacity4dev/capacity4more/issues/741/comments","events_url":"https://api.github.com/repos/capacity4dev/capacity4more/issues/741/events","html_url":"https://github.com/capacity4dev/capacity4more/pull/741","id":77592365,"number":741,"title":"CFD-540 website statistics summary","user":{"login":"SebastienVanRintel","id":2338753,"avatar_url":"https://avatars.githubusercontent.com/u/2338753?v=3","gravatar_id":"","url":"https://api.github.com/users/SebastienVanRintel","html_url":"https://github.com/SebastienVanRintel","followers_url":"https://api.github.com/users/SebastienVanRintel/followers","following_url":"https://api.github.com/users/SebastienVanRintel/following{/other_user}","gists_url":"https://api.github.com/users/SebastienVanRintel/gists{/gist_id}","starred_url":"https://api.github.com/users/SebastienVanRintel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebastienVanRintel/subscriptions","organizations_url":"https://api.github.com/users/SebastienVanRintel/orgs","repos_url":"https://api.github.com/users/SebastienVanRintel/repos","events_url":"https://api.github.com/users/SebastienVanRintel/events{/privacy}","received_events_url":"https://api.github.com/users/SebastienVanRintel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"SebastienVanRintel","id":2338753,"avatar_url":"https://avatars.githubusercontent.com/u/2338753?v=3","gravatar_id":"","url":"https://api.github.com/users/SebastienVanRintel","html_url":"https://github.com/SebastienVanRintel","followers_url":"https://api.github.com/users/SebastienVanRintel/followers","following_url":"https://api.github.com/users/SebastienVanRintel/following{/other_user}","gists_url":"https://api.github.com/users/SebastienVanRintel/gists{/gist_id}","starred_url":"https://api.github.com/users/SebastienVanRintel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebastienVanRintel/subscriptions","organizations_url":"https://api.github.com/users/SebastienVanRintel/orgs","repos_url":"https://api.github.com/users/SebastienVanRintel/repos","events_url":"https://api.github.com/users/SebastienVanRintel/events{/privacy}","received_events_url":"https://api.github.com/users/SebastienVanRintel/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-05-18T10:03:57Z","updated_at":"2015-05-22T13:16:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/capacity4dev/capacity4more/pulls/741","html_url":"https://github.com/capacity4dev/capacity4more/pull/741","diff_url":"https://github.com/capacity4dev/capacity4more/pull/741.diff","patch_url":"https://github.com/capacity4dev/capacity4more/pull/741.patch"},"body":"![image](https://cloud.githubusercontent.com/assets/2338753/7678625/f11232a4-fd55-11e4-8822-2b0910c03a40.png)\r\n"},"comment":{"url":"https://api.github.com/repos/capacity4dev/capacity4more/issues/comments/104657427","html_url":"https://github.com/capacity4dev/capacity4more/pull/741#issuecomment-104657427","issue_url":"https://api.github.com/repos/capacity4dev/capacity4more/issues/741","id":104657427,"user":{"login":"zero2one","id":133124,"avatar_url":"https://avatars.githubusercontent.com/u/133124?v=3","gravatar_id":"","url":"https://api.github.com/users/zero2one","html_url":"https://github.com/zero2one","followers_url":"https://api.github.com/users/zero2one/followers","following_url":"https://api.github.com/users/zero2one/following{/other_user}","gists_url":"https://api.github.com/users/zero2one/gists{/gist_id}","starred_url":"https://api.github.com/users/zero2one/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zero2one/subscriptions","organizations_url":"https://api.github.com/users/zero2one/orgs","repos_url":"https://api.github.com/users/zero2one/repos","events_url":"https://api.github.com/users/zero2one/events{/privacy}","received_events_url":"https://api.github.com/users/zero2one/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T13:16:27Z","updated_at":"2015-05-22T13:16:27Z","body":"@SebastienVanRintel : I already merged in the development branch.\r\n\r\n### Done\r\n* I refactored the hook so we retrieve the statistics info already grouped by the context.\r\n* I Moved the group statistics block to a field and putted it in the More details in the right sidebar.\r\n* I added links to all statistics items except group comments.\r\n\r\n### Missing icons\r\n* Event icon in the global stats.\r\n* Wiki page icon in the group stats.\r\n* Comment icon in the group stats.\r\n* Proper Members icon in the group stats.\r\n\r\n\r\n### Not working properly\r\nI also noticed that some counts are not ok:\r\n\r\nGlobal:\r\n\r\n What | Stats | Overview page\r\n--------|--------|--------\r\nGroups | 12 | 16\r\nMembers | 1 | 8\r\n\r\n* 12 groups, groups overview says 16.\r\n* 1 Members, members overview says 8.\r\n\r\nGroup (example /nobelprize):\r\n\r\n What | Stats | Search within group\r\n--------|--------|--------\r\nWiki pages | 26 | 14\r\nDocuments | 10 | 8\r\nDiscussions | 14 | 12\r\nEvents | 17 | 13\r\nMembers | 1 | 2 approved\r\n"}}