{"action":"opened","number":1225,"pull_request":{"url":"https://api.github.com/repos/airbnb/caravel/pulls/1225","id":87426703,"html_url":"https://github.com/airbnb/caravel/pull/1225","diff_url":"https://github.com/airbnb/caravel/pull/1225.diff","patch_url":"https://github.com/airbnb/caravel/pull/1225.patch","issue_url":"https://api.github.com/repos/airbnb/caravel/issues/1225","number":1225,"state":"open","locked":false,"title":"[SQLLab] Fix updating the database state.","user":{"login":"bkyryliuk","id":5727938,"avatar_url":"https://avatars.githubusercontent.com/u/5727938?v=3","gravatar_id":"","url":"https://api.github.com/users/bkyryliuk","html_url":"https://github.com/bkyryliuk","followers_url":"https://api.github.com/users/bkyryliuk/followers","following_url":"https://api.github.com/users/bkyryliuk/following{/other_user}","gists_url":"https://api.github.com/users/bkyryliuk/gists{/gist_id}","starred_url":"https://api.github.com/users/bkyryliuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkyryliuk/subscriptions","organizations_url":"https://api.github.com/users/bkyryliuk/orgs","repos_url":"https://api.github.com/users/bkyryliuk/repos","events_url":"https://api.github.com/users/bkyryliuk/events{/privacy}","received_events_url":"https://api.github.com/users/bkyryliuk/received_events","type":"User","site_admin":false},"body":"Resolves: https://github.com/airbnb/caravel/issues/1220\r\nDatabase changes were not propagated to the redux state, it caused client inability to show the run query button for the activated dbs and also to display newly added databases.\r\n\r\nIn addition, looks like `componentDidMount` is sufficient and may be better than `componentWillMount`as the latter is supposed to be synchronous and called on the server:\r\nhttp://stackoverflow.com/questions/29899116/what-is-the-difference-between-componentwillmount-and-componentdidmount-in-react\r\n\r\nReviewers:\r\n* @mistercrunch \r\n* @ascott \r\n* @vera-liu ","created_at":"2016-09-30T02:51:08Z","updated_at":"2016-09-30T02:51:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/airbnb/caravel/pulls/1225/commits","review_comments_url":"https://api.github.com/repos/airbnb/caravel/pulls/1225/comments","review_comment_url":"https://api.github.com/repos/airbnb/caravel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/airbnb/caravel/issues/1225/comments","statuses_url":"https://api.github.com/repos/airbnb/caravel/statuses/e2164aba3652d1c42c9752c691b46b26f8fa03c7","head":{"label":"bkyryliuk:fix_sqllab_run_button","ref":"fix_sqllab_run_button","sha":"e2164aba3652d1c42c9752c691b46b26f8fa03c7","user":{"login":"bkyryliuk","id":5727938,"avatar_url":"https://avatars.githubusercontent.com/u/5727938?v=3","gravatar_id":"","url":"https://api.github.com/users/bkyryliuk","html_url":"https://github.com/bkyryliuk","followers_url":"https://api.github.com/users/bkyryliuk/followers","following_url":"https://api.github.com/users/bkyryliuk/following{/other_user}","gists_url":"https://api.github.com/users/bkyryliuk/gists{/gist_id}","starred_url":"https://api.github.com/users/bkyryliuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkyryliuk/subscriptions","organizations_url":"https://api.github.com/users/bkyryliuk/orgs","repos_url":"https://api.github.com/users/bkyryliuk/repos","events_url":"https://api.github.com/users/bkyryliuk/events{/privacy}","received_events_url":"https://api.github.com/users/bkyryliuk/received_events","type":"User","site_admin":false},"repo":{"id":61239887,"name":"caravel","full_name":"bkyryliuk/caravel","owner":{"login":"bkyryliuk","id":5727938,"avatar_url":"https://avatars.githubusercontent.com/u/5727938?v=3","gravatar_id":"","url":"https://api.github.com/users/bkyryliuk","html_url":"https://github.com/bkyryliuk","followers_url":"https://api.github.com/users/bkyryliuk/followers","following_url":"https://api.github.com/users/bkyryliuk/following{/other_user}","gists_url":"https://api.github.com/users/bkyryliuk/gists{/gist_id}","starred_url":"https://api.github.com/users/bkyryliuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkyryliuk/subscriptions","organizations_url":"https://api.github.com/users/bkyryliuk/orgs","repos_url":"https://api.github.com/users/bkyryliuk/repos","events_url":"https://api.github.com/users/bkyryliuk/events{/privacy}","received_events_url":"https://api.github.com/users/bkyryliuk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bkyryliuk/caravel","description":"Caravel is a data exploration platform designed to be visual, intuitive, and interactive","fork":true,"url":"https://api.github.com/repos/bkyryliuk/caravel","forks_url":"https://api.github.com/repos/bkyryliuk/caravel/forks","keys_url":"https://api.github.com/repos/bkyryliuk/caravel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bkyryliuk/caravel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bkyryliuk/caravel/teams","hooks_url":"https://api.github.com/repos/bkyryliuk/caravel/hooks","issue_events_url":"https://api.github.com/repos/bkyryliuk/caravel/issues/events{/number}","events_url":"https://api.github.com/repos/bkyryliuk/caravel/events","assignees_url":"https://api.github.com/repos/bkyryliuk/caravel/assignees{/user}","branches_url":"https://api.github.com/repos/bkyryliuk/caravel/branches{/branch}","tags_url":"https://api.github.com/repos/bkyryliuk/caravel/tags","blobs_url":"https://api.github.com/repos/bkyryliuk/caravel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bkyryliuk/caravel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bkyryliuk/caravel/git/refs{/sha}","trees_url":"https://api.github.com/repos/bkyryliuk/caravel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bkyryliuk/caravel/statuses/{sha}","languages_url":"https://api.github.com/repos/bkyryliuk/caravel/languages","stargazers_url":"https://api.github.com/repos/bkyryliuk/caravel/stargazers","contributors_url":"https://api.github.com/repos/bkyryliuk/caravel/contributors","subscribers_url":"https://api.github.com/repos/bkyryliuk/caravel/subscribers","subscription_url":"https://api.github.com/repos/bkyryliuk/caravel/subscription","commits_url":"https://api.github.com/repos/bkyryliuk/caravel/commits{/sha}","git_commits_url":"https://api.github.com/repos/bkyryliuk/caravel/git/commits{/sha}","comments_url":"https://api.github.com/repos/bkyryliuk/caravel/comments{/number}","issue_comment_url":"https://api.github.com/repos/bkyryliuk/caravel/issues/comments{/number}","contents_url":"https://api.github.com/repos/bkyryliuk/caravel/contents/{+path}","compare_url":"https://api.github.com/repos/bkyryliuk/caravel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bkyryliuk/caravel/merges","archive_url":"https://api.github.com/repos/bkyryliuk/caravel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bkyryliuk/caravel/downloads","issues_url":"https://api.github.com/repos/bkyryliuk/caravel/issues{/number}","pulls_url":"https://api.github.com/repos/bkyryliuk/caravel/pulls{/number}","milestones_url":"https://api.github.com/repos/bkyryliuk/caravel/milestones{/number}","notifications_url":"https://api.github.com/repos/bkyryliuk/caravel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bkyryliuk/caravel/labels{/name}","releases_url":"https://api.github.com/repos/bkyryliuk/caravel/releases{/id}","deployments_url":"https://api.github.com/repos/bkyryliuk/caravel/deployments","created_at":"2016-06-15T20:47:09Z","updated_at":"2016-06-15T20:47:11Z","pushed_at":"2016-09-30T02:50:07Z","git_url":"git://github.com/bkyryliuk/caravel.git","ssh_url":"git@github.com:bkyryliuk/caravel.git","clone_url":"https://github.com/bkyryliuk/caravel.git","svn_url":"https://github.com/bkyryliuk/caravel","homepage":"","size":37592,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"airbnb:master","ref":"master","sha":"aa5bbe6149833386a491bd70987f84c93d501f16","user":{"login":"airbnb","id":698437,"avatar_url":"https://avatars.githubusercontent.com/u/698437?v=3","gravatar_id":"","url":"https://api.github.com/users/airbnb","html_url":"https://github.com/airbnb","followers_url":"https://api.github.com/users/airbnb/followers","following_url":"https://api.github.com/users/airbnb/following{/other_user}","gists_url":"https://api.github.com/users/airbnb/gists{/gist_id}","starred_url":"https://api.github.com/users/airbnb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airbnb/subscriptions","organizations_url":"https://api.github.com/users/airbnb/orgs","repos_url":"https://api.github.com/users/airbnb/repos","events_url":"https://api.github.com/users/airbnb/events{/privacy}","received_events_url":"https://api.github.com/users/airbnb/received_events","type":"Organization","site_admin":false},"repo":{"id":39464018,"name":"caravel","full_name":"airbnb/caravel","owner":{"login":"airbnb","id":698437,"avatar_url":"https://avatars.githubusercontent.com/u/698437?v=3","gravatar_id":"","url":"https://api.github.com/users/airbnb","html_url":"https://github.com/airbnb","followers_url":"https://api.github.com/users/airbnb/followers","following_url":"https://api.github.com/users/airbnb/following{/other_user}","gists_url":"https://api.github.com/users/airbnb/gists{/gist_id}","starred_url":"https://api.github.com/users/airbnb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airbnb/subscriptions","organizations_url":"https://api.github.com/users/airbnb/orgs","repos_url":"https://api.github.com/users/airbnb/repos","events_url":"https://api.github.com/users/airbnb/events{/privacy}","received_events_url":"https://api.github.com/users/airbnb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/airbnb/caravel","description":"Caravel is a data exploration platform designed to be visual, intuitive, and interactive","fork":false,"url":"https://api.github.com/repos/airbnb/caravel","forks_url":"https://api.github.com/repos/airbnb/caravel/forks","keys_url":"https://api.github.com/repos/airbnb/caravel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/airbnb/caravel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/airbnb/caravel/teams","hooks_url":"https://api.github.com/repos/airbnb/caravel/hooks","issue_events_url":"https://api.github.com/repos/airbnb/caravel/issues/events{/number}","events_url":"https://api.github.com/repos/airbnb/caravel/events","assignees_url":"https://api.github.com/repos/airbnb/caravel/assignees{/user}","branches_url":"https://api.github.com/repos/airbnb/caravel/branches{/branch}","tags_url":"https://api.github.com/repos/airbnb/caravel/tags","blobs_url":"https://api.github.com/repos/airbnb/caravel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/airbnb/caravel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/airbnb/caravel/git/refs{/sha}","trees_url":"https://api.github.com/repos/airbnb/caravel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/airbnb/caravel/statuses/{sha}","languages_url":"https://api.github.com/repos/airbnb/caravel/languages","stargazers_url":"https://api.github.com/repos/airbnb/caravel/stargazers","contributors_url":"https://api.github.com/repos/airbnb/caravel/contributors","subscribers_url":"https://api.github.com/repos/airbnb/caravel/subscribers","subscription_url":"https://api.github.com/repos/airbnb/caravel/subscription","commits_url":"https://api.github.com/repos/airbnb/caravel/commits{/sha}","git_commits_url":"https://api.github.com/repos/airbnb/caravel/git/commits{/sha}","comments_url":"https://api.github.com/repos/airbnb/caravel/comments{/number}","issue_comment_url":"https://api.github.com/repos/airbnb/caravel/issues/comments{/number}","contents_url":"https://api.github.com/repos/airbnb/caravel/contents/{+path}","compare_url":"https://api.github.com/repos/airbnb/caravel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/airbnb/caravel/merges","archive_url":"https://api.github.com/repos/airbnb/caravel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/airbnb/caravel/downloads","issues_url":"https://api.github.com/repos/airbnb/caravel/issues{/number}","pulls_url":"https://api.github.com/repos/airbnb/caravel/pulls{/number}","milestones_url":"https://api.github.com/repos/airbnb/caravel/milestones{/number}","notifications_url":"https://api.github.com/repos/airbnb/caravel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/airbnb/caravel/labels{/name}","releases_url":"https://api.github.com/repos/airbnb/caravel/releases{/id}","deployments_url":"https://api.github.com/repos/airbnb/caravel/deployments","created_at":"2015-07-21T18:55:34Z","updated_at":"2016-09-30T02:35:28Z","pushed_at":"2016-09-30T02:51:08Z","git_url":"git://github.com/airbnb/caravel.git","ssh_url":"git@github.com:airbnb/caravel.git","clone_url":"https://github.com/airbnb/caravel.git","svn_url":"https://github.com/airbnb/caravel","homepage":"","size":43002,"stargazers_count":7551,"watchers_count":7551,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":873,"mirror_url":null,"open_issues_count":248,"forks":873,"open_issues":248,"watchers":7551,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/airbnb/caravel/pulls/1225"},"html":{"href":"https://github.com/airbnb/caravel/pull/1225"},"issue":{"href":"https://api.github.com/repos/airbnb/caravel/issues/1225"},"comments":{"href":"https://api.github.com/repos/airbnb/caravel/issues/1225/comments"},"review_comments":{"href":"https://api.github.com/repos/airbnb/caravel/pulls/1225/comments"},"review_comment":{"href":"https://api.github.com/repos/airbnb/caravel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/airbnb/caravel/pulls/1225/commits"},"statuses":{"href":"https://api.github.com/repos/airbnb/caravel/statuses/e2164aba3652d1c42c9752c691b46b26f8fa03c7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"bkyryliuk"}}