{"action":"closed","number":214,"pull_request":{"url":"https://api.github.com/repos/GoogleChrome/experience-sampling/pulls/214","id":34210938,"html_url":"https://github.com/GoogleChrome/experience-sampling/pull/214","diff_url":"https://github.com/GoogleChrome/experience-sampling/pull/214.diff","patch_url":"https://github.com/GoogleChrome/experience-sampling/pull/214.patch","issue_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/issues/214","number":214,"state":"closed","locked":false,"title":"Open a survey underneath the consent form","user":{"login":"adrifelt","id":4962198,"avatar_url":"https://avatars.githubusercontent.com/u/4962198?v=3","gravatar_id":"","url":"https://api.github.com/users/adrifelt","html_url":"https://github.com/adrifelt","followers_url":"https://api.github.com/users/adrifelt/followers","following_url":"https://api.github.com/users/adrifelt/following{/other_user}","gists_url":"https://api.github.com/users/adrifelt/gists{/gist_id}","starred_url":"https://api.github.com/users/adrifelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrifelt/subscriptions","organizations_url":"https://api.github.com/users/adrifelt/orgs","repos_url":"https://api.github.com/users/adrifelt/repos","events_url":"https://api.github.com/users/adrifelt/events{/privacy}","received_events_url":"https://api.github.com/users/adrifelt/received_events","type":"User","site_admin":false},"body":"When someone clicks on the \"What is this?\" notification button, we should also open a survey (but in the tab underneath it).\r\n\r\nThis PR changes loadSurvey to return a promise that resolves when the survey is done opening. That way we can guarantee that the consent form opens on top of the consent form. Otherwise, there is a race condition for which one opens on top.\r\n\r\nFixes #193 ","created_at":"2015-04-27T21:13:15Z","updated_at":"2015-04-27T22:58:05Z","closed_at":"2015-04-27T22:58:05Z","merged_at":"2015-04-27T22:58:05Z","merge_commit_sha":"89020dc72b6ad5a9bbbe8d10537da286661c2c93","assignee":{"login":"meacer","id":1571579,"avatar_url":"https://avatars.githubusercontent.com/u/1571579?v=3","gravatar_id":"","url":"https://api.github.com/users/meacer","html_url":"https://github.com/meacer","followers_url":"https://api.github.com/users/meacer/followers","following_url":"https://api.github.com/users/meacer/following{/other_user}","gists_url":"https://api.github.com/users/meacer/gists{/gist_id}","starred_url":"https://api.github.com/users/meacer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meacer/subscriptions","organizations_url":"https://api.github.com/users/meacer/orgs","repos_url":"https://api.github.com/users/meacer/repos","events_url":"https://api.github.com/users/meacer/events{/privacy}","received_events_url":"https://api.github.com/users/meacer/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/pulls/214/commits","review_comments_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/pulls/214/comments","review_comment_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/issues/214/comments","statuses_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/statuses/4d0439350d0f42c9dc6e5339a9520ff6c3467d1d","head":{"label":"adrifelt:whatisthis","ref":"whatisthis","sha":"4d0439350d0f42c9dc6e5339a9520ff6c3467d1d","user":{"login":"adrifelt","id":4962198,"avatar_url":"https://avatars.githubusercontent.com/u/4962198?v=3","gravatar_id":"","url":"https://api.github.com/users/adrifelt","html_url":"https://github.com/adrifelt","followers_url":"https://api.github.com/users/adrifelt/followers","following_url":"https://api.github.com/users/adrifelt/following{/other_user}","gists_url":"https://api.github.com/users/adrifelt/gists{/gist_id}","starred_url":"https://api.github.com/users/adrifelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrifelt/subscriptions","organizations_url":"https://api.github.com/users/adrifelt/orgs","repos_url":"https://api.github.com/users/adrifelt/repos","events_url":"https://api.github.com/users/adrifelt/events{/privacy}","received_events_url":"https://api.github.com/users/adrifelt/received_events","type":"User","site_admin":false},"repo":{"id":25012428,"name":"experience-sampling","full_name":"adrifelt/experience-sampling","owner":{"login":"adrifelt","id":4962198,"avatar_url":"https://avatars.githubusercontent.com/u/4962198?v=3","gravatar_id":"","url":"https://api.github.com/users/adrifelt","html_url":"https://github.com/adrifelt","followers_url":"https://api.github.com/users/adrifelt/followers","following_url":"https://api.github.com/users/adrifelt/following{/other_user}","gists_url":"https://api.github.com/users/adrifelt/gists{/gist_id}","starred_url":"https://api.github.com/users/adrifelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrifelt/subscriptions","organizations_url":"https://api.github.com/users/adrifelt/orgs","repos_url":"https://api.github.com/users/adrifelt/repos","events_url":"https://api.github.com/users/adrifelt/events{/privacy}","received_events_url":"https://api.github.com/users/adrifelt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adrifelt/experience-sampling","description":"","fork":true,"url":"https://api.github.com/repos/adrifelt/experience-sampling","forks_url":"https://api.github.com/repos/adrifelt/experience-sampling/forks","keys_url":"https://api.github.com/repos/adrifelt/experience-sampling/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adrifelt/experience-sampling/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adrifelt/experience-sampling/teams","hooks_url":"https://api.github.com/repos/adrifelt/experience-sampling/hooks","issue_events_url":"https://api.github.com/repos/adrifelt/experience-sampling/issues/events{/number}","events_url":"https://api.github.com/repos/adrifelt/experience-sampling/events","assignees_url":"https://api.github.com/repos/adrifelt/experience-sampling/assignees{/user}","branches_url":"https://api.github.com/repos/adrifelt/experience-sampling/branches{/branch}","tags_url":"https://api.github.com/repos/adrifelt/experience-sampling/tags","blobs_url":"https://api.github.com/repos/adrifelt/experience-sampling/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adrifelt/experience-sampling/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adrifelt/experience-sampling/git/refs{/sha}","trees_url":"https://api.github.com/repos/adrifelt/experience-sampling/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adrifelt/experience-sampling/statuses/{sha}","languages_url":"https://api.github.com/repos/adrifelt/experience-sampling/languages","stargazers_url":"https://api.github.com/repos/adrifelt/experience-sampling/stargazers","contributors_url":"https://api.github.com/repos/adrifelt/experience-sampling/contributors","subscribers_url":"https://api.github.com/repos/adrifelt/experience-sampling/subscribers","subscription_url":"https://api.github.com/repos/adrifelt/experience-sampling/subscription","commits_url":"https://api.github.com/repos/adrifelt/experience-sampling/commits{/sha}","git_commits_url":"https://api.github.com/repos/adrifelt/experience-sampling/git/commits{/sha}","comments_url":"https://api.github.com/repos/adrifelt/experience-sampling/comments{/number}","issue_comment_url":"https://api.github.com/repos/adrifelt/experience-sampling/issues/comments{/number}","contents_url":"https://api.github.com/repos/adrifelt/experience-sampling/contents/{+path}","compare_url":"https://api.github.com/repos/adrifelt/experience-sampling/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adrifelt/experience-sampling/merges","archive_url":"https://api.github.com/repos/adrifelt/experience-sampling/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adrifelt/experience-sampling/downloads","issues_url":"https://api.github.com/repos/adrifelt/experience-sampling/issues{/number}","pulls_url":"https://api.github.com/repos/adrifelt/experience-sampling/pulls{/number}","milestones_url":"https://api.github.com/repos/adrifelt/experience-sampling/milestones{/number}","notifications_url":"https://api.github.com/repos/adrifelt/experience-sampling/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adrifelt/experience-sampling/labels{/name}","releases_url":"https://api.github.com/repos/adrifelt/experience-sampling/releases{/id}","created_at":"2014-10-09T23:17:52Z","updated_at":"2015-04-27T19:11:47Z","pushed_at":"2015-04-27T21:11:06Z","git_url":"git://github.com/adrifelt/experience-sampling.git","ssh_url":"git@github.com:adrifelt/experience-sampling.git","clone_url":"https://github.com/adrifelt/experience-sampling.git","svn_url":"https://github.com/adrifelt/experience-sampling","homepage":null,"size":4731,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleChrome:master","ref":"master","sha":"1f8ebea3b1f257cf4577248413522f0f07f51e8d","user":{"login":"GoogleChrome","id":1778935,"avatar_url":"https://avatars.githubusercontent.com/u/1778935?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleChrome","html_url":"https://github.com/GoogleChrome","followers_url":"https://api.github.com/users/GoogleChrome/followers","following_url":"https://api.github.com/users/GoogleChrome/following{/other_user}","gists_url":"https://api.github.com/users/GoogleChrome/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleChrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleChrome/subscriptions","organizations_url":"https://api.github.com/users/GoogleChrome/orgs","repos_url":"https://api.github.com/users/GoogleChrome/repos","events_url":"https://api.github.com/users/GoogleChrome/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleChrome/received_events","type":"Organization","site_admin":false},"repo":{"id":22887014,"name":"experience-sampling","full_name":"GoogleChrome/experience-sampling","owner":{"login":"GoogleChrome","id":1778935,"avatar_url":"https://avatars.githubusercontent.com/u/1778935?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleChrome","html_url":"https://github.com/GoogleChrome","followers_url":"https://api.github.com/users/GoogleChrome/followers","following_url":"https://api.github.com/users/GoogleChrome/following{/other_user}","gists_url":"https://api.github.com/users/GoogleChrome/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleChrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleChrome/subscriptions","organizations_url":"https://api.github.com/users/GoogleChrome/orgs","repos_url":"https://api.github.com/users/GoogleChrome/repos","events_url":"https://api.github.com/users/GoogleChrome/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleChrome/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleChrome/experience-sampling","description":"","fork":false,"url":"https://api.github.com/repos/GoogleChrome/experience-sampling","forks_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/forks","keys_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/teams","hooks_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/hooks","issue_events_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/events","assignees_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/tags","blobs_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/languages","stargazers_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/stargazers","contributors_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/contributors","subscribers_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/subscribers","subscription_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/subscription","commits_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/merges","archive_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/downloads","issues_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/labels{/name}","releases_url":"https://api.github.com/repos/GoogleChrome/experience-sampling/releases{/id}","created_at":"2014-08-12T18:02:09Z","updated_at":"2015-04-27T19:05:43Z","pushed_at":"2015-04-27T22:58:05Z","git_url":"git://github.com/GoogleChrome/experience-sampling.git","ssh_url":"git@github.com:GoogleChrome/experience-sampling.git","clone_url":"https://github.com/GoogleChrome/experience-sampling.git","svn_url":"https://github.com/GoogleChrome/experience-sampling","homepage":null,"size":4746,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":6,"forks":4,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleChrome/experience-sampling/pulls/214"},"html":{"href":"https://github.com/GoogleChrome/experience-sampling/pull/214"},"issue":{"href":"https://api.github.com/repos/GoogleChrome/experience-sampling/issues/214"},"comments":{"href":"https://api.github.com/repos/GoogleChrome/experience-sampling/issues/214/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleChrome/experience-sampling/pulls/214/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleChrome/experience-sampling/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleChrome/experience-sampling/pulls/214/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleChrome/experience-sampling/statuses/4d0439350d0f42c9dc6e5339a9520ff6c3467d1d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"adrifelt","id":4962198,"avatar_url":"https://avatars.githubusercontent.com/u/4962198?v=3","gravatar_id":"","url":"https://api.github.com/users/adrifelt","html_url":"https://github.com/adrifelt","followers_url":"https://api.github.com/users/adrifelt/followers","following_url":"https://api.github.com/users/adrifelt/following{/other_user}","gists_url":"https://api.github.com/users/adrifelt/gists{/gist_id}","starred_url":"https://api.github.com/users/adrifelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrifelt/subscriptions","organizations_url":"https://api.github.com/users/adrifelt/orgs","repos_url":"https://api.github.com/users/adrifelt/repos","events_url":"https://api.github.com/users/adrifelt/events{/privacy}","received_events_url":"https://api.github.com/users/adrifelt/received_events","type":"User","site_admin":false},"comments":2,"review_comments":2,"commits":1,"additions":79,"deletions":69,"changed_files":1}}