{"action":"opened","number":119,"pull_request":{"url":"https://api.github.com/repos/src-d/gitbase-playground/pulls/119","id":196163340,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2MTYzMzQw","html_url":"https://github.com/src-d/gitbase-playground/pull/119","diff_url":"https://github.com/src-d/gitbase-playground/pull/119.diff","patch_url":"https://github.com/src-d/gitbase-playground/pull/119.patch","issue_url":"https://api.github.com/repos/src-d/gitbase-playground/issues/119","number":119,"state":"open","locked":false,"title":"Show UAST from code","user":{"login":"smacker","id":406916,"node_id":"MDQ6VXNlcjQwNjkxNg==","avatar_url":"https://avatars0.githubusercontent.com/u/406916?v=4","gravatar_id":"","url":"https://api.github.com/users/smacker","html_url":"https://github.com/smacker","followers_url":"https://api.github.com/users/smacker/followers","following_url":"https://api.github.com/users/smacker/following{/other_user}","gists_url":"https://api.github.com/users/smacker/gists{/gist_id}","starred_url":"https://api.github.com/users/smacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smacker/subscriptions","organizations_url":"https://api.github.com/users/smacker/orgs","repos_url":"https://api.github.com/users/smacker/repos","events_url":"https://api.github.com/users/smacker/events{/privacy}","received_events_url":"https://api.github.com/users/smacker/received_events","type":"User","site_admin":false},"body":"Fixes #48 \r\n\r\n<img width=\"948\" alt=\"screen shot 2018-06-20 at 16 25 13\" src=\"https://user-images.githubusercontent.com/406916/41664744-b373209a-74a6-11e8-9b21-86557752c671.png\">\r\n<img width=\"933\" alt=\"screen shot 2018-06-20 at 16 25 24\" src=\"https://user-images.githubusercontent.com/406916/41664745-b445e1f6-74a6-11e8-9961-c27c260ba3f4.png\">\r\n<img width=\"928\" alt=\"screen shot 2018-06-20 at 16 25 43\" src=\"https://user-images.githubusercontent.com/406916/41664746-b4c9863c-74a6-11e8-9b4a-ef360329d343.png\">\r\n\r\nBecause this issue isn't about design there are few differences that will need to fix in sequential prs:\r\n- show uast button is located in left pane not in the title of modal (it would complicate code)\r\n- there is no top bar on UAST (with locations, server, query) yet. The PR is big enough already. Better implement separately.\r\n- it doesn't return underlying error from bblfsh\r\n- list of languages is hard-coded \r\n- there are no workarounds for java/bash/??? yet (languageMode != language for them)\r\n- it works freaking slow","created_at":"2018-06-20T14:34:15Z","updated_at":"2018-06-20T14:34:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/src-d/gitbase-playground/pulls/119/commits","review_comments_url":"https://api.github.com/repos/src-d/gitbase-playground/pulls/119/comments","review_comment_url":"https://api.github.com/repos/src-d/gitbase-playground/pulls/comments{/number}","comments_url":"https://api.github.com/repos/src-d/gitbase-playground/issues/119/comments","statuses_url":"https://api.github.com/repos/src-d/gitbase-playground/statuses/faf93e01737e2e2fb453cb0c26c446d8e1f709a9","head":{"label":"smacker:parse_uast_modal","ref":"parse_uast_modal","sha":"faf93e01737e2e2fb453cb0c26c446d8e1f709a9","user":{"login":"smacker","id":406916,"node_id":"MDQ6VXNlcjQwNjkxNg==","avatar_url":"https://avatars0.githubusercontent.com/u/406916?v=4","gravatar_id":"","url":"https://api.github.com/users/smacker","html_url":"https://github.com/smacker","followers_url":"https://api.github.com/users/smacker/followers","following_url":"https://api.github.com/users/smacker/following{/other_user}","gists_url":"https://api.github.com/users/smacker/gists{/gist_id}","starred_url":"https://api.github.com/users/smacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smacker/subscriptions","organizations_url":"https://api.github.com/users/smacker/orgs","repos_url":"https://api.github.com/users/smacker/repos","events_url":"https://api.github.com/users/smacker/events{/privacy}","received_events_url":"https://api.github.com/users/smacker/received_events","type":"User","site_admin":false},"repo":{"id":134570504,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ1NzA1MDQ=","name":"gitbase-playground","full_name":"smacker/gitbase-playground","owner":{"login":"smacker","id":406916,"node_id":"MDQ6VXNlcjQwNjkxNg==","avatar_url":"https://avatars0.githubusercontent.com/u/406916?v=4","gravatar_id":"","url":"https://api.github.com/users/smacker","html_url":"https://github.com/smacker","followers_url":"https://api.github.com/users/smacker/followers","following_url":"https://api.github.com/users/smacker/following{/other_user}","gists_url":"https://api.github.com/users/smacker/gists{/gist_id}","starred_url":"https://api.github.com/users/smacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smacker/subscriptions","organizations_url":"https://api.github.com/users/smacker/orgs","repos_url":"https://api.github.com/users/smacker/repos","events_url":"https://api.github.com/users/smacker/events{/privacy}","received_events_url":"https://api.github.com/users/smacker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smacker/gitbase-playground","description":"gitbase playground","fork":true,"url":"https://api.github.com/repos/smacker/gitbase-playground","forks_url":"https://api.github.com/repos/smacker/gitbase-playground/forks","keys_url":"https://api.github.com/repos/smacker/gitbase-playground/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smacker/gitbase-playground/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smacker/gitbase-playground/teams","hooks_url":"https://api.github.com/repos/smacker/gitbase-playground/hooks","issue_events_url":"https://api.github.com/repos/smacker/gitbase-playground/issues/events{/number}","events_url":"https://api.github.com/repos/smacker/gitbase-playground/events","assignees_url":"https://api.github.com/repos/smacker/gitbase-playground/assignees{/user}","branches_url":"https://api.github.com/repos/smacker/gitbase-playground/branches{/branch}","tags_url":"https://api.github.com/repos/smacker/gitbase-playground/tags","blobs_url":"https://api.github.com/repos/smacker/gitbase-playground/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smacker/gitbase-playground/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smacker/gitbase-playground/git/refs{/sha}","trees_url":"https://api.github.com/repos/smacker/gitbase-playground/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smacker/gitbase-playground/statuses/{sha}","languages_url":"https://api.github.com/repos/smacker/gitbase-playground/languages","stargazers_url":"https://api.github.com/repos/smacker/gitbase-playground/stargazers","contributors_url":"https://api.github.com/repos/smacker/gitbase-playground/contributors","subscribers_url":"https://api.github.com/repos/smacker/gitbase-playground/subscribers","subscription_url":"https://api.github.com/repos/smacker/gitbase-playground/subscription","commits_url":"https://api.github.com/repos/smacker/gitbase-playground/commits{/sha}","git_commits_url":"https://api.github.com/repos/smacker/gitbase-playground/git/commits{/sha}","comments_url":"https://api.github.com/repos/smacker/gitbase-playground/comments{/number}","issue_comment_url":"https://api.github.com/repos/smacker/gitbase-playground/issues/comments{/number}","contents_url":"https://api.github.com/repos/smacker/gitbase-playground/contents/{+path}","compare_url":"https://api.github.com/repos/smacker/gitbase-playground/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smacker/gitbase-playground/merges","archive_url":"https://api.github.com/repos/smacker/gitbase-playground/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smacker/gitbase-playground/downloads","issues_url":"https://api.github.com/repos/smacker/gitbase-playground/issues{/number}","pulls_url":"https://api.github.com/repos/smacker/gitbase-playground/pulls{/number}","milestones_url":"https://api.github.com/repos/smacker/gitbase-playground/milestones{/number}","notifications_url":"https://api.github.com/repos/smacker/gitbase-playground/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smacker/gitbase-playground/labels{/name}","releases_url":"https://api.github.com/repos/smacker/gitbase-playground/releases{/id}","deployments_url":"https://api.github.com/repos/smacker/gitbase-playground/deployments","created_at":"2018-05-23T13:02:47Z","updated_at":"2018-05-23T13:02:49Z","pushed_at":"2018-06-20T14:32:22Z","git_url":"git://github.com/smacker/gitbase-playground.git","ssh_url":"git@github.com:smacker/gitbase-playground.git","clone_url":"https://github.com/smacker/gitbase-playground.git","svn_url":"https://github.com/smacker/gitbase-playground","homepage":null,"size":5237,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"src-d:master","ref":"master","sha":"f41e10c017ef0e40d8e2c376a760ed83eb597c4d","user":{"login":"src-d","id":15128793,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MTI4Nzkz","avatar_url":"https://avatars2.githubusercontent.com/u/15128793?v=4","gravatar_id":"","url":"https://api.github.com/users/src-d","html_url":"https://github.com/src-d","followers_url":"https://api.github.com/users/src-d/followers","following_url":"https://api.github.com/users/src-d/following{/other_user}","gists_url":"https://api.github.com/users/src-d/gists{/gist_id}","starred_url":"https://api.github.com/users/src-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/src-d/subscriptions","organizations_url":"https://api.github.com/users/src-d/orgs","repos_url":"https://api.github.com/users/src-d/repos","events_url":"https://api.github.com/users/src-d/events{/privacy}","received_events_url":"https://api.github.com/users/src-d/received_events","type":"Organization","site_admin":false},"repo":{"id":129398671,"node_id":"MDEwOlJlcG9zaXRvcnkxMjkzOTg2NzE=","name":"gitbase-playground","full_name":"src-d/gitbase-playground","owner":{"login":"src-d","id":15128793,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MTI4Nzkz","avatar_url":"https://avatars2.githubusercontent.com/u/15128793?v=4","gravatar_id":"","url":"https://api.github.com/users/src-d","html_url":"https://github.com/src-d","followers_url":"https://api.github.com/users/src-d/followers","following_url":"https://api.github.com/users/src-d/following{/other_user}","gists_url":"https://api.github.com/users/src-d/gists{/gist_id}","starred_url":"https://api.github.com/users/src-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/src-d/subscriptions","organizations_url":"https://api.github.com/users/src-d/orgs","repos_url":"https://api.github.com/users/src-d/repos","events_url":"https://api.github.com/users/src-d/events{/privacy}","received_events_url":"https://api.github.com/users/src-d/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/src-d/gitbase-playground","description":"gitbase playground","fork":false,"url":"https://api.github.com/repos/src-d/gitbase-playground","forks_url":"https://api.github.com/repos/src-d/gitbase-playground/forks","keys_url":"https://api.github.com/repos/src-d/gitbase-playground/keys{/key_id}","collaborators_url":"https://api.github.com/repos/src-d/gitbase-playground/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/src-d/gitbase-playground/teams","hooks_url":"https://api.github.com/repos/src-d/gitbase-playground/hooks","issue_events_url":"https://api.github.com/repos/src-d/gitbase-playground/issues/events{/number}","events_url":"https://api.github.com/repos/src-d/gitbase-playground/events","assignees_url":"https://api.github.com/repos/src-d/gitbase-playground/assignees{/user}","branches_url":"https://api.github.com/repos/src-d/gitbase-playground/branches{/branch}","tags_url":"https://api.github.com/repos/src-d/gitbase-playground/tags","blobs_url":"https://api.github.com/repos/src-d/gitbase-playground/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/src-d/gitbase-playground/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/src-d/gitbase-playground/git/refs{/sha}","trees_url":"https://api.github.com/repos/src-d/gitbase-playground/git/trees{/sha}","statuses_url":"https://api.github.com/repos/src-d/gitbase-playground/statuses/{sha}","languages_url":"https://api.github.com/repos/src-d/gitbase-playground/languages","stargazers_url":"https://api.github.com/repos/src-d/gitbase-playground/stargazers","contributors_url":"https://api.github.com/repos/src-d/gitbase-playground/contributors","subscribers_url":"https://api.github.com/repos/src-d/gitbase-playground/subscribers","subscription_url":"https://api.github.com/repos/src-d/gitbase-playground/subscription","commits_url":"https://api.github.com/repos/src-d/gitbase-playground/commits{/sha}","git_commits_url":"https://api.github.com/repos/src-d/gitbase-playground/git/commits{/sha}","comments_url":"https://api.github.com/repos/src-d/gitbase-playground/comments{/number}","issue_comment_url":"https://api.github.com/repos/src-d/gitbase-playground/issues/comments{/number}","contents_url":"https://api.github.com/repos/src-d/gitbase-playground/contents/{+path}","compare_url":"https://api.github.com/repos/src-d/gitbase-playground/compare/{base}...{head}","merges_url":"https://api.github.com/repos/src-d/gitbase-playground/merges","archive_url":"https://api.github.com/repos/src-d/gitbase-playground/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/src-d/gitbase-playground/downloads","issues_url":"https://api.github.com/repos/src-d/gitbase-playground/issues{/number}","pulls_url":"https://api.github.com/repos/src-d/gitbase-playground/pulls{/number}","milestones_url":"https://api.github.com/repos/src-d/gitbase-playground/milestones{/number}","notifications_url":"https://api.github.com/repos/src-d/gitbase-playground/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/src-d/gitbase-playground/labels{/name}","releases_url":"https://api.github.com/repos/src-d/gitbase-playground/releases{/id}","deployments_url":"https://api.github.com/repos/src-d/gitbase-playground/deployments","created_at":"2018-04-13T12:22:47Z","updated_at":"2018-06-19T16:48:11Z","pushed_at":"2018-06-20T13:19:25Z","git_url":"git://github.com/src-d/gitbase-playground.git","ssh_url":"git@github.com:src-d/gitbase-playground.git","clone_url":"https://github.com/src-d/gitbase-playground.git","svn_url":"https://github.com/src-d/gitbase-playground","homepage":null,"size":6132,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":5,"open_issues":21,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/src-d/gitbase-playground/pulls/119"},"html":{"href":"https://github.com/src-d/gitbase-playground/pull/119"},"issue":{"href":"https://api.github.com/repos/src-d/gitbase-playground/issues/119"},"comments":{"href":"https://api.github.com/repos/src-d/gitbase-playground/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/src-d/gitbase-playground/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/src-d/gitbase-playground/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/src-d/gitbase-playground/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/src-d/gitbase-playground/statuses/faf93e01737e2e2fb453cb0c26c446d8e1f709a9"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":330,"deletions":56,"changed_files":10}}
{"actor":{"display_login":"smacker"}}