{"action":"opened","number":54,"pull_request":{"url":"https://api.github.com/repos/rickbergfalk/sqlpad/pulls/54","id":46915696,"html_url":"https://github.com/rickbergfalk/sqlpad/pull/54","diff_url":"https://github.com/rickbergfalk/sqlpad/pull/54.diff","patch_url":"https://github.com/rickbergfalk/sqlpad/pull/54.patch","issue_url":"https://api.github.com/repos/rickbergfalk/sqlpad/issues/54","number":54,"state":"open","locked":false,"title":"feat(embeddable chart): for any query, add a page with just the chart","user":{"login":"nbrustein","id":82556,"avatar_url":"https://avatars.githubusercontent.com/u/82556?v=3","gravatar_id":"","url":"https://api.github.com/users/nbrustein","html_url":"https://github.com/nbrustein","followers_url":"https://api.github.com/users/nbrustein/followers","following_url":"https://api.github.com/users/nbrustein/following{/other_user}","gists_url":"https://api.github.com/users/nbrustein/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrustein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrustein/subscriptions","organizations_url":"https://api.github.com/users/nbrustein/orgs","repos_url":"https://api.github.com/users/nbrustein/repos","events_url":"https://api.github.com/users/nbrustein/events{/privacy}","received_events_url":"https://api.github.com/users/nbrustein/received_events","type":"User","site_admin":false},"body":"I want to be able to create dashboards on my company's internal wiki with multiple charts.  This PR makes it possible for me to do that using iframes pointing at sqlpad charts.\r\n\r\nThis PR adds a button under 'Save Chart Image' with the label 'Link to Chart'.  That links to the page for the current query with `format=chart` in the querystring.  The page that is rendered shows only the chart for the query, without the header or any of the editing functions.\r\n","created_at":"2015-10-06T15:10:36Z","updated_at":"2015-10-06T15:10:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rickbergfalk/sqlpad/pulls/54/commits","review_comments_url":"https://api.github.com/repos/rickbergfalk/sqlpad/pulls/54/comments","review_comment_url":"https://api.github.com/repos/rickbergfalk/sqlpad/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rickbergfalk/sqlpad/issues/54/comments","statuses_url":"https://api.github.com/repos/rickbergfalk/sqlpad/statuses/97fc3d6655d34725df60a1d9108efe79157a383e","head":{"label":"nbrustein:embeddable-charts","ref":"embeddable-charts","sha":"97fc3d6655d34725df60a1d9108efe79157a383e","user":{"login":"nbrustein","id":82556,"avatar_url":"https://avatars.githubusercontent.com/u/82556?v=3","gravatar_id":"","url":"https://api.github.com/users/nbrustein","html_url":"https://github.com/nbrustein","followers_url":"https://api.github.com/users/nbrustein/followers","following_url":"https://api.github.com/users/nbrustein/following{/other_user}","gists_url":"https://api.github.com/users/nbrustein/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrustein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrustein/subscriptions","organizations_url":"https://api.github.com/users/nbrustein/orgs","repos_url":"https://api.github.com/users/nbrustein/repos","events_url":"https://api.github.com/users/nbrustein/events{/privacy}","received_events_url":"https://api.github.com/users/nbrustein/received_events","type":"User","site_admin":false},"repo":{"id":42706964,"name":"sqlpad","full_name":"nbrustein/sqlpad","owner":{"login":"nbrustein","id":82556,"avatar_url":"https://avatars.githubusercontent.com/u/82556?v=3","gravatar_id":"","url":"https://api.github.com/users/nbrustein","html_url":"https://github.com/nbrustein","followers_url":"https://api.github.com/users/nbrustein/followers","following_url":"https://api.github.com/users/nbrustein/following{/other_user}","gists_url":"https://api.github.com/users/nbrustein/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrustein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrustein/subscriptions","organizations_url":"https://api.github.com/users/nbrustein/orgs","repos_url":"https://api.github.com/users/nbrustein/repos","events_url":"https://api.github.com/users/nbrustein/events{/privacy}","received_events_url":"https://api.github.com/users/nbrustein/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nbrustein/sqlpad","description":"A sql editor run in your own private cloud. Supports MySQL, Postgres, SQL Server and Vertica","fork":true,"url":"https://api.github.com/repos/nbrustein/sqlpad","forks_url":"https://api.github.com/repos/nbrustein/sqlpad/forks","keys_url":"https://api.github.com/repos/nbrustein/sqlpad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nbrustein/sqlpad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nbrustein/sqlpad/teams","hooks_url":"https://api.github.com/repos/nbrustein/sqlpad/hooks","issue_events_url":"https://api.github.com/repos/nbrustein/sqlpad/issues/events{/number}","events_url":"https://api.github.com/repos/nbrustein/sqlpad/events","assignees_url":"https://api.github.com/repos/nbrustein/sqlpad/assignees{/user}","branches_url":"https://api.github.com/repos/nbrustein/sqlpad/branches{/branch}","tags_url":"https://api.github.com/repos/nbrustein/sqlpad/tags","blobs_url":"https://api.github.com/repos/nbrustein/sqlpad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nbrustein/sqlpad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nbrustein/sqlpad/git/refs{/sha}","trees_url":"https://api.github.com/repos/nbrustein/sqlpad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nbrustein/sqlpad/statuses/{sha}","languages_url":"https://api.github.com/repos/nbrustein/sqlpad/languages","stargazers_url":"https://api.github.com/repos/nbrustein/sqlpad/stargazers","contributors_url":"https://api.github.com/repos/nbrustein/sqlpad/contributors","subscribers_url":"https://api.github.com/repos/nbrustein/sqlpad/subscribers","subscription_url":"https://api.github.com/repos/nbrustein/sqlpad/subscription","commits_url":"https://api.github.com/repos/nbrustein/sqlpad/commits{/sha}","git_commits_url":"https://api.github.com/repos/nbrustein/sqlpad/git/commits{/sha}","comments_url":"https://api.github.com/repos/nbrustein/sqlpad/comments{/number}","issue_comment_url":"https://api.github.com/repos/nbrustein/sqlpad/issues/comments{/number}","contents_url":"https://api.github.com/repos/nbrustein/sqlpad/contents/{+path}","compare_url":"https://api.github.com/repos/nbrustein/sqlpad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nbrustein/sqlpad/merges","archive_url":"https://api.github.com/repos/nbrustein/sqlpad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nbrustein/sqlpad/downloads","issues_url":"https://api.github.com/repos/nbrustein/sqlpad/issues{/number}","pulls_url":"https://api.github.com/repos/nbrustein/sqlpad/pulls{/number}","milestones_url":"https://api.github.com/repos/nbrustein/sqlpad/milestones{/number}","notifications_url":"https://api.github.com/repos/nbrustein/sqlpad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nbrustein/sqlpad/labels{/name}","releases_url":"https://api.github.com/repos/nbrustein/sqlpad/releases{/id}","created_at":"2015-09-18T07:40:58Z","updated_at":"2015-09-18T07:40:59Z","pushed_at":"2015-10-04T04:32:05Z","git_url":"git://github.com/nbrustein/sqlpad.git","ssh_url":"git@github.com:nbrustein/sqlpad.git","clone_url":"https://github.com/nbrustein/sqlpad.git","svn_url":"https://github.com/nbrustein/sqlpad","homepage":"http://rickbergfalk.github.io/sqlpad/","size":9325,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rickbergfalk:master","ref":"master","sha":"d52fc6dadbe59361d387af8b31e8fb679c47f442","user":{"login":"rickbergfalk","id":303966,"avatar_url":"https://avatars.githubusercontent.com/u/303966?v=3","gravatar_id":"","url":"https://api.github.com/users/rickbergfalk","html_url":"https://github.com/rickbergfalk","followers_url":"https://api.github.com/users/rickbergfalk/followers","following_url":"https://api.github.com/users/rickbergfalk/following{/other_user}","gists_url":"https://api.github.com/users/rickbergfalk/gists{/gist_id}","starred_url":"https://api.github.com/users/rickbergfalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickbergfalk/subscriptions","organizations_url":"https://api.github.com/users/rickbergfalk/orgs","repos_url":"https://api.github.com/users/rickbergfalk/repos","events_url":"https://api.github.com/users/rickbergfalk/events{/privacy}","received_events_url":"https://api.github.com/users/rickbergfalk/received_events","type":"User","site_admin":false},"repo":{"id":20280681,"name":"sqlpad","full_name":"rickbergfalk/sqlpad","owner":{"login":"rickbergfalk","id":303966,"avatar_url":"https://avatars.githubusercontent.com/u/303966?v=3","gravatar_id":"","url":"https://api.github.com/users/rickbergfalk","html_url":"https://github.com/rickbergfalk","followers_url":"https://api.github.com/users/rickbergfalk/followers","following_url":"https://api.github.com/users/rickbergfalk/following{/other_user}","gists_url":"https://api.github.com/users/rickbergfalk/gists{/gist_id}","starred_url":"https://api.github.com/users/rickbergfalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickbergfalk/subscriptions","organizations_url":"https://api.github.com/users/rickbergfalk/orgs","repos_url":"https://api.github.com/users/rickbergfalk/repos","events_url":"https://api.github.com/users/rickbergfalk/events{/privacy}","received_events_url":"https://api.github.com/users/rickbergfalk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rickbergfalk/sqlpad","description":"A sql editor run in your own private cloud. Supports MySQL, Postgres, SQL Server and Vertica","fork":false,"url":"https://api.github.com/repos/rickbergfalk/sqlpad","forks_url":"https://api.github.com/repos/rickbergfalk/sqlpad/forks","keys_url":"https://api.github.com/repos/rickbergfalk/sqlpad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rickbergfalk/sqlpad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rickbergfalk/sqlpad/teams","hooks_url":"https://api.github.com/repos/rickbergfalk/sqlpad/hooks","issue_events_url":"https://api.github.com/repos/rickbergfalk/sqlpad/issues/events{/number}","events_url":"https://api.github.com/repos/rickbergfalk/sqlpad/events","assignees_url":"https://api.github.com/repos/rickbergfalk/sqlpad/assignees{/user}","branches_url":"https://api.github.com/repos/rickbergfalk/sqlpad/branches{/branch}","tags_url":"https://api.github.com/repos/rickbergfalk/sqlpad/tags","blobs_url":"https://api.github.com/repos/rickbergfalk/sqlpad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rickbergfalk/sqlpad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rickbergfalk/sqlpad/git/refs{/sha}","trees_url":"https://api.github.com/repos/rickbergfalk/sqlpad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rickbergfalk/sqlpad/statuses/{sha}","languages_url":"https://api.github.com/repos/rickbergfalk/sqlpad/languages","stargazers_url":"https://api.github.com/repos/rickbergfalk/sqlpad/stargazers","contributors_url":"https://api.github.com/repos/rickbergfalk/sqlpad/contributors","subscribers_url":"https://api.github.com/repos/rickbergfalk/sqlpad/subscribers","subscription_url":"https://api.github.com/repos/rickbergfalk/sqlpad/subscription","commits_url":"https://api.github.com/repos/rickbergfalk/sqlpad/commits{/sha}","git_commits_url":"https://api.github.com/repos/rickbergfalk/sqlpad/git/commits{/sha}","comments_url":"https://api.github.com/repos/rickbergfalk/sqlpad/comments{/number}","issue_comment_url":"https://api.github.com/repos/rickbergfalk/sqlpad/issues/comments{/number}","contents_url":"https://api.github.com/repos/rickbergfalk/sqlpad/contents/{+path}","compare_url":"https://api.github.com/repos/rickbergfalk/sqlpad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rickbergfalk/sqlpad/merges","archive_url":"https://api.github.com/repos/rickbergfalk/sqlpad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rickbergfalk/sqlpad/downloads","issues_url":"https://api.github.com/repos/rickbergfalk/sqlpad/issues{/number}","pulls_url":"https://api.github.com/repos/rickbergfalk/sqlpad/pulls{/number}","milestones_url":"https://api.github.com/repos/rickbergfalk/sqlpad/milestones{/number}","notifications_url":"https://api.github.com/repos/rickbergfalk/sqlpad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rickbergfalk/sqlpad/labels{/name}","releases_url":"https://api.github.com/repos/rickbergfalk/sqlpad/releases{/id}","created_at":"2014-05-29T03:09:24Z","updated_at":"2015-10-04T09:10:48Z","pushed_at":"2015-10-04T02:25:12Z","git_url":"git://github.com/rickbergfalk/sqlpad.git","ssh_url":"git@github.com:rickbergfalk/sqlpad.git","clone_url":"https://github.com/rickbergfalk/sqlpad.git","svn_url":"https://github.com/rickbergfalk/sqlpad","homepage":"http://rickbergfalk.github.io/sqlpad/","size":11943,"stargazers_count":168,"watchers_count":168,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":27,"mirror_url":null,"open_issues_count":11,"forks":27,"open_issues":11,"watchers":168,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rickbergfalk/sqlpad/pulls/54"},"html":{"href":"https://github.com/rickbergfalk/sqlpad/pull/54"},"issue":{"href":"https://api.github.com/repos/rickbergfalk/sqlpad/issues/54"},"comments":{"href":"https://api.github.com/repos/rickbergfalk/sqlpad/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/rickbergfalk/sqlpad/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/rickbergfalk/sqlpad/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rickbergfalk/sqlpad/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/rickbergfalk/sqlpad/statuses/97fc3d6655d34725df60a1d9108efe79157a383e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":4953,"deletions":10431,"changed_files":7}}