{"action":"created","comment":{"url":"https://api.github.com/repos/cuappdev/icefishing/pulls/comments/43984329","id":43984329,"diff_hunk":"@@ -155,13 +159,54 @@ class ProfileViewController: UIViewController, UICollectionViewDelegate, UIColle\n \t\tnavigationController?.pushViewController(followersVC, animated: true)\n \t}\n \t\n+\t@IBAction func userHandleButtonClicked(sender: UIButton) {\n+\t\tlet editAlert = UIAlertController(title: \"Edit Username\", message: \"This is how you appear to other users.\", preferredStyle: UIAlertControllerStyle.Alert)\n+\t\teditAlert.addAction(UIAlertAction(title: \"Cancel\", style: UIAlertActionStyle.Cancel, handler: nil))","path":"IceFishing/Profile/ProfileViewController.swift","position":60,"original_position":60,"commit_id":"13af631f519063d86433cdc1f3b14eb9b0b065e3","original_commit_id":"13af631f519063d86433cdc1f3b14eb9b0b065e3","user":{"login":"lucasderraugh","id":714282,"avatar_url":"https://avatars.githubusercontent.com/u/714282?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasderraugh","html_url":"https://github.com/lucasderraugh","followers_url":"https://api.github.com/users/lucasderraugh/followers","following_url":"https://api.github.com/users/lucasderraugh/following{/other_user}","gists_url":"https://api.github.com/users/lucasderraugh/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasderraugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasderraugh/subscriptions","organizations_url":"https://api.github.com/users/lucasderraugh/orgs","repos_url":"https://api.github.com/users/lucasderraugh/repos","events_url":"https://api.github.com/users/lucasderraugh/events{/privacy}","received_events_url":"https://api.github.com/users/lucasderraugh/received_events","type":"User","site_admin":false},"body":"For these `UIAlertActionStyle.Cancel` and `UIAlertControllerStyle.Alert` type things, prefer the shorthand of just `.Cancel` or `.Alert`.","created_at":"2015-11-05T07:46:51Z","updated_at":"2015-11-05T07:46:51Z","html_url":"https://github.com/cuappdev/icefishing/pull/87#discussion_r43984329","pull_request_url":"https://api.github.com/repos/cuappdev/icefishing/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/cuappdev/icefishing/pulls/comments/43984329"},"html":{"href":"https://github.com/cuappdev/icefishing/pull/87#discussion_r43984329"},"pull_request":{"href":"https://api.github.com/repos/cuappdev/icefishing/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/cuappdev/icefishing/pulls/87","id":49649816,"html_url":"https://github.com/cuappdev/icefishing/pull/87","diff_url":"https://github.com/cuappdev/icefishing/pull/87.diff","patch_url":"https://github.com/cuappdev/icefishing/pull/87.patch","issue_url":"https://api.github.com/repos/cuappdev/icefishing/issues/87","number":87,"state":"open","locked":false,"title":"Annie/handle creation","user":{"login":"acheng96","id":8130751,"avatar_url":"https://avatars.githubusercontent.com/u/8130751?v=3","gravatar_id":"","url":"https://api.github.com/users/acheng96","html_url":"https://github.com/acheng96","followers_url":"https://api.github.com/users/acheng96/followers","following_url":"https://api.github.com/users/acheng96/following{/other_user}","gists_url":"https://api.github.com/users/acheng96/gists{/gist_id}","starred_url":"https://api.github.com/users/acheng96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acheng96/subscriptions","organizations_url":"https://api.github.com/users/acheng96/orgs","repos_url":"https://api.github.com/users/acheng96/repos","events_url":"https://api.github.com/users/acheng96/events{/privacy}","received_events_url":"https://api.github.com/users/acheng96/received_events","type":"User","site_admin":false},"body":"Handle creation has now been implemented as follows:\r\n\r\n1. When a new user logs into Facebook, he/she will be redirected to the UsernameViewController to create a username. A IceFishing user isn't created in the backend until that user enters a valid username and clicks the Continue button.\r\n2. Clicking on the username in the ProfileViewController allows users to update their username. Usernames are case-insensitive (i.e. \"a\" = \"A\") and can only contain underscores and alphanumeric characters (i.e. spaces and special characters aren't allowed).","created_at":"2015-11-04T05:26:35Z","updated_at":"2015-11-05T07:46:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75d6889fc8f99751b1fa5f61bd8f1039f96f6dc3","assignee":{"login":"lucasderraugh","id":714282,"avatar_url":"https://avatars.githubusercontent.com/u/714282?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasderraugh","html_url":"https://github.com/lucasderraugh","followers_url":"https://api.github.com/users/lucasderraugh/followers","following_url":"https://api.github.com/users/lucasderraugh/following{/other_user}","gists_url":"https://api.github.com/users/lucasderraugh/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasderraugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasderraugh/subscriptions","organizations_url":"https://api.github.com/users/lucasderraugh/orgs","repos_url":"https://api.github.com/users/lucasderraugh/repos","events_url":"https://api.github.com/users/lucasderraugh/events{/privacy}","received_events_url":"https://api.github.com/users/lucasderraugh/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/cuappdev/icefishing/pulls/87/commits","review_comments_url":"https://api.github.com/repos/cuappdev/icefishing/pulls/87/comments","review_comment_url":"https://api.github.com/repos/cuappdev/icefishing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cuappdev/icefishing/issues/87/comments","statuses_url":"https://api.github.com/repos/cuappdev/icefishing/statuses/13af631f519063d86433cdc1f3b14eb9b0b065e3","head":{"label":"cuappdev:annie/handle-creation","ref":"annie/handle-creation","sha":"13af631f519063d86433cdc1f3b14eb9b0b065e3","user":{"login":"cuappdev","id":8119829,"avatar_url":"https://avatars.githubusercontent.com/u/8119829?v=3","gravatar_id":"","url":"https://api.github.com/users/cuappdev","html_url":"https://github.com/cuappdev","followers_url":"https://api.github.com/users/cuappdev/followers","following_url":"https://api.github.com/users/cuappdev/following{/other_user}","gists_url":"https://api.github.com/users/cuappdev/gists{/gist_id}","starred_url":"https://api.github.com/users/cuappdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuappdev/subscriptions","organizations_url":"https://api.github.com/users/cuappdev/orgs","repos_url":"https://api.github.com/users/cuappdev/repos","events_url":"https://api.github.com/users/cuappdev/events{/privacy}","received_events_url":"https://api.github.com/users/cuappdev/received_events","type":"Organization","site_admin":false},"repo":{"id":31859720,"name":"icefishing","full_name":"cuappdev/icefishing","owner":{"login":"cuappdev","id":8119829,"avatar_url":"https://avatars.githubusercontent.com/u/8119829?v=3","gravatar_id":"","url":"https://api.github.com/users/cuappdev","html_url":"https://github.com/cuappdev","followers_url":"https://api.github.com/users/cuappdev/followers","following_url":"https://api.github.com/users/cuappdev/following{/other_user}","gists_url":"https://api.github.com/users/cuappdev/gists{/gist_id}","starred_url":"https://api.github.com/users/cuappdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuappdev/subscriptions","organizations_url":"https://api.github.com/users/cuappdev/orgs","repos_url":"https://api.github.com/users/cuappdev/repos","events_url":"https://api.github.com/users/cuappdev/events{/privacy}","received_events_url":"https://api.github.com/users/cuappdev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cuappdev/icefishing","description":"","fork":false,"url":"https://api.github.com/repos/cuappdev/icefishing","forks_url":"https://api.github.com/repos/cuappdev/icefishing/forks","keys_url":"https://api.github.com/repos/cuappdev/icefishing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cuappdev/icefishing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cuappdev/icefishing/teams","hooks_url":"https://api.github.com/repos/cuappdev/icefishing/hooks","issue_events_url":"https://api.github.com/repos/cuappdev/icefishing/issues/events{/number}","events_url":"https://api.github.com/repos/cuappdev/icefishing/events","assignees_url":"https://api.github.com/repos/cuappdev/icefishing/assignees{/user}","branches_url":"https://api.github.com/repos/cuappdev/icefishing/branches{/branch}","tags_url":"https://api.github.com/repos/cuappdev/icefishing/tags","blobs_url":"https://api.github.com/repos/cuappdev/icefishing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cuappdev/icefishing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cuappdev/icefishing/git/refs{/sha}","trees_url":"https://api.github.com/repos/cuappdev/icefishing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cuappdev/icefishing/statuses/{sha}","languages_url":"https://api.github.com/repos/cuappdev/icefishing/languages","stargazers_url":"https://api.github.com/repos/cuappdev/icefishing/stargazers","contributors_url":"https://api.github.com/repos/cuappdev/icefishing/contributors","subscribers_url":"https://api.github.com/repos/cuappdev/icefishing/subscribers","subscription_url":"https://api.github.com/repos/cuappdev/icefishing/subscription","commits_url":"https://api.github.com/repos/cuappdev/icefishing/commits{/sha}","git_commits_url":"https://api.github.com/repos/cuappdev/icefishing/git/commits{/sha}","comments_url":"https://api.github.com/repos/cuappdev/icefishing/comments{/number}","issue_comment_url":"https://api.github.com/repos/cuappdev/icefishing/issues/comments{/number}","contents_url":"https://api.github.com/repos/cuappdev/icefishing/contents/{+path}","compare_url":"https://api.github.com/repos/cuappdev/icefishing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cuappdev/icefishing/merges","archive_url":"https://api.github.com/repos/cuappdev/icefishing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cuappdev/icefishing/downloads","issues_url":"https://api.github.com/repos/cuappdev/icefishing/issues{/number}","pulls_url":"https://api.github.com/repos/cuappdev/icefishing/pulls{/number}","milestones_url":"https://api.github.com/repos/cuappdev/icefishing/milestones{/number}","notifications_url":"https://api.github.com/repos/cuappdev/icefishing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cuappdev/icefishing/labels{/name}","releases_url":"https://api.github.com/repos/cuappdev/icefishing/releases{/id}","created_at":"2015-03-08T18:08:15Z","updated_at":"2015-09-30T22:37:03Z","pushed_at":"2015-11-05T07:34:02Z","git_url":"git://github.com/cuappdev/icefishing.git","ssh_url":"git@github.com:cuappdev/icefishing.git","clone_url":"https://github.com/cuappdev/icefishing.git","svn_url":"https://github.com/cuappdev/icefishing","homepage":null,"size":28477,"stargazers_count":2,"watchers_count":2,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":17,"forks":2,"open_issues":17,"watchers":2,"default_branch":"master"}},"base":{"label":"cuappdev:master","ref":"master","sha":"f1db01854a5692edcff3d24bdbd69d5306d7ffec","user":{"login":"cuappdev","id":8119829,"avatar_url":"https://avatars.githubusercontent.com/u/8119829?v=3","gravatar_id":"","url":"https://api.github.com/users/cuappdev","html_url":"https://github.com/cuappdev","followers_url":"https://api.github.com/users/cuappdev/followers","following_url":"https://api.github.com/users/cuappdev/following{/other_user}","gists_url":"https://api.github.com/users/cuappdev/gists{/gist_id}","starred_url":"https://api.github.com/users/cuappdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuappdev/subscriptions","organizations_url":"https://api.github.com/users/cuappdev/orgs","repos_url":"https://api.github.com/users/cuappdev/repos","events_url":"https://api.github.com/users/cuappdev/events{/privacy}","received_events_url":"https://api.github.com/users/cuappdev/received_events","type":"Organization","site_admin":false},"repo":{"id":31859720,"name":"icefishing","full_name":"cuappdev/icefishing","owner":{"login":"cuappdev","id":8119829,"avatar_url":"https://avatars.githubusercontent.com/u/8119829?v=3","gravatar_id":"","url":"https://api.github.com/users/cuappdev","html_url":"https://github.com/cuappdev","followers_url":"https://api.github.com/users/cuappdev/followers","following_url":"https://api.github.com/users/cuappdev/following{/other_user}","gists_url":"https://api.github.com/users/cuappdev/gists{/gist_id}","starred_url":"https://api.github.com/users/cuappdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuappdev/subscriptions","organizations_url":"https://api.github.com/users/cuappdev/orgs","repos_url":"https://api.github.com/users/cuappdev/repos","events_url":"https://api.github.com/users/cuappdev/events{/privacy}","received_events_url":"https://api.github.com/users/cuappdev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cuappdev/icefishing","description":"","fork":false,"url":"https://api.github.com/repos/cuappdev/icefishing","forks_url":"https://api.github.com/repos/cuappdev/icefishing/forks","keys_url":"https://api.github.com/repos/cuappdev/icefishing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cuappdev/icefishing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cuappdev/icefishing/teams","hooks_url":"https://api.github.com/repos/cuappdev/icefishing/hooks","issue_events_url":"https://api.github.com/repos/cuappdev/icefishing/issues/events{/number}","events_url":"https://api.github.com/repos/cuappdev/icefishing/events","assignees_url":"https://api.github.com/repos/cuappdev/icefishing/assignees{/user}","branches_url":"https://api.github.com/repos/cuappdev/icefishing/branches{/branch}","tags_url":"https://api.github.com/repos/cuappdev/icefishing/tags","blobs_url":"https://api.github.com/repos/cuappdev/icefishing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cuappdev/icefishing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cuappdev/icefishing/git/refs{/sha}","trees_url":"https://api.github.com/repos/cuappdev/icefishing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cuappdev/icefishing/statuses/{sha}","languages_url":"https://api.github.com/repos/cuappdev/icefishing/languages","stargazers_url":"https://api.github.com/repos/cuappdev/icefishing/stargazers","contributors_url":"https://api.github.com/repos/cuappdev/icefishing/contributors","subscribers_url":"https://api.github.com/repos/cuappdev/icefishing/subscribers","subscription_url":"https://api.github.com/repos/cuappdev/icefishing/subscription","commits_url":"https://api.github.com/repos/cuappdev/icefishing/commits{/sha}","git_commits_url":"https://api.github.com/repos/cuappdev/icefishing/git/commits{/sha}","comments_url":"https://api.github.com/repos/cuappdev/icefishing/comments{/number}","issue_comment_url":"https://api.github.com/repos/cuappdev/icefishing/issues/comments{/number}","contents_url":"https://api.github.com/repos/cuappdev/icefishing/contents/{+path}","compare_url":"https://api.github.com/repos/cuappdev/icefishing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cuappdev/icefishing/merges","archive_url":"https://api.github.com/repos/cuappdev/icefishing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cuappdev/icefishing/downloads","issues_url":"https://api.github.com/repos/cuappdev/icefishing/issues{/number}","pulls_url":"https://api.github.com/repos/cuappdev/icefishing/pulls{/number}","milestones_url":"https://api.github.com/repos/cuappdev/icefishing/milestones{/number}","notifications_url":"https://api.github.com/repos/cuappdev/icefishing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cuappdev/icefishing/labels{/name}","releases_url":"https://api.github.com/repos/cuappdev/icefishing/releases{/id}","created_at":"2015-03-08T18:08:15Z","updated_at":"2015-09-30T22:37:03Z","pushed_at":"2015-11-05T07:34:02Z","git_url":"git://github.com/cuappdev/icefishing.git","ssh_url":"git@github.com:cuappdev/icefishing.git","clone_url":"https://github.com/cuappdev/icefishing.git","svn_url":"https://github.com/cuappdev/icefishing","homepage":null,"size":28477,"stargazers_count":2,"watchers_count":2,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":17,"forks":2,"open_issues":17,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cuappdev/icefishing/pulls/87"},"html":{"href":"https://github.com/cuappdev/icefishing/pull/87"},"issue":{"href":"https://api.github.com/repos/cuappdev/icefishing/issues/87"},"comments":{"href":"https://api.github.com/repos/cuappdev/icefishing/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/cuappdev/icefishing/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/cuappdev/icefishing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cuappdev/icefishing/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/cuappdev/icefishing/statuses/13af631f519063d86433cdc1f3b14eb9b0b065e3"}}}}