{"action":"created","comment":{"url":"https://api.github.com/repos/santiment/sanbase2/pulls/comments/182076652","pull_request_review_id":112814951,"id":182076652,"diff_hunk":"@@ -23,7 +27,7 @@ defmodule SanbaseWeb.Graphql.VotingTypes do\n     field(:state, :string)\n     field(:moderation_comment, :string)\n     field(:images, list_of(:image_data), resolve: dataloader(SanbaseRepo))\n-    field(:related_projects, list_of(:project), resolve: dataloader(SanbaseRepo))","path":"lib/sanbase_web/graphql/schema/voting_types.ex","position":19,"original_position":15,"commit_id":"9a80b97c4113910d18ee8b63b2d0837ca4a6dfa4","original_commit_id":"a6b24044d18091aef9352de9ede77a8d8f7020b3","user":{"login":"Partysun","id":522287,"avatar_url":"https://avatars0.githubusercontent.com/u/522287?v=4","gravatar_id":"","url":"https://api.github.com/users/Partysun","html_url":"https://github.com/Partysun","followers_url":"https://api.github.com/users/Partysun/followers","following_url":"https://api.github.com/users/Partysun/following{/other_user}","gists_url":"https://api.github.com/users/Partysun/gists{/gist_id}","starred_url":"https://api.github.com/users/Partysun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Partysun/subscriptions","organizations_url":"https://api.github.com/users/Partysun/orgs","repos_url":"https://api.github.com/users/Partysun/repos","events_url":"https://api.github.com/users/Partysun/events{/privacy}","received_events_url":"https://api.github.com/users/Partysun/received_events","type":"User","site_admin":false},"body":"@IvanIvanoff It's a good idea. Now we can make simple text tags. I can make difference between tags on frontend, it will be flexible now.","created_at":"2018-04-17T13:43:14Z","updated_at":"2018-04-17T13:43:14Z","html_url":"https://github.com/santiment/sanbase2/pull/397#discussion_r182076652","pull_request_url":"https://api.github.com/repos/santiment/sanbase2/pulls/397","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/santiment/sanbase2/pulls/comments/182076652"},"html":{"href":"https://github.com/santiment/sanbase2/pull/397#discussion_r182076652"},"pull_request":{"href":"https://api.github.com/repos/santiment/sanbase2/pulls/397"}},"in_reply_to_id":181659958},"pull_request":{"url":"https://api.github.com/repos/santiment/sanbase2/pulls/397","id":180930175,"html_url":"https://github.com/santiment/sanbase2/pull/397","diff_url":"https://github.com/santiment/sanbase2/pull/397.diff","patch_url":"https://github.com/santiment/sanbase2/pull/397.patch","issue_url":"https://api.github.com/repos/santiment/sanbase2/issues/397","number":397,"state":"open","locked":false,"title":"Use tags for insights","user":{"login":"tspenov","id":122794,"avatar_url":"https://avatars0.githubusercontent.com/u/122794?v=4","gravatar_id":"","url":"https://api.github.com/users/tspenov","html_url":"https://github.com/tspenov","followers_url":"https://api.github.com/users/tspenov/followers","following_url":"https://api.github.com/users/tspenov/following{/other_user}","gists_url":"https://api.github.com/users/tspenov/gists{/gist_id}","starred_url":"https://api.github.com/users/tspenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tspenov/subscriptions","organizations_url":"https://api.github.com/users/tspenov/orgs","repos_url":"https://api.github.com/users/tspenov/repos","events_url":"https://api.github.com/users/tspenov/events{/privacy}","received_events_url":"https://api.github.com/users/tspenov/received_events","type":"User","site_admin":false},"body":"#### Summary\r\nSwitch from related projects to tags for the insights\r\n\r\ncard: https://favro.com/card/bdbb4f24afc48b29c74f4fa4/San-1469\r\n\r\n- [x] Migration to add Tags and PostsTags tables\r\n- [x] Seed tags - \"Crypto market\" (for posts concerning all projects) and projects.ticker for post concerning particular project\r\n- [x] create_post graphql mutation -> handle array of tags as arg, add test\r\n- [x] Add`realated_posts` in project resolver\r\n- [x] Add a test for this for the above\r\n- [x] Insert new tag in tags when new project is added\r\n- [x] Tested migrations on staging dump\r\n","created_at":"2018-04-11T14:50:24Z","updated_at":"2018-04-17T13:43:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"749303bcddc7a33b056277a6ca416a3b9415ce30","assignee":null,"assignees":[],"requested_reviewers":[{"login":"valo","id":47639,"avatar_url":"https://avatars2.githubusercontent.com/u/47639?v=4","gravatar_id":"","url":"https://api.github.com/users/valo","html_url":"https://github.com/valo","followers_url":"https://api.github.com/users/valo/followers","following_url":"https://api.github.com/users/valo/following{/other_user}","gists_url":"https://api.github.com/users/valo/gists{/gist_id}","starred_url":"https://api.github.com/users/valo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valo/subscriptions","organizations_url":"https://api.github.com/users/valo/orgs","repos_url":"https://api.github.com/users/valo/repos","events_url":"https://api.github.com/users/valo/events{/privacy}","received_events_url":"https://api.github.com/users/valo/received_events","type":"User","site_admin":false},{"login":"LucoLe","id":5284935,"avatar_url":"https://avatars3.githubusercontent.com/u/5284935?v=4","gravatar_id":"","url":"https://api.github.com/users/LucoLe","html_url":"https://github.com/LucoLe","followers_url":"https://api.github.com/users/LucoLe/followers","following_url":"https://api.github.com/users/LucoLe/following{/other_user}","gists_url":"https://api.github.com/users/LucoLe/gists{/gist_id}","starred_url":"https://api.github.com/users/LucoLe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucoLe/subscriptions","organizations_url":"https://api.github.com/users/LucoLe/orgs","repos_url":"https://api.github.com/users/LucoLe/repos","events_url":"https://api.github.com/users/LucoLe/events{/privacy}","received_events_url":"https://api.github.com/users/LucoLe/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/santiment/sanbase2/pulls/397/commits","review_comments_url":"https://api.github.com/repos/santiment/sanbase2/pulls/397/comments","review_comment_url":"https://api.github.com/repos/santiment/sanbase2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/santiment/sanbase2/issues/397/comments","statuses_url":"https://api.github.com/repos/santiment/sanbase2/statuses/9a80b97c4113910d18ee8b63b2d0837ca4a6dfa4","head":{"label":"santiment:use-tags-for-insights","ref":"use-tags-for-insights","sha":"9a80b97c4113910d18ee8b63b2d0837ca4a6dfa4","user":{"login":"santiment","id":24846876,"avatar_url":"https://avatars1.githubusercontent.com/u/24846876?v=4","gravatar_id":"","url":"https://api.github.com/users/santiment","html_url":"https://github.com/santiment","followers_url":"https://api.github.com/users/santiment/followers","following_url":"https://api.github.com/users/santiment/following{/other_user}","gists_url":"https://api.github.com/users/santiment/gists{/gist_id}","starred_url":"https://api.github.com/users/santiment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santiment/subscriptions","organizations_url":"https://api.github.com/users/santiment/orgs","repos_url":"https://api.github.com/users/santiment/repos","events_url":"https://api.github.com/users/santiment/events{/privacy}","received_events_url":"https://api.github.com/users/santiment/received_events","type":"Organization","site_admin":false},"repo":{"id":106712767,"name":"sanbase2","full_name":"santiment/sanbase2","owner":{"login":"santiment","id":24846876,"avatar_url":"https://avatars1.githubusercontent.com/u/24846876?v=4","gravatar_id":"","url":"https://api.github.com/users/santiment","html_url":"https://github.com/santiment","followers_url":"https://api.github.com/users/santiment/followers","following_url":"https://api.github.com/users/santiment/following{/other_user}","gists_url":"https://api.github.com/users/santiment/gists{/gist_id}","starred_url":"https://api.github.com/users/santiment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santiment/subscriptions","organizations_url":"https://api.github.com/users/santiment/orgs","repos_url":"https://api.github.com/users/santiment/repos","events_url":"https://api.github.com/users/santiment/events{/privacy}","received_events_url":"https://api.github.com/users/santiment/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/santiment/sanbase2","description":"The source code of the Sanbase application in Santiment LLC","fork":false,"url":"https://api.github.com/repos/santiment/sanbase2","forks_url":"https://api.github.com/repos/santiment/sanbase2/forks","keys_url":"https://api.github.com/repos/santiment/sanbase2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/santiment/sanbase2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/santiment/sanbase2/teams","hooks_url":"https://api.github.com/repos/santiment/sanbase2/hooks","issue_events_url":"https://api.github.com/repos/santiment/sanbase2/issues/events{/number}","events_url":"https://api.github.com/repos/santiment/sanbase2/events","assignees_url":"https://api.github.com/repos/santiment/sanbase2/assignees{/user}","branches_url":"https://api.github.com/repos/santiment/sanbase2/branches{/branch}","tags_url":"https://api.github.com/repos/santiment/sanbase2/tags","blobs_url":"https://api.github.com/repos/santiment/sanbase2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/santiment/sanbase2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/santiment/sanbase2/git/refs{/sha}","trees_url":"https://api.github.com/repos/santiment/sanbase2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/santiment/sanbase2/statuses/{sha}","languages_url":"https://api.github.com/repos/santiment/sanbase2/languages","stargazers_url":"https://api.github.com/repos/santiment/sanbase2/stargazers","contributors_url":"https://api.github.com/repos/santiment/sanbase2/contributors","subscribers_url":"https://api.github.com/repos/santiment/sanbase2/subscribers","subscription_url":"https://api.github.com/repos/santiment/sanbase2/subscription","commits_url":"https://api.github.com/repos/santiment/sanbase2/commits{/sha}","git_commits_url":"https://api.github.com/repos/santiment/sanbase2/git/commits{/sha}","comments_url":"https://api.github.com/repos/santiment/sanbase2/comments{/number}","issue_comment_url":"https://api.github.com/repos/santiment/sanbase2/issues/comments{/number}","contents_url":"https://api.github.com/repos/santiment/sanbase2/contents/{+path}","compare_url":"https://api.github.com/repos/santiment/sanbase2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/santiment/sanbase2/merges","archive_url":"https://api.github.com/repos/santiment/sanbase2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/santiment/sanbase2/downloads","issues_url":"https://api.github.com/repos/santiment/sanbase2/issues{/number}","pulls_url":"https://api.github.com/repos/santiment/sanbase2/pulls{/number}","milestones_url":"https://api.github.com/repos/santiment/sanbase2/milestones{/number}","notifications_url":"https://api.github.com/repos/santiment/sanbase2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/santiment/sanbase2/labels{/name}","releases_url":"https://api.github.com/repos/santiment/sanbase2/releases{/id}","deployments_url":"https://api.github.com/repos/santiment/sanbase2/deployments","created_at":"2017-10-12T15:42:11Z","updated_at":"2018-04-17T11:48:29Z","pushed_at":"2018-04-17T13:20:50Z","git_url":"git://github.com/santiment/sanbase2.git","ssh_url":"git@github.com:santiment/sanbase2.git","clone_url":"https://github.com/santiment/sanbase2.git","svn_url":"https://github.com/santiment/sanbase2","homepage":"https://sanbase-low.santiment.net","size":6691,"stargazers_count":25,"watchers_count":25,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":14,"watchers":25,"default_branch":"master"}},"base":{"label":"santiment:master","ref":"master","sha":"7950d989405d90464065e64e62ea7fd5a3ee0ef9","user":{"login":"santiment","id":24846876,"avatar_url":"https://avatars1.githubusercontent.com/u/24846876?v=4","gravatar_id":"","url":"https://api.github.com/users/santiment","html_url":"https://github.com/santiment","followers_url":"https://api.github.com/users/santiment/followers","following_url":"https://api.github.com/users/santiment/following{/other_user}","gists_url":"https://api.github.com/users/santiment/gists{/gist_id}","starred_url":"https://api.github.com/users/santiment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santiment/subscriptions","organizations_url":"https://api.github.com/users/santiment/orgs","repos_url":"https://api.github.com/users/santiment/repos","events_url":"https://api.github.com/users/santiment/events{/privacy}","received_events_url":"https://api.github.com/users/santiment/received_events","type":"Organization","site_admin":false},"repo":{"id":106712767,"name":"sanbase2","full_name":"santiment/sanbase2","owner":{"login":"santiment","id":24846876,"avatar_url":"https://avatars1.githubusercontent.com/u/24846876?v=4","gravatar_id":"","url":"https://api.github.com/users/santiment","html_url":"https://github.com/santiment","followers_url":"https://api.github.com/users/santiment/followers","following_url":"https://api.github.com/users/santiment/following{/other_user}","gists_url":"https://api.github.com/users/santiment/gists{/gist_id}","starred_url":"https://api.github.com/users/santiment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santiment/subscriptions","organizations_url":"https://api.github.com/users/santiment/orgs","repos_url":"https://api.github.com/users/santiment/repos","events_url":"https://api.github.com/users/santiment/events{/privacy}","received_events_url":"https://api.github.com/users/santiment/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/santiment/sanbase2","description":"The source code of the Sanbase application in Santiment LLC","fork":false,"url":"https://api.github.com/repos/santiment/sanbase2","forks_url":"https://api.github.com/repos/santiment/sanbase2/forks","keys_url":"https://api.github.com/repos/santiment/sanbase2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/santiment/sanbase2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/santiment/sanbase2/teams","hooks_url":"https://api.github.com/repos/santiment/sanbase2/hooks","issue_events_url":"https://api.github.com/repos/santiment/sanbase2/issues/events{/number}","events_url":"https://api.github.com/repos/santiment/sanbase2/events","assignees_url":"https://api.github.com/repos/santiment/sanbase2/assignees{/user}","branches_url":"https://api.github.com/repos/santiment/sanbase2/branches{/branch}","tags_url":"https://api.github.com/repos/santiment/sanbase2/tags","blobs_url":"https://api.github.com/repos/santiment/sanbase2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/santiment/sanbase2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/santiment/sanbase2/git/refs{/sha}","trees_url":"https://api.github.com/repos/santiment/sanbase2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/santiment/sanbase2/statuses/{sha}","languages_url":"https://api.github.com/repos/santiment/sanbase2/languages","stargazers_url":"https://api.github.com/repos/santiment/sanbase2/stargazers","contributors_url":"https://api.github.com/repos/santiment/sanbase2/contributors","subscribers_url":"https://api.github.com/repos/santiment/sanbase2/subscribers","subscription_url":"https://api.github.com/repos/santiment/sanbase2/subscription","commits_url":"https://api.github.com/repos/santiment/sanbase2/commits{/sha}","git_commits_url":"https://api.github.com/repos/santiment/sanbase2/git/commits{/sha}","comments_url":"https://api.github.com/repos/santiment/sanbase2/comments{/number}","issue_comment_url":"https://api.github.com/repos/santiment/sanbase2/issues/comments{/number}","contents_url":"https://api.github.com/repos/santiment/sanbase2/contents/{+path}","compare_url":"https://api.github.com/repos/santiment/sanbase2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/santiment/sanbase2/merges","archive_url":"https://api.github.com/repos/santiment/sanbase2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/santiment/sanbase2/downloads","issues_url":"https://api.github.com/repos/santiment/sanbase2/issues{/number}","pulls_url":"https://api.github.com/repos/santiment/sanbase2/pulls{/number}","milestones_url":"https://api.github.com/repos/santiment/sanbase2/milestones{/number}","notifications_url":"https://api.github.com/repos/santiment/sanbase2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/santiment/sanbase2/labels{/name}","releases_url":"https://api.github.com/repos/santiment/sanbase2/releases{/id}","deployments_url":"https://api.github.com/repos/santiment/sanbase2/deployments","created_at":"2017-10-12T15:42:11Z","updated_at":"2018-04-17T11:48:29Z","pushed_at":"2018-04-17T13:20:50Z","git_url":"git://github.com/santiment/sanbase2.git","ssh_url":"git@github.com:santiment/sanbase2.git","clone_url":"https://github.com/santiment/sanbase2.git","svn_url":"https://github.com/santiment/sanbase2","homepage":"https://sanbase-low.santiment.net","size":6691,"stargazers_count":25,"watchers_count":25,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":14,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/santiment/sanbase2/pulls/397"},"html":{"href":"https://github.com/santiment/sanbase2/pull/397"},"issue":{"href":"https://api.github.com/repos/santiment/sanbase2/issues/397"},"comments":{"href":"https://api.github.com/repos/santiment/sanbase2/issues/397/comments"},"review_comments":{"href":"https://api.github.com/repos/santiment/sanbase2/pulls/397/comments"},"review_comment":{"href":"https://api.github.com/repos/santiment/sanbase2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/santiment/sanbase2/pulls/397/commits"},"statuses":{"href":"https://api.github.com/repos/santiment/sanbase2/statuses/9a80b97c4113910d18ee8b63b2d0837ca4a6dfa4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Partysun"}}