{"action":"created","comment":{"url":"https://api.github.com/repos/luna/luna-studio/pulls/comments/168156371","pull_request_review_id":96475196,"id":168156371,"diff_hunk":"@@ -15,11 +18,17 @@ normalizeVis = (p, name, visConf) -> (cons) ->\n         JSON.stringify(filesToLoad)\n     else JSON.stringify(null)\n \n-setupConfigMap = (path) ->\n-    visualizers = listVisualizers(path)\n+setupConfigMap = (projectVisPath) ->","path":"luna-studio/atom/lib/luna-visualizers.coffee","position":18,"original_position":18,"commit_id":"79cf28302a37d57dee1fcd84e3aa60e83372b92d","original_commit_id":"79cf28302a37d57dee1fcd84e3aa60e83372b92d","user":{"login":"kustosz","id":1214109,"avatar_url":"https://avatars2.githubusercontent.com/u/1214109?v=4","gravatar_id":"","url":"https://api.github.com/users/kustosz","html_url":"https://github.com/kustosz","followers_url":"https://api.github.com/users/kustosz/followers","following_url":"https://api.github.com/users/kustosz/following{/other_user}","gists_url":"https://api.github.com/users/kustosz/gists{/gist_id}","starred_url":"https://api.github.com/users/kustosz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kustosz/subscriptions","organizations_url":"https://api.github.com/users/kustosz/orgs","repos_url":"https://api.github.com/users/kustosz/repos","events_url":"https://api.github.com/users/kustosz/events{/privacy}","received_events_url":"https://api.github.com/users/kustosz/received_events","type":"User","site_admin":false},"body":"This is a copy-paste – abstract it into a `getVisualizersForPath` function that returns the resolved visualizers from a given location, then call it twice in this fun.","created_at":"2018-02-14T12:15:15Z","updated_at":"2018-02-14T12:26:11Z","html_url":"https://github.com/luna/luna-studio/pull/820#discussion_r168156371","pull_request_url":"https://api.github.com/repos/luna/luna-studio/pulls/820","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/luna/luna-studio/pulls/comments/168156371"},"html":{"href":"https://github.com/luna/luna-studio/pull/820#discussion_r168156371"},"pull_request":{"href":"https://api.github.com/repos/luna/luna-studio/pulls/820"}}},"pull_request":{"url":"https://api.github.com/repos/luna/luna-studio/pulls/820","id":169000306,"html_url":"https://github.com/luna/luna-studio/pull/820","diff_url":"https://github.com/luna/luna-studio/pull/820.diff","patch_url":"https://github.com/luna/luna-studio/pull/820.patch","issue_url":"https://api.github.com/repos/luna/luna-studio/issues/820","number":820,"state":"open","locked":false,"title":"Use visualizers defined by user in project. #819","user":{"login":"ljkania","id":7061422,"avatar_url":"https://avatars0.githubusercontent.com/u/7061422?v=4","gravatar_id":"","url":"https://api.github.com/users/ljkania","html_url":"https://github.com/ljkania","followers_url":"https://api.github.com/users/ljkania/followers","following_url":"https://api.github.com/users/ljkania/following{/other_user}","gists_url":"https://api.github.com/users/ljkania/gists{/gist_id}","starred_url":"https://api.github.com/users/ljkania/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljkania/subscriptions","organizations_url":"https://api.github.com/users/ljkania/orgs","repos_url":"https://api.github.com/users/ljkania/repos","events_url":"https://api.github.com/users/ljkania/events{/privacy}","received_events_url":"https://api.github.com/users/ljkania/received_events","type":"User","site_admin":false},"body":"First step towards solution. For now user can define their own visualizers in `visualizers` folder which should be a child of project root. For now we \"rediscover\" them with every reload of graph - in  the (soon) future we would like to have some watcher on this folder instead of current mechanism. Visualizers defined by user appears in visualizers menu with prefix `custom: `","created_at":"2018-02-14T01:19:41Z","updated_at":"2018-02-14T12:26:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c0c757dfbaf192134ac3769846bc591f199836f1","assignee":{"login":"kustosz","id":1214109,"avatar_url":"https://avatars2.githubusercontent.com/u/1214109?v=4","gravatar_id":"","url":"https://api.github.com/users/kustosz","html_url":"https://github.com/kustosz","followers_url":"https://api.github.com/users/kustosz/followers","following_url":"https://api.github.com/users/kustosz/following{/other_user}","gists_url":"https://api.github.com/users/kustosz/gists{/gist_id}","starred_url":"https://api.github.com/users/kustosz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kustosz/subscriptions","organizations_url":"https://api.github.com/users/kustosz/orgs","repos_url":"https://api.github.com/users/kustosz/repos","events_url":"https://api.github.com/users/kustosz/events{/privacy}","received_events_url":"https://api.github.com/users/kustosz/received_events","type":"User","site_admin":false},"assignees":[{"login":"kustosz","id":1214109,"avatar_url":"https://avatars2.githubusercontent.com/u/1214109?v=4","gravatar_id":"","url":"https://api.github.com/users/kustosz","html_url":"https://github.com/kustosz","followers_url":"https://api.github.com/users/kustosz/followers","following_url":"https://api.github.com/users/kustosz/following{/other_user}","gists_url":"https://api.github.com/users/kustosz/gists{/gist_id}","starred_url":"https://api.github.com/users/kustosz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kustosz/subscriptions","organizations_url":"https://api.github.com/users/kustosz/orgs","repos_url":"https://api.github.com/users/kustosz/repos","events_url":"https://api.github.com/users/kustosz/events{/privacy}","received_events_url":"https://api.github.com/users/kustosz/received_events","type":"User","site_admin":false},{"login":"mikusp","id":2052578,"avatar_url":"https://avatars2.githubusercontent.com/u/2052578?v=4","gravatar_id":"","url":"https://api.github.com/users/mikusp","html_url":"https://github.com/mikusp","followers_url":"https://api.github.com/users/mikusp/followers","following_url":"https://api.github.com/users/mikusp/following{/other_user}","gists_url":"https://api.github.com/users/mikusp/gists{/gist_id}","starred_url":"https://api.github.com/users/mikusp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikusp/subscriptions","organizations_url":"https://api.github.com/users/mikusp/orgs","repos_url":"https://api.github.com/users/mikusp/repos","events_url":"https://api.github.com/users/mikusp/events{/privacy}","received_events_url":"https://api.github.com/users/mikusp/received_events","type":"User","site_admin":false},{"login":"pmlodawski","id":5347572,"avatar_url":"https://avatars0.githubusercontent.com/u/5347572?v=4","gravatar_id":"","url":"https://api.github.com/users/pmlodawski","html_url":"https://github.com/pmlodawski","followers_url":"https://api.github.com/users/pmlodawski/followers","following_url":"https://api.github.com/users/pmlodawski/following{/other_user}","gists_url":"https://api.github.com/users/pmlodawski/gists{/gist_id}","starred_url":"https://api.github.com/users/pmlodawski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmlodawski/subscriptions","organizations_url":"https://api.github.com/users/pmlodawski/orgs","repos_url":"https://api.github.com/users/pmlodawski/repos","events_url":"https://api.github.com/users/pmlodawski/events{/privacy}","received_events_url":"https://api.github.com/users/pmlodawski/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"pmlodawski","id":5347572,"avatar_url":"https://avatars0.githubusercontent.com/u/5347572?v=4","gravatar_id":"","url":"https://api.github.com/users/pmlodawski","html_url":"https://github.com/pmlodawski","followers_url":"https://api.github.com/users/pmlodawski/followers","following_url":"https://api.github.com/users/pmlodawski/following{/other_user}","gists_url":"https://api.github.com/users/pmlodawski/gists{/gist_id}","starred_url":"https://api.github.com/users/pmlodawski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmlodawski/subscriptions","organizations_url":"https://api.github.com/users/pmlodawski/orgs","repos_url":"https://api.github.com/users/pmlodawski/repos","events_url":"https://api.github.com/users/pmlodawski/events{/privacy}","received_events_url":"https://api.github.com/users/pmlodawski/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/luna/luna-studio/pulls/820/commits","review_comments_url":"https://api.github.com/repos/luna/luna-studio/pulls/820/comments","review_comment_url":"https://api.github.com/repos/luna/luna-studio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/luna/luna-studio/issues/820/comments","statuses_url":"https://api.github.com/repos/luna/luna-studio/statuses/79cf28302a37d57dee1fcd84e3aa60e83372b92d","head":{"label":"luna:819-project-visualizers","ref":"819-project-visualizers","sha":"79cf28302a37d57dee1fcd84e3aa60e83372b92d","user":{"login":"luna","id":17415943,"avatar_url":"https://avatars0.githubusercontent.com/u/17415943?v=4","gravatar_id":"","url":"https://api.github.com/users/luna","html_url":"https://github.com/luna","followers_url":"https://api.github.com/users/luna/followers","following_url":"https://api.github.com/users/luna/following{/other_user}","gists_url":"https://api.github.com/users/luna/gists{/gist_id}","starred_url":"https://api.github.com/users/luna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luna/subscriptions","organizations_url":"https://api.github.com/users/luna/orgs","repos_url":"https://api.github.com/users/luna/repos","events_url":"https://api.github.com/users/luna/events{/privacy}","received_events_url":"https://api.github.com/users/luna/received_events","type":"Organization","site_admin":false},"repo":{"id":78853390,"name":"luna-studio","full_name":"luna/luna-studio","owner":{"login":"luna","id":17415943,"avatar_url":"https://avatars0.githubusercontent.com/u/17415943?v=4","gravatar_id":"","url":"https://api.github.com/users/luna","html_url":"https://github.com/luna","followers_url":"https://api.github.com/users/luna/followers","following_url":"https://api.github.com/users/luna/following{/other_user}","gists_url":"https://api.github.com/users/luna/gists{/gist_id}","starred_url":"https://api.github.com/users/luna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luna/subscriptions","organizations_url":"https://api.github.com/users/luna/orgs","repos_url":"https://api.github.com/users/luna/repos","events_url":"https://api.github.com/users/luna/events{/privacy}","received_events_url":"https://api.github.com/users/luna/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/luna/luna-studio","description":null,"fork":false,"url":"https://api.github.com/repos/luna/luna-studio","forks_url":"https://api.github.com/repos/luna/luna-studio/forks","keys_url":"https://api.github.com/repos/luna/luna-studio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luna/luna-studio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luna/luna-studio/teams","hooks_url":"https://api.github.com/repos/luna/luna-studio/hooks","issue_events_url":"https://api.github.com/repos/luna/luna-studio/issues/events{/number}","events_url":"https://api.github.com/repos/luna/luna-studio/events","assignees_url":"https://api.github.com/repos/luna/luna-studio/assignees{/user}","branches_url":"https://api.github.com/repos/luna/luna-studio/branches{/branch}","tags_url":"https://api.github.com/repos/luna/luna-studio/tags","blobs_url":"https://api.github.com/repos/luna/luna-studio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luna/luna-studio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luna/luna-studio/git/refs{/sha}","trees_url":"https://api.github.com/repos/luna/luna-studio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luna/luna-studio/statuses/{sha}","languages_url":"https://api.github.com/repos/luna/luna-studio/languages","stargazers_url":"https://api.github.com/repos/luna/luna-studio/stargazers","contributors_url":"https://api.github.com/repos/luna/luna-studio/contributors","subscribers_url":"https://api.github.com/repos/luna/luna-studio/subscribers","subscription_url":"https://api.github.com/repos/luna/luna-studio/subscription","commits_url":"https://api.github.com/repos/luna/luna-studio/commits{/sha}","git_commits_url":"https://api.github.com/repos/luna/luna-studio/git/commits{/sha}","comments_url":"https://api.github.com/repos/luna/luna-studio/comments{/number}","issue_comment_url":"https://api.github.com/repos/luna/luna-studio/issues/comments{/number}","contents_url":"https://api.github.com/repos/luna/luna-studio/contents/{+path}","compare_url":"https://api.github.com/repos/luna/luna-studio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luna/luna-studio/merges","archive_url":"https://api.github.com/repos/luna/luna-studio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luna/luna-studio/downloads","issues_url":"https://api.github.com/repos/luna/luna-studio/issues{/number}","pulls_url":"https://api.github.com/repos/luna/luna-studio/pulls{/number}","milestones_url":"https://api.github.com/repos/luna/luna-studio/milestones{/number}","notifications_url":"https://api.github.com/repos/luna/luna-studio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luna/luna-studio/labels{/name}","releases_url":"https://api.github.com/repos/luna/luna-studio/releases{/id}","deployments_url":"https://api.github.com/repos/luna/luna-studio/deployments","created_at":"2017-01-13T13:51:54Z","updated_at":"2018-02-14T04:51:57Z","pushed_at":"2018-02-14T11:33:21Z","git_url":"git://github.com/luna/luna-studio.git","ssh_url":"git@github.com:luna/luna-studio.git","clone_url":"https://github.com/luna/luna-studio.git","svn_url":"https://github.com/luna/luna-studio","homepage":null,"size":55420,"stargazers_count":139,"watchers_count":139,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":277,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":9,"open_issues":277,"watchers":139,"default_branch":"master"}},"base":{"label":"luna:master","ref":"master","sha":"f9a7e8ee98420f9fec5387427979365efc4f92cb","user":{"login":"luna","id":17415943,"avatar_url":"https://avatars0.githubusercontent.com/u/17415943?v=4","gravatar_id":"","url":"https://api.github.com/users/luna","html_url":"https://github.com/luna","followers_url":"https://api.github.com/users/luna/followers","following_url":"https://api.github.com/users/luna/following{/other_user}","gists_url":"https://api.github.com/users/luna/gists{/gist_id}","starred_url":"https://api.github.com/users/luna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luna/subscriptions","organizations_url":"https://api.github.com/users/luna/orgs","repos_url":"https://api.github.com/users/luna/repos","events_url":"https://api.github.com/users/luna/events{/privacy}","received_events_url":"https://api.github.com/users/luna/received_events","type":"Organization","site_admin":false},"repo":{"id":78853390,"name":"luna-studio","full_name":"luna/luna-studio","owner":{"login":"luna","id":17415943,"avatar_url":"https://avatars0.githubusercontent.com/u/17415943?v=4","gravatar_id":"","url":"https://api.github.com/users/luna","html_url":"https://github.com/luna","followers_url":"https://api.github.com/users/luna/followers","following_url":"https://api.github.com/users/luna/following{/other_user}","gists_url":"https://api.github.com/users/luna/gists{/gist_id}","starred_url":"https://api.github.com/users/luna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luna/subscriptions","organizations_url":"https://api.github.com/users/luna/orgs","repos_url":"https://api.github.com/users/luna/repos","events_url":"https://api.github.com/users/luna/events{/privacy}","received_events_url":"https://api.github.com/users/luna/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/luna/luna-studio","description":null,"fork":false,"url":"https://api.github.com/repos/luna/luna-studio","forks_url":"https://api.github.com/repos/luna/luna-studio/forks","keys_url":"https://api.github.com/repos/luna/luna-studio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luna/luna-studio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luna/luna-studio/teams","hooks_url":"https://api.github.com/repos/luna/luna-studio/hooks","issue_events_url":"https://api.github.com/repos/luna/luna-studio/issues/events{/number}","events_url":"https://api.github.com/repos/luna/luna-studio/events","assignees_url":"https://api.github.com/repos/luna/luna-studio/assignees{/user}","branches_url":"https://api.github.com/repos/luna/luna-studio/branches{/branch}","tags_url":"https://api.github.com/repos/luna/luna-studio/tags","blobs_url":"https://api.github.com/repos/luna/luna-studio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luna/luna-studio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luna/luna-studio/git/refs{/sha}","trees_url":"https://api.github.com/repos/luna/luna-studio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luna/luna-studio/statuses/{sha}","languages_url":"https://api.github.com/repos/luna/luna-studio/languages","stargazers_url":"https://api.github.com/repos/luna/luna-studio/stargazers","contributors_url":"https://api.github.com/repos/luna/luna-studio/contributors","subscribers_url":"https://api.github.com/repos/luna/luna-studio/subscribers","subscription_url":"https://api.github.com/repos/luna/luna-studio/subscription","commits_url":"https://api.github.com/repos/luna/luna-studio/commits{/sha}","git_commits_url":"https://api.github.com/repos/luna/luna-studio/git/commits{/sha}","comments_url":"https://api.github.com/repos/luna/luna-studio/comments{/number}","issue_comment_url":"https://api.github.com/repos/luna/luna-studio/issues/comments{/number}","contents_url":"https://api.github.com/repos/luna/luna-studio/contents/{+path}","compare_url":"https://api.github.com/repos/luna/luna-studio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luna/luna-studio/merges","archive_url":"https://api.github.com/repos/luna/luna-studio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luna/luna-studio/downloads","issues_url":"https://api.github.com/repos/luna/luna-studio/issues{/number}","pulls_url":"https://api.github.com/repos/luna/luna-studio/pulls{/number}","milestones_url":"https://api.github.com/repos/luna/luna-studio/milestones{/number}","notifications_url":"https://api.github.com/repos/luna/luna-studio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luna/luna-studio/labels{/name}","releases_url":"https://api.github.com/repos/luna/luna-studio/releases{/id}","deployments_url":"https://api.github.com/repos/luna/luna-studio/deployments","created_at":"2017-01-13T13:51:54Z","updated_at":"2018-02-14T04:51:57Z","pushed_at":"2018-02-14T11:33:21Z","git_url":"git://github.com/luna/luna-studio.git","ssh_url":"git@github.com:luna/luna-studio.git","clone_url":"https://github.com/luna/luna-studio.git","svn_url":"https://github.com/luna/luna-studio","homepage":null,"size":55420,"stargazers_count":139,"watchers_count":139,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":277,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":9,"open_issues":277,"watchers":139,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/luna/luna-studio/pulls/820"},"html":{"href":"https://github.com/luna/luna-studio/pull/820"},"issue":{"href":"https://api.github.com/repos/luna/luna-studio/issues/820"},"comments":{"href":"https://api.github.com/repos/luna/luna-studio/issues/820/comments"},"review_comments":{"href":"https://api.github.com/repos/luna/luna-studio/pulls/820/comments"},"review_comment":{"href":"https://api.github.com/repos/luna/luna-studio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/luna/luna-studio/pulls/820/commits"},"statuses":{"href":"https://api.github.com/repos/luna/luna-studio/statuses/79cf28302a37d57dee1fcd84e3aa60e83372b92d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kustosz"}}