{"action":"opened","number":27127,"pull_request":{"url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/27127","id":199017017,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5MDE3MDE3","html_url":"https://github.com/cockroachdb/cockroach/pull/27127","diff_url":"https://github.com/cockroachdb/cockroach/pull/27127.diff","patch_url":"https://github.com/cockroachdb/cockroach/pull/27127.patch","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/27127","number":27127,"state":"open","locked":false,"title":"ui: pretty-print statement fingerprints","user":{"login":"couchand","id":793969,"node_id":"MDQ6VXNlcjc5Mzk2OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/793969?v=4","gravatar_id":"","url":"https://api.github.com/users/couchand","html_url":"https://github.com/couchand","followers_url":"https://api.github.com/users/couchand/followers","following_url":"https://api.github.com/users/couchand/following{/other_user}","gists_url":"https://api.github.com/users/couchand/gists{/gist_id}","starred_url":"https://api.github.com/users/couchand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchand/subscriptions","organizations_url":"https://api.github.com/users/couchand/orgs","repos_url":"https://api.github.com/users/couchand/repos","events_url":"https://api.github.com/users/couchand/events{/privacy}","received_events_url":"https://api.github.com/users/couchand/received_events","type":"User","site_admin":false},"body":"Thanks to @mjibson in #26943 there is now a pretty-printer built in to Cockroach.  This leverages that to nicely format the statement fingerprints for the Statements pages.\r\n\r\ndetails page:\r\n<img width=\"838\" alt=\"screen shot 2018-07-03 at 11 37 20 am\" src=\"https://user-images.githubusercontent.com/793969/42232019-315435c6-7ebb-11e8-8b30-7da45f31c16d.png\">\r\n\r\ntooltip:\r\n<img width=\"758\" alt=\"screen shot 2018-07-03 at 12 18 51 pm\" src=\"https://user-images.githubusercontent.com/793969/42232050-47ef89f2-7ebb-11e8-9f21-cc9a8ec28a5a.png\">\r\n","created_at":"2018-07-03T16:19:28Z","updated_at":"2018-07-03T16:19:28Z","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/cockroachdb/cockroach/pulls/27127/commits","review_comments_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/27127/comments","review_comment_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/27127/comments","statuses_url":"https://api.github.com/repos/cockroachdb/cockroach/statuses/ede88641484dc1a94f2b9b4839b9e0ab60c606c6","head":{"label":"couchand:feature/pretty-print","ref":"feature/pretty-print","sha":"ede88641484dc1a94f2b9b4839b9e0ab60c606c6","user":{"login":"couchand","id":793969,"node_id":"MDQ6VXNlcjc5Mzk2OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/793969?v=4","gravatar_id":"","url":"https://api.github.com/users/couchand","html_url":"https://github.com/couchand","followers_url":"https://api.github.com/users/couchand/followers","following_url":"https://api.github.com/users/couchand/following{/other_user}","gists_url":"https://api.github.com/users/couchand/gists{/gist_id}","starred_url":"https://api.github.com/users/couchand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchand/subscriptions","organizations_url":"https://api.github.com/users/couchand/orgs","repos_url":"https://api.github.com/users/couchand/repos","events_url":"https://api.github.com/users/couchand/events{/privacy}","received_events_url":"https://api.github.com/users/couchand/received_events","type":"User","site_admin":false},"repo":{"id":95484413,"node_id":"MDEwOlJlcG9zaXRvcnk5NTQ4NDQxMw==","name":"cockroach","full_name":"couchand/cockroach","owner":{"login":"couchand","id":793969,"node_id":"MDQ6VXNlcjc5Mzk2OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/793969?v=4","gravatar_id":"","url":"https://api.github.com/users/couchand","html_url":"https://github.com/couchand","followers_url":"https://api.github.com/users/couchand/followers","following_url":"https://api.github.com/users/couchand/following{/other_user}","gists_url":"https://api.github.com/users/couchand/gists{/gist_id}","starred_url":"https://api.github.com/users/couchand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchand/subscriptions","organizations_url":"https://api.github.com/users/couchand/orgs","repos_url":"https://api.github.com/users/couchand/repos","events_url":"https://api.github.com/users/couchand/events{/privacy}","received_events_url":"https://api.github.com/users/couchand/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/couchand/cockroach","description":"CockroachDB - the open source, cloud-native SQL database.","fork":true,"url":"https://api.github.com/repos/couchand/cockroach","forks_url":"https://api.github.com/repos/couchand/cockroach/forks","keys_url":"https://api.github.com/repos/couchand/cockroach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/couchand/cockroach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/couchand/cockroach/teams","hooks_url":"https://api.github.com/repos/couchand/cockroach/hooks","issue_events_url":"https://api.github.com/repos/couchand/cockroach/issues/events{/number}","events_url":"https://api.github.com/repos/couchand/cockroach/events","assignees_url":"https://api.github.com/repos/couchand/cockroach/assignees{/user}","branches_url":"https://api.github.com/repos/couchand/cockroach/branches{/branch}","tags_url":"https://api.github.com/repos/couchand/cockroach/tags","blobs_url":"https://api.github.com/repos/couchand/cockroach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/couchand/cockroach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/couchand/cockroach/git/refs{/sha}","trees_url":"https://api.github.com/repos/couchand/cockroach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/couchand/cockroach/statuses/{sha}","languages_url":"https://api.github.com/repos/couchand/cockroach/languages","stargazers_url":"https://api.github.com/repos/couchand/cockroach/stargazers","contributors_url":"https://api.github.com/repos/couchand/cockroach/contributors","subscribers_url":"https://api.github.com/repos/couchand/cockroach/subscribers","subscription_url":"https://api.github.com/repos/couchand/cockroach/subscription","commits_url":"https://api.github.com/repos/couchand/cockroach/commits{/sha}","git_commits_url":"https://api.github.com/repos/couchand/cockroach/git/commits{/sha}","comments_url":"https://api.github.com/repos/couchand/cockroach/comments{/number}","issue_comment_url":"https://api.github.com/repos/couchand/cockroach/issues/comments{/number}","contents_url":"https://api.github.com/repos/couchand/cockroach/contents/{+path}","compare_url":"https://api.github.com/repos/couchand/cockroach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/couchand/cockroach/merges","archive_url":"https://api.github.com/repos/couchand/cockroach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/couchand/cockroach/downloads","issues_url":"https://api.github.com/repos/couchand/cockroach/issues{/number}","pulls_url":"https://api.github.com/repos/couchand/cockroach/pulls{/number}","milestones_url":"https://api.github.com/repos/couchand/cockroach/milestones{/number}","notifications_url":"https://api.github.com/repos/couchand/cockroach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/couchand/cockroach/labels{/name}","releases_url":"https://api.github.com/repos/couchand/cockroach/releases{/id}","deployments_url":"https://api.github.com/repos/couchand/cockroach/deployments","created_at":"2017-06-26T19:59:56Z","updated_at":"2017-06-26T20:00:05Z","pushed_at":"2018-07-03T16:17:11Z","git_url":"git://github.com/couchand/cockroach.git","ssh_url":"git@github.com:couchand/cockroach.git","clone_url":"https://github.com/couchand/cockroach.git","svn_url":"https://github.com/couchand/cockroach","homepage":"https://www.cockroachlabs.com","size":565167,"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":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cockroachdb:master","ref":"master","sha":"c9d3f19783967b94256d2ba58099b464ea2abc2b","user":{"login":"cockroachdb","id":6748139,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NDgxMzk=","avatar_url":"https://avatars3.githubusercontent.com/u/6748139?v=4","gravatar_id":"","url":"https://api.github.com/users/cockroachdb","html_url":"https://github.com/cockroachdb","followers_url":"https://api.github.com/users/cockroachdb/followers","following_url":"https://api.github.com/users/cockroachdb/following{/other_user}","gists_url":"https://api.github.com/users/cockroachdb/gists{/gist_id}","starred_url":"https://api.github.com/users/cockroachdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockroachdb/subscriptions","organizations_url":"https://api.github.com/users/cockroachdb/orgs","repos_url":"https://api.github.com/users/cockroachdb/repos","events_url":"https://api.github.com/users/cockroachdb/events{/privacy}","received_events_url":"https://api.github.com/users/cockroachdb/received_events","type":"Organization","site_admin":false},"repo":{"id":16563587,"node_id":"MDEwOlJlcG9zaXRvcnkxNjU2MzU4Nw==","name":"cockroach","full_name":"cockroachdb/cockroach","owner":{"login":"cockroachdb","id":6748139,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NDgxMzk=","avatar_url":"https://avatars3.githubusercontent.com/u/6748139?v=4","gravatar_id":"","url":"https://api.github.com/users/cockroachdb","html_url":"https://github.com/cockroachdb","followers_url":"https://api.github.com/users/cockroachdb/followers","following_url":"https://api.github.com/users/cockroachdb/following{/other_user}","gists_url":"https://api.github.com/users/cockroachdb/gists{/gist_id}","starred_url":"https://api.github.com/users/cockroachdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockroachdb/subscriptions","organizations_url":"https://api.github.com/users/cockroachdb/orgs","repos_url":"https://api.github.com/users/cockroachdb/repos","events_url":"https://api.github.com/users/cockroachdb/events{/privacy}","received_events_url":"https://api.github.com/users/cockroachdb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cockroachdb/cockroach","description":"CockroachDB - the open source, cloud-native SQL database.","fork":false,"url":"https://api.github.com/repos/cockroachdb/cockroach","forks_url":"https://api.github.com/repos/cockroachdb/cockroach/forks","keys_url":"https://api.github.com/repos/cockroachdb/cockroach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cockroachdb/cockroach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cockroachdb/cockroach/teams","hooks_url":"https://api.github.com/repos/cockroachdb/cockroach/hooks","issue_events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/events{/number}","events_url":"https://api.github.com/repos/cockroachdb/cockroach/events","assignees_url":"https://api.github.com/repos/cockroachdb/cockroach/assignees{/user}","branches_url":"https://api.github.com/repos/cockroachdb/cockroach/branches{/branch}","tags_url":"https://api.github.com/repos/cockroachdb/cockroach/tags","blobs_url":"https://api.github.com/repos/cockroachdb/cockroach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cockroachdb/cockroach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cockroachdb/cockroach/git/refs{/sha}","trees_url":"https://api.github.com/repos/cockroachdb/cockroach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cockroachdb/cockroach/statuses/{sha}","languages_url":"https://api.github.com/repos/cockroachdb/cockroach/languages","stargazers_url":"https://api.github.com/repos/cockroachdb/cockroach/stargazers","contributors_url":"https://api.github.com/repos/cockroachdb/cockroach/contributors","subscribers_url":"https://api.github.com/repos/cockroachdb/cockroach/subscribers","subscription_url":"https://api.github.com/repos/cockroachdb/cockroach/subscription","commits_url":"https://api.github.com/repos/cockroachdb/cockroach/commits{/sha}","git_commits_url":"https://api.github.com/repos/cockroachdb/cockroach/git/commits{/sha}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/comments{/number}","issue_comment_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments{/number}","contents_url":"https://api.github.com/repos/cockroachdb/cockroach/contents/{+path}","compare_url":"https://api.github.com/repos/cockroachdb/cockroach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cockroachdb/cockroach/merges","archive_url":"https://api.github.com/repos/cockroachdb/cockroach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cockroachdb/cockroach/downloads","issues_url":"https://api.github.com/repos/cockroachdb/cockroach/issues{/number}","pulls_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls{/number}","milestones_url":"https://api.github.com/repos/cockroachdb/cockroach/milestones{/number}","notifications_url":"https://api.github.com/repos/cockroachdb/cockroach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/labels{/name}","releases_url":"https://api.github.com/repos/cockroachdb/cockroach/releases{/id}","deployments_url":"https://api.github.com/repos/cockroachdb/cockroach/deployments","created_at":"2014-02-06T00:18:47Z","updated_at":"2018-07-03T14:16:31Z","pushed_at":"2018-07-03T16:16:00Z","git_url":"git://github.com/cockroachdb/cockroach.git","ssh_url":"git@github.com:cockroachdb/cockroach.git","clone_url":"https://github.com/cockroachdb/cockroach.git","svn_url":"https://github.com/cockroachdb/cockroach","homepage":"https://www.cockroachlabs.com","size":1019555,"stargazers_count":13740,"watchers_count":13740,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1429,"mirror_url":null,"archived":false,"open_issues_count":1875,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1429,"open_issues":1875,"watchers":13740,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/27127"},"html":{"href":"https://github.com/cockroachdb/cockroach/pull/27127"},"issue":{"href":"https://api.github.com/repos/cockroachdb/cockroach/issues/27127"},"comments":{"href":"https://api.github.com/repos/cockroachdb/cockroach/issues/27127/comments"},"review_comments":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/27127/comments"},"review_comment":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/27127/commits"},"statuses":{"href":"https://api.github.com/repos/cockroachdb/cockroach/statuses/ede88641484dc1a94f2b9b4839b9e0ab60c606c6"}},"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":2,"additions":359,"deletions":300,"changed_files":8}}
{"actor":{"display_login":"couchand"}}