{"action":"opened","number":296,"pull_request":{"url":"https://api.github.com/repos/18F/cg-deck/pulls/296","id":71776384,"html_url":"https://github.com/18F/cg-deck/pull/296","diff_url":"https://github.com/18F/cg-deck/pull/296.diff","patch_url":"https://github.com/18F/cg-deck/pull/296.patch","issue_url":"https://api.github.com/repos/18F/cg-deck/issues/296","number":296,"state":"open","locked":false,"title":"Use login/logout link the global navigation","user":{"login":"jeremiak","id":780941,"avatar_url":"https://avatars.githubusercontent.com/u/780941?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremiak","html_url":"https://github.com/jeremiak","followers_url":"https://api.github.com/users/jeremiak/followers","following_url":"https://api.github.com/users/jeremiak/following{/other_user}","gists_url":"https://api.github.com/users/jeremiak/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremiak/subscriptions","organizations_url":"https://api.github.com/users/jeremiak/orgs","repos_url":"https://api.github.com/users/jeremiak/repos","events_url":"https://api.github.com/users/jeremiak/events{/privacy}","received_events_url":"https://api.github.com/users/jeremiak/received_events","type":"User","site_admin":false},"body":"Quick sketch of what using a header link for login/logout might look like in the global nav. I substituted the previous \"Deck\" link with a link at the far right of the navigation because user testing revealed that the \"Deck\" link was of very little value to users.\r\n\r\nThe link will be \"Login\" when the user is not yet authenticated and \"Logout\" when the user is properly authenticated.\r\n\r\nScreenshots:\r\n\r\nLogged out:\r\n![](https://s3.amazonaws.com/f.cl.ly/items/0w3j0J3v0W1A42322w0t/Screen%20Shot%202016-05-27%20at%205.39.54%20PM.png?v=95176ffd)\r\n\r\nLogged in:\r\n![](https://s3.amazonaws.com/f.cl.ly/items/123V10181A3j381u3o1d/Screen%20Shot%202016-05-27%20at%205.40.36%20PM.png?v=6b2a0922)\r\n\r\nRefs #179 ","created_at":"2016-05-27T21:41:02Z","updated_at":"2016-05-27T21:41:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/cg-deck/pulls/296/commits","review_comments_url":"https://api.github.com/repos/18F/cg-deck/pulls/296/comments","review_comment_url":"https://api.github.com/repos/18F/cg-deck/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/cg-deck/issues/296/comments","statuses_url":"https://api.github.com/repos/18F/cg-deck/statuses/f710ec789c85704f4cbf82f35db3eb494f143457","head":{"label":"18F:jk-login-logout-link","ref":"jk-login-logout-link","sha":"f710ec789c85704f4cbf82f35db3eb494f143457","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":39210774,"name":"cg-deck","full_name":"18F/cg-deck","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/cg-deck","description":"A web console for managing Cloud Foundry Apps","fork":false,"url":"https://api.github.com/repos/18F/cg-deck","forks_url":"https://api.github.com/repos/18F/cg-deck/forks","keys_url":"https://api.github.com/repos/18F/cg-deck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/cg-deck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/cg-deck/teams","hooks_url":"https://api.github.com/repos/18F/cg-deck/hooks","issue_events_url":"https://api.github.com/repos/18F/cg-deck/issues/events{/number}","events_url":"https://api.github.com/repos/18F/cg-deck/events","assignees_url":"https://api.github.com/repos/18F/cg-deck/assignees{/user}","branches_url":"https://api.github.com/repos/18F/cg-deck/branches{/branch}","tags_url":"https://api.github.com/repos/18F/cg-deck/tags","blobs_url":"https://api.github.com/repos/18F/cg-deck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/cg-deck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/cg-deck/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/cg-deck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/cg-deck/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/cg-deck/languages","stargazers_url":"https://api.github.com/repos/18F/cg-deck/stargazers","contributors_url":"https://api.github.com/repos/18F/cg-deck/contributors","subscribers_url":"https://api.github.com/repos/18F/cg-deck/subscribers","subscription_url":"https://api.github.com/repos/18F/cg-deck/subscription","commits_url":"https://api.github.com/repos/18F/cg-deck/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/cg-deck/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/cg-deck/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/cg-deck/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/cg-deck/contents/{+path}","compare_url":"https://api.github.com/repos/18F/cg-deck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/cg-deck/merges","archive_url":"https://api.github.com/repos/18F/cg-deck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/cg-deck/downloads","issues_url":"https://api.github.com/repos/18F/cg-deck/issues{/number}","pulls_url":"https://api.github.com/repos/18F/cg-deck/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/cg-deck/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/cg-deck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/cg-deck/labels{/name}","releases_url":"https://api.github.com/repos/18F/cg-deck/releases{/id}","deployments_url":"https://api.github.com/repos/18F/cg-deck/deployments","created_at":"2015-07-16T17:27:45Z","updated_at":"2016-05-19T16:12:19Z","pushed_at":"2016-05-27T21:36:42Z","git_url":"git://github.com/18F/cg-deck.git","ssh_url":"git@github.com:18F/cg-deck.git","clone_url":"https://github.com/18F/cg-deck.git","svn_url":"https://github.com/18F/cg-deck","homepage":"https://console.cloud.gov","size":3344,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":80,"forks":8,"open_issues":80,"watchers":17,"default_branch":"master"}},"base":{"label":"18F:staging-alpha","ref":"staging-alpha","sha":"e94c1f525e2afed17362b3e3b910f76cf9cbd606","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":39210774,"name":"cg-deck","full_name":"18F/cg-deck","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/cg-deck","description":"A web console for managing Cloud Foundry Apps","fork":false,"url":"https://api.github.com/repos/18F/cg-deck","forks_url":"https://api.github.com/repos/18F/cg-deck/forks","keys_url":"https://api.github.com/repos/18F/cg-deck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/cg-deck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/cg-deck/teams","hooks_url":"https://api.github.com/repos/18F/cg-deck/hooks","issue_events_url":"https://api.github.com/repos/18F/cg-deck/issues/events{/number}","events_url":"https://api.github.com/repos/18F/cg-deck/events","assignees_url":"https://api.github.com/repos/18F/cg-deck/assignees{/user}","branches_url":"https://api.github.com/repos/18F/cg-deck/branches{/branch}","tags_url":"https://api.github.com/repos/18F/cg-deck/tags","blobs_url":"https://api.github.com/repos/18F/cg-deck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/cg-deck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/cg-deck/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/cg-deck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/cg-deck/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/cg-deck/languages","stargazers_url":"https://api.github.com/repos/18F/cg-deck/stargazers","contributors_url":"https://api.github.com/repos/18F/cg-deck/contributors","subscribers_url":"https://api.github.com/repos/18F/cg-deck/subscribers","subscription_url":"https://api.github.com/repos/18F/cg-deck/subscription","commits_url":"https://api.github.com/repos/18F/cg-deck/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/cg-deck/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/cg-deck/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/cg-deck/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/cg-deck/contents/{+path}","compare_url":"https://api.github.com/repos/18F/cg-deck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/cg-deck/merges","archive_url":"https://api.github.com/repos/18F/cg-deck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/cg-deck/downloads","issues_url":"https://api.github.com/repos/18F/cg-deck/issues{/number}","pulls_url":"https://api.github.com/repos/18F/cg-deck/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/cg-deck/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/cg-deck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/cg-deck/labels{/name}","releases_url":"https://api.github.com/repos/18F/cg-deck/releases{/id}","deployments_url":"https://api.github.com/repos/18F/cg-deck/deployments","created_at":"2015-07-16T17:27:45Z","updated_at":"2016-05-19T16:12:19Z","pushed_at":"2016-05-27T21:36:42Z","git_url":"git://github.com/18F/cg-deck.git","ssh_url":"git@github.com:18F/cg-deck.git","clone_url":"https://github.com/18F/cg-deck.git","svn_url":"https://github.com/18F/cg-deck","homepage":"https://console.cloud.gov","size":3344,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":80,"forks":8,"open_issues":80,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/cg-deck/pulls/296"},"html":{"href":"https://github.com/18F/cg-deck/pull/296"},"issue":{"href":"https://api.github.com/repos/18F/cg-deck/issues/296"},"comments":{"href":"https://api.github.com/repos/18F/cg-deck/issues/296/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/cg-deck/pulls/296/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/cg-deck/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/cg-deck/pulls/296/commits"},"statuses":{"href":"https://api.github.com/repos/18F/cg-deck/statuses/f710ec789c85704f4cbf82f35db3eb494f143457"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"jeremiak"}}