{"action":"created","issue":{"url":"https://api.github.com/repos/yupe/yupe/issues/1904","labels_url":"https://api.github.com/repos/yupe/yupe/issues/1904/labels{/name}","comments_url":"https://api.github.com/repos/yupe/yupe/issues/1904/comments","events_url":"https://api.github.com/repos/yupe/yupe/issues/1904/events","html_url":"https://github.com/yupe/yupe/issues/1904","id":61023885,"number":1904,"title":"Упростить процедуру подключения комментариев","user":{"login":"DarkCs","id":2734280,"avatar_url":"https://avatars.githubusercontent.com/u/2734280?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkCs","html_url":"https://github.com/DarkCs","followers_url":"https://api.github.com/users/DarkCs/followers","following_url":"https://api.github.com/users/DarkCs/following{/other_user}","gists_url":"https://api.github.com/users/DarkCs/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkCs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkCs/subscriptions","organizations_url":"https://api.github.com/users/DarkCs/orgs","repos_url":"https://api.github.com/users/DarkCs/repos","events_url":"https://api.github.com/users/DarkCs/events{/privacy}","received_events_url":"https://api.github.com/users/DarkCs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yupe/yupe/labels/%D0%98%D0%B4%D0%B5%D1%8F/%D0%9F%D1%80%D0%B5%D0%B4%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5","name":"Идея/Предложение","color":"dfa102"},{"url":"https://api.github.com/repos/yupe/yupe/labels/%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:%D0%9A%D0%BE%D0%BC%D0%BC%D0%B5%D0%BD%D1%82%D0%B0%D1%80%D0%B8%D0%B8","name":"Модуль:Комментарии","color":"02a15a"}],"state":"open","locked":false,"assignee":{"login":"mikspark","id":1117977,"avatar_url":"https://avatars.githubusercontent.com/u/1117977?v=3","gravatar_id":"","url":"https://api.github.com/users/mikspark","html_url":"https://github.com/mikspark","followers_url":"https://api.github.com/users/mikspark/followers","following_url":"https://api.github.com/users/mikspark/following{/other_user}","gists_url":"https://api.github.com/users/mikspark/gists{/gist_id}","starred_url":"https://api.github.com/users/mikspark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikspark/subscriptions","organizations_url":"https://api.github.com/users/mikspark/orgs","repos_url":"https://api.github.com/users/mikspark/repos","events_url":"https://api.github.com/users/mikspark/events{/privacy}","received_events_url":"https://api.github.com/users/mikspark/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-13T09:44:22Z","updated_at":"2015-09-29T09:07:09Z","closed_at":null,"body":"Сейчас требуется слишком много действий, чтобы добавить комментарии на страницу.\r\nПредлагаю:\r\n\r\n1. Убрать реализацию интерфейса ICommentable у моделей https://github.com/yupe/yupe/blob/dev/protected/modules/blog/models/Post.php#L54\r\n2. Убрать из relation подключение связей для комментариев https://github.com/yupe/yupe/blob/dev/protected/modules/blog/models/Post.php#L185-L205\r\n3. В виджете подключения комментариев  передавать только модель (строкой) и id. Пара модель/ид будет полностью определять какие комментарии выводить."},"comment":{"url":"https://api.github.com/repos/yupe/yupe/issues/comments/143998534","html_url":"https://github.com/yupe/yupe/issues/1904#issuecomment-143998534","issue_url":"https://api.github.com/repos/yupe/yupe/issues/1904","id":143998534,"user":{"login":"yupe","id":668145,"avatar_url":"https://avatars.githubusercontent.com/u/668145?v=3","gravatar_id":"","url":"https://api.github.com/users/yupe","html_url":"https://github.com/yupe","followers_url":"https://api.github.com/users/yupe/followers","following_url":"https://api.github.com/users/yupe/following{/other_user}","gists_url":"https://api.github.com/users/yupe/gists{/gist_id}","starred_url":"https://api.github.com/users/yupe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yupe/subscriptions","organizations_url":"https://api.github.com/users/yupe/orgs","repos_url":"https://api.github.com/users/yupe/repos","events_url":"https://api.github.com/users/yupe/events{/privacy}","received_events_url":"https://api.github.com/users/yupe/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T09:07:09Z","updated_at":"2015-09-29T09:07:09Z","body":"@mikspark ты забил на задачку ? =)"}}