{"action":"closed","number":5989,"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5989","id":77825988,"html_url":"https://github.com/CenterForOpenScience/osf.io/pull/5989","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/5989.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/5989.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5989","number":5989,"state":"closed","locked":false,"title":"[CR] Keen UI updates [#OSF-6652]","user":{"login":"felliott","id":86835,"avatar_url":"https://avatars.githubusercontent.com/u/86835?v=3","gravatar_id":"","url":"https://api.github.com/users/felliott","html_url":"https://github.com/felliott","followers_url":"https://api.github.com/users/felliott/followers","following_url":"https://api.github.com/users/felliott/following{/other_user}","gists_url":"https://api.github.com/users/felliott/gists{/gist_id}","starred_url":"https://api.github.com/users/felliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felliott/subscriptions","organizations_url":"https://api.github.com/users/felliott/orgs","repos_url":"https://api.github.com/users/felliott/repos","events_url":"https://api.github.com/users/felliott/events{/privacy}","received_events_url":"https://api.github.com/users/felliott/received_events","type":"User","site_admin":false},"body":"## Purpose\r\n\r\nThis PR addresses some, but not all, of the issues mentioned in [#OSF-6652].  I'm throwing this up here because the chart library was refactored muchly and will need a code re-review.  The remaining changes will be implemented in a follow-up PR, which should be much less invasive.\r\n\r\n## Changes\r\n\r\n- Display spinners after clicking \"Update date range\"\r\n- Make \"Popular pages\" bar graph horizontal to avoid wrapping issues\r\n- Bump up font size of chart labels\r\n- Renamed \"Visits over past week\" to \"Unique visits\"\r\n- date range form: initial version is text, click update button to reveal form\r\n- more spacing between \"from\" and \"until\" in date range updater\r\n- We exclude analytics for today, should reflect that in the picker: can select today, but end date is exclusive.\r\n- not-UI related but good: refactor DateRangePicker constructor to take params\r\n- Limit referrers/popular pages to top N results\r\n- Referrers: rename \"null\" => \"direct link\"\r\n\r\n## Side effects\r\n\r\nMay cause drowsiness.\r\n\r\n## Ticket\r\n\r\n[#OSF-6652]\r\n\r\nhttps://openscience.atlassian.net/browse/OSF-6652\r\n\r\n","created_at":"2016-07-18T15:17:58Z","updated_at":"2016-07-18T15:49:08Z","closed_at":"2016-07-18T15:49:08Z","merged_at":"2016-07-18T15:49:08Z","merge_commit_sha":"0ba306da9e24caba4977e4824772829c3ca37bd9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5989/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5989/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5989/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/d7ac71bfd1cc38eed0a653a25922baa118c96279","head":{"label":"felliott:feature/keen","ref":"feature/keen","sha":"d7ac71bfd1cc38eed0a653a25922baa118c96279","user":{"login":"felliott","id":86835,"avatar_url":"https://avatars.githubusercontent.com/u/86835?v=3","gravatar_id":"","url":"https://api.github.com/users/felliott","html_url":"https://github.com/felliott","followers_url":"https://api.github.com/users/felliott/followers","following_url":"https://api.github.com/users/felliott/following{/other_user}","gists_url":"https://api.github.com/users/felliott/gists{/gist_id}","starred_url":"https://api.github.com/users/felliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felliott/subscriptions","organizations_url":"https://api.github.com/users/felliott/orgs","repos_url":"https://api.github.com/users/felliott/repos","events_url":"https://api.github.com/users/felliott/events{/privacy}","received_events_url":"https://api.github.com/users/felliott/received_events","type":"User","site_admin":false},"repo":{"id":42676625,"name":"osf.io","full_name":"felliott/osf.io","owner":{"login":"felliott","id":86835,"avatar_url":"https://avatars.githubusercontent.com/u/86835?v=3","gravatar_id":"","url":"https://api.github.com/users/felliott","html_url":"https://github.com/felliott","followers_url":"https://api.github.com/users/felliott/followers","following_url":"https://api.github.com/users/felliott/following{/other_user}","gists_url":"https://api.github.com/users/felliott/gists{/gist_id}","starred_url":"https://api.github.com/users/felliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felliott/subscriptions","organizations_url":"https://api.github.com/users/felliott/orgs","repos_url":"https://api.github.com/users/felliott/repos","events_url":"https://api.github.com/users/felliott/events{/privacy}","received_events_url":"https://api.github.com/users/felliott/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/felliott/osf.io","description":"Facilitating Open Science","fork":true,"url":"https://api.github.com/repos/felliott/osf.io","forks_url":"https://api.github.com/repos/felliott/osf.io/forks","keys_url":"https://api.github.com/repos/felliott/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/felliott/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/felliott/osf.io/teams","hooks_url":"https://api.github.com/repos/felliott/osf.io/hooks","issue_events_url":"https://api.github.com/repos/felliott/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/felliott/osf.io/events","assignees_url":"https://api.github.com/repos/felliott/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/felliott/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/felliott/osf.io/tags","blobs_url":"https://api.github.com/repos/felliott/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/felliott/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/felliott/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/felliott/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/felliott/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/felliott/osf.io/languages","stargazers_url":"https://api.github.com/repos/felliott/osf.io/stargazers","contributors_url":"https://api.github.com/repos/felliott/osf.io/contributors","subscribers_url":"https://api.github.com/repos/felliott/osf.io/subscribers","subscription_url":"https://api.github.com/repos/felliott/osf.io/subscription","commits_url":"https://api.github.com/repos/felliott/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/felliott/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/felliott/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/felliott/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/felliott/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/felliott/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/felliott/osf.io/merges","archive_url":"https://api.github.com/repos/felliott/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/felliott/osf.io/downloads","issues_url":"https://api.github.com/repos/felliott/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/felliott/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/felliott/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/felliott/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/felliott/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/felliott/osf.io/releases{/id}","deployments_url":"https://api.github.com/repos/felliott/osf.io/deployments","created_at":"2015-09-17T19:17:58Z","updated_at":"2016-01-13T21:17:52Z","pushed_at":"2016-07-15T20:54:36Z","git_url":"git://github.com/felliott/osf.io.git","ssh_url":"git@github.com:felliott/osf.io.git","clone_url":"https://github.com/felliott/osf.io.git","svn_url":"https://github.com/felliott/osf.io","homepage":"http://osf.io","size":135603,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"develop"}},"base":{"label":"CenterForOpenScience:feature/keen","ref":"feature/keen","sha":"2ebbb2bf5d313373e2209ba45f563b5f83f88c3a","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":10199599,"name":"osf.io","full_name":"CenterForOpenScience/osf.io","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/osf.io","description":"Facilitating Open Science","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/osf.io","forks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/releases{/id}","deployments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/deployments","created_at":"2013-05-21T15:53:37Z","updated_at":"2016-07-17T23:36:53Z","pushed_at":"2016-07-18T15:49:08Z","git_url":"git://github.com/CenterForOpenScience/osf.io.git","ssh_url":"git@github.com:CenterForOpenScience/osf.io.git","clone_url":"https://github.com/CenterForOpenScience/osf.io.git","svn_url":"https://github.com/CenterForOpenScience/osf.io","homepage":"http://osf.io","size":286229,"stargazers_count":232,"watchers_count":232,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":193,"mirror_url":null,"open_issues_count":187,"forks":193,"open_issues":187,"watchers":232,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5989"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/5989"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5989"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5989/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5989/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5989/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/d7ac71bfd1cc38eed0a653a25922baa118c96279"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"comments":1,"review_comments":1,"commits":6,"additions":408,"deletions":229,"changed_files":5}}
{"actor":{"display_login":"sloria"}}