{"action":"opened","number":533,"pull_request":{"url":"https://api.github.com/repos/nextstrain/auspice/pulls/533","id":177341130,"html_url":"https://github.com/nextstrain/auspice/pull/533","diff_url":"https://github.com/nextstrain/auspice/pull/533.diff","patch_url":"https://github.com/nextstrain/auspice/pull/533.patch","issue_url":"https://api.github.com/repos/nextstrain/auspice/issues/533","number":533,"state":"open","locked":false,"title":"Enable narratives via URL query","user":{"login":"jameshadfield","id":8350992,"avatar_url":"https://avatars1.githubusercontent.com/u/8350992?v=4","gravatar_id":"","url":"https://api.github.com/users/jameshadfield","html_url":"https://github.com/jameshadfield","followers_url":"https://api.github.com/users/jameshadfield/followers","following_url":"https://api.github.com/users/jameshadfield/following{/other_user}","gists_url":"https://api.github.com/users/jameshadfield/gists{/gist_id}","starred_url":"https://api.github.com/users/jameshadfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameshadfield/subscriptions","organizations_url":"https://api.github.com/users/jameshadfield/orgs","repos_url":"https://api.github.com/users/jameshadfield/repos","events_url":"https://api.github.com/users/jameshadfield/events{/privacy}","received_events_url":"https://api.github.com/users/jameshadfield/received_events","type":"User","site_admin":false},"body":"This PR enables narratives via a (hidden) URL query. This query can also specify the block to have in focus. E.g.\r\n* https://auspice-dev.herokuapp.com/flu/h3n2/ha/3y?n=1\r\n* https://auspice-dev.herokuapp.com/flu/h3n2/ha/3y?n=4\r\n\r\nBug fixes / improvements:\r\n* Allow frequencies in narrative\r\n* Tree `change()` only ever called once, and always in `componentDidUpdate`\r\n* All JSONs (incl. frequencies, narrative) are loaded within a single Promise / dispatch\r\n ","created_at":"2018-03-26T04:41:22Z","updated_at":"2018-03-26T04:41:22Z","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/nextstrain/auspice/pulls/533/commits","review_comments_url":"https://api.github.com/repos/nextstrain/auspice/pulls/533/comments","review_comment_url":"https://api.github.com/repos/nextstrain/auspice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nextstrain/auspice/issues/533/comments","statuses_url":"https://api.github.com/repos/nextstrain/auspice/statuses/aa882aaff22052aed7bc6de09db6111e2bea646c","head":{"label":"nextstrain:narrative","ref":"narrative","sha":"aa882aaff22052aed7bc6de09db6111e2bea646c","user":{"login":"nextstrain","id":22159334,"avatar_url":"https://avatars3.githubusercontent.com/u/22159334?v=4","gravatar_id":"","url":"https://api.github.com/users/nextstrain","html_url":"https://github.com/nextstrain","followers_url":"https://api.github.com/users/nextstrain/followers","following_url":"https://api.github.com/users/nextstrain/following{/other_user}","gists_url":"https://api.github.com/users/nextstrain/gists{/gist_id}","starred_url":"https://api.github.com/users/nextstrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextstrain/subscriptions","organizations_url":"https://api.github.com/users/nextstrain/orgs","repos_url":"https://api.github.com/users/nextstrain/repos","events_url":"https://api.github.com/users/nextstrain/events{/privacy}","received_events_url":"https://api.github.com/users/nextstrain/received_events","type":"Organization","site_admin":false},"repo":{"id":56881532,"name":"auspice","full_name":"nextstrain/auspice","owner":{"login":"nextstrain","id":22159334,"avatar_url":"https://avatars3.githubusercontent.com/u/22159334?v=4","gravatar_id":"","url":"https://api.github.com/users/nextstrain","html_url":"https://github.com/nextstrain","followers_url":"https://api.github.com/users/nextstrain/followers","following_url":"https://api.github.com/users/nextstrain/following{/other_user}","gists_url":"https://api.github.com/users/nextstrain/gists{/gist_id}","starred_url":"https://api.github.com/users/nextstrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextstrain/subscriptions","organizations_url":"https://api.github.com/users/nextstrain/orgs","repos_url":"https://api.github.com/users/nextstrain/repos","events_url":"https://api.github.com/users/nextstrain/events{/privacy}","received_events_url":"https://api.github.com/users/nextstrain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nextstrain/auspice","description":"Web app for visualizing pathogen evolution","fork":false,"url":"https://api.github.com/repos/nextstrain/auspice","forks_url":"https://api.github.com/repos/nextstrain/auspice/forks","keys_url":"https://api.github.com/repos/nextstrain/auspice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nextstrain/auspice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nextstrain/auspice/teams","hooks_url":"https://api.github.com/repos/nextstrain/auspice/hooks","issue_events_url":"https://api.github.com/repos/nextstrain/auspice/issues/events{/number}","events_url":"https://api.github.com/repos/nextstrain/auspice/events","assignees_url":"https://api.github.com/repos/nextstrain/auspice/assignees{/user}","branches_url":"https://api.github.com/repos/nextstrain/auspice/branches{/branch}","tags_url":"https://api.github.com/repos/nextstrain/auspice/tags","blobs_url":"https://api.github.com/repos/nextstrain/auspice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nextstrain/auspice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nextstrain/auspice/git/refs{/sha}","trees_url":"https://api.github.com/repos/nextstrain/auspice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nextstrain/auspice/statuses/{sha}","languages_url":"https://api.github.com/repos/nextstrain/auspice/languages","stargazers_url":"https://api.github.com/repos/nextstrain/auspice/stargazers","contributors_url":"https://api.github.com/repos/nextstrain/auspice/contributors","subscribers_url":"https://api.github.com/repos/nextstrain/auspice/subscribers","subscription_url":"https://api.github.com/repos/nextstrain/auspice/subscription","commits_url":"https://api.github.com/repos/nextstrain/auspice/commits{/sha}","git_commits_url":"https://api.github.com/repos/nextstrain/auspice/git/commits{/sha}","comments_url":"https://api.github.com/repos/nextstrain/auspice/comments{/number}","issue_comment_url":"https://api.github.com/repos/nextstrain/auspice/issues/comments{/number}","contents_url":"https://api.github.com/repos/nextstrain/auspice/contents/{+path}","compare_url":"https://api.github.com/repos/nextstrain/auspice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nextstrain/auspice/merges","archive_url":"https://api.github.com/repos/nextstrain/auspice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nextstrain/auspice/downloads","issues_url":"https://api.github.com/repos/nextstrain/auspice/issues{/number}","pulls_url":"https://api.github.com/repos/nextstrain/auspice/pulls{/number}","milestones_url":"https://api.github.com/repos/nextstrain/auspice/milestones{/number}","notifications_url":"https://api.github.com/repos/nextstrain/auspice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nextstrain/auspice/labels{/name}","releases_url":"https://api.github.com/repos/nextstrain/auspice/releases{/id}","deployments_url":"https://api.github.com/repos/nextstrain/auspice/deployments","created_at":"2016-04-22T19:54:18Z","updated_at":"2018-03-25T21:19:17Z","pushed_at":"2018-03-26T04:36:49Z","git_url":"git://github.com/nextstrain/auspice.git","ssh_url":"git@github.com:nextstrain/auspice.git","clone_url":"https://github.com/nextstrain/auspice.git","svn_url":"https://github.com/nextstrain/auspice","homepage":null,"size":5872,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":52,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":5,"open_issues":52,"watchers":18,"default_branch":"master"}},"base":{"label":"nextstrain:master","ref":"master","sha":"2f5acc4da5431a87eb895bc3a36b66f738c9a5ad","user":{"login":"nextstrain","id":22159334,"avatar_url":"https://avatars3.githubusercontent.com/u/22159334?v=4","gravatar_id":"","url":"https://api.github.com/users/nextstrain","html_url":"https://github.com/nextstrain","followers_url":"https://api.github.com/users/nextstrain/followers","following_url":"https://api.github.com/users/nextstrain/following{/other_user}","gists_url":"https://api.github.com/users/nextstrain/gists{/gist_id}","starred_url":"https://api.github.com/users/nextstrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextstrain/subscriptions","organizations_url":"https://api.github.com/users/nextstrain/orgs","repos_url":"https://api.github.com/users/nextstrain/repos","events_url":"https://api.github.com/users/nextstrain/events{/privacy}","received_events_url":"https://api.github.com/users/nextstrain/received_events","type":"Organization","site_admin":false},"repo":{"id":56881532,"name":"auspice","full_name":"nextstrain/auspice","owner":{"login":"nextstrain","id":22159334,"avatar_url":"https://avatars3.githubusercontent.com/u/22159334?v=4","gravatar_id":"","url":"https://api.github.com/users/nextstrain","html_url":"https://github.com/nextstrain","followers_url":"https://api.github.com/users/nextstrain/followers","following_url":"https://api.github.com/users/nextstrain/following{/other_user}","gists_url":"https://api.github.com/users/nextstrain/gists{/gist_id}","starred_url":"https://api.github.com/users/nextstrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextstrain/subscriptions","organizations_url":"https://api.github.com/users/nextstrain/orgs","repos_url":"https://api.github.com/users/nextstrain/repos","events_url":"https://api.github.com/users/nextstrain/events{/privacy}","received_events_url":"https://api.github.com/users/nextstrain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nextstrain/auspice","description":"Web app for visualizing pathogen evolution","fork":false,"url":"https://api.github.com/repos/nextstrain/auspice","forks_url":"https://api.github.com/repos/nextstrain/auspice/forks","keys_url":"https://api.github.com/repos/nextstrain/auspice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nextstrain/auspice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nextstrain/auspice/teams","hooks_url":"https://api.github.com/repos/nextstrain/auspice/hooks","issue_events_url":"https://api.github.com/repos/nextstrain/auspice/issues/events{/number}","events_url":"https://api.github.com/repos/nextstrain/auspice/events","assignees_url":"https://api.github.com/repos/nextstrain/auspice/assignees{/user}","branches_url":"https://api.github.com/repos/nextstrain/auspice/branches{/branch}","tags_url":"https://api.github.com/repos/nextstrain/auspice/tags","blobs_url":"https://api.github.com/repos/nextstrain/auspice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nextstrain/auspice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nextstrain/auspice/git/refs{/sha}","trees_url":"https://api.github.com/repos/nextstrain/auspice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nextstrain/auspice/statuses/{sha}","languages_url":"https://api.github.com/repos/nextstrain/auspice/languages","stargazers_url":"https://api.github.com/repos/nextstrain/auspice/stargazers","contributors_url":"https://api.github.com/repos/nextstrain/auspice/contributors","subscribers_url":"https://api.github.com/repos/nextstrain/auspice/subscribers","subscription_url":"https://api.github.com/repos/nextstrain/auspice/subscription","commits_url":"https://api.github.com/repos/nextstrain/auspice/commits{/sha}","git_commits_url":"https://api.github.com/repos/nextstrain/auspice/git/commits{/sha}","comments_url":"https://api.github.com/repos/nextstrain/auspice/comments{/number}","issue_comment_url":"https://api.github.com/repos/nextstrain/auspice/issues/comments{/number}","contents_url":"https://api.github.com/repos/nextstrain/auspice/contents/{+path}","compare_url":"https://api.github.com/repos/nextstrain/auspice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nextstrain/auspice/merges","archive_url":"https://api.github.com/repos/nextstrain/auspice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nextstrain/auspice/downloads","issues_url":"https://api.github.com/repos/nextstrain/auspice/issues{/number}","pulls_url":"https://api.github.com/repos/nextstrain/auspice/pulls{/number}","milestones_url":"https://api.github.com/repos/nextstrain/auspice/milestones{/number}","notifications_url":"https://api.github.com/repos/nextstrain/auspice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nextstrain/auspice/labels{/name}","releases_url":"https://api.github.com/repos/nextstrain/auspice/releases{/id}","deployments_url":"https://api.github.com/repos/nextstrain/auspice/deployments","created_at":"2016-04-22T19:54:18Z","updated_at":"2018-03-25T21:19:17Z","pushed_at":"2018-03-26T04:36:49Z","git_url":"git://github.com/nextstrain/auspice.git","ssh_url":"git@github.com:nextstrain/auspice.git","clone_url":"https://github.com/nextstrain/auspice.git","svn_url":"https://github.com/nextstrain/auspice","homepage":null,"size":5872,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":52,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":5,"open_issues":52,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nextstrain/auspice/pulls/533"},"html":{"href":"https://github.com/nextstrain/auspice/pull/533"},"issue":{"href":"https://api.github.com/repos/nextstrain/auspice/issues/533"},"comments":{"href":"https://api.github.com/repos/nextstrain/auspice/issues/533/comments"},"review_comments":{"href":"https://api.github.com/repos/nextstrain/auspice/pulls/533/comments"},"review_comment":{"href":"https://api.github.com/repos/nextstrain/auspice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nextstrain/auspice/pulls/533/commits"},"statuses":{"href":"https://api.github.com/repos/nextstrain/auspice/statuses/aa882aaff22052aed7bc6de09db6111e2bea646c"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":8,"additions":218,"deletions":367,"changed_files":17}}
{"actor":{"display_login":"jameshadfield"}}