{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/elle-gover/project-caterpillar/pulls/23","id":217275333,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3Mjc1MzMz","html_url":"https://github.com/elle-gover/project-caterpillar/pull/23","diff_url":"https://github.com/elle-gover/project-caterpillar/pull/23.diff","patch_url":"https://github.com/elle-gover/project-caterpillar/pull/23.patch","issue_url":"https://api.github.com/repos/elle-gover/project-caterpillar/issues/23","number":23,"state":"open","locked":false,"title":"Lifestage detail view scroll view / Joey Logo","user":{"login":"jonesandcode","id":36642060,"node_id":"MDQ6VXNlcjM2NjQyMDYw","avatar_url":"https://avatars0.githubusercontent.com/u/36642060?v=4","gravatar_id":"","url":"https://api.github.com/users/jonesandcode","html_url":"https://github.com/jonesandcode","followers_url":"https://api.github.com/users/jonesandcode/followers","following_url":"https://api.github.com/users/jonesandcode/following{/other_user}","gists_url":"https://api.github.com/users/jonesandcode/gists{/gist_id}","starred_url":"https://api.github.com/users/jonesandcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonesandcode/subscriptions","organizations_url":"https://api.github.com/users/jonesandcode/orgs","repos_url":"https://api.github.com/users/jonesandcode/repos","events_url":"https://api.github.com/users/jonesandcode/events{/privacy}","received_events_url":"https://api.github.com/users/jonesandcode/received_events","type":"User","site_admin":false},"body":"## Reason\r\nTrello Card: [Make the Lifestages Detail View scroll on smaller devices](https://trello.com/c/wi8G9hHd)\r\n\r\nOn smaller devices, the Lifestages Detail content would be cut off because you didn't have the ability to scroll in the view.\r\n\r\n**BONUS:** Also created a Joey logo for the Home View if we would like to use it.\r\n\r\n## What I did\r\nImplemented a Scroll View with a UIView nested in the Scroll View to allow the content to scroll when being clipped.\r\n\r\nCreated an ImageView on the home screen for the Joey logo.\r\n\r\n## How I did it\r\n- Added a Scroll View to the View and made it set it to the size of the entire view regardless of device.\r\n- Nested a UIView inside the Scroll View that is constrained to 0 for the top, left, and right constraints so it is always the full size of the device, and the bottom constraint is configured through the last item and it's safe space to the bottom.\r\n- Nested all labels and the ImageView inside the UIView and applied auto layout constraints. This is ultimately what triggers the scrolling.\r\n\r\n## Screenshots\r\n**Scrolling Feature**\r\n\r\n![lifestage-scroll](https://user-images.githubusercontent.com/36642060/45881800-3e14a400-bd7a-11e8-9d70-ef3a904d2479.gif)\r\n\r\n**Logo**\r\n\r\n![simulator screen shot - iphone x - 2018-09-21 at 08 41 01](https://user-images.githubusercontent.com/36642060/45881804-410f9480-bd7a-11e8-9c05-0a445eb590e8.png)\r\n\r\n","created_at":"2018-09-21T12:57:10Z","updated_at":"2018-09-21T12:57:10Z","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/elle-gover/project-caterpillar/pulls/23/commits","review_comments_url":"https://api.github.com/repos/elle-gover/project-caterpillar/pulls/23/comments","review_comment_url":"https://api.github.com/repos/elle-gover/project-caterpillar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elle-gover/project-caterpillar/issues/23/comments","statuses_url":"https://api.github.com/repos/elle-gover/project-caterpillar/statuses/27b747aa6a7935236df5ef7130d8c02767814ae4","head":{"label":"elle-gover:lifestageDetailView-scrollView","ref":"lifestageDetailView-scrollView","sha":"27b747aa6a7935236df5ef7130d8c02767814ae4","user":{"login":"elle-gover","id":37513899,"node_id":"MDQ6VXNlcjM3NTEzODk5","avatar_url":"https://avatars1.githubusercontent.com/u/37513899?v=4","gravatar_id":"","url":"https://api.github.com/users/elle-gover","html_url":"https://github.com/elle-gover","followers_url":"https://api.github.com/users/elle-gover/followers","following_url":"https://api.github.com/users/elle-gover/following{/other_user}","gists_url":"https://api.github.com/users/elle-gover/gists{/gist_id}","starred_url":"https://api.github.com/users/elle-gover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elle-gover/subscriptions","organizations_url":"https://api.github.com/users/elle-gover/orgs","repos_url":"https://api.github.com/users/elle-gover/repos","events_url":"https://api.github.com/users/elle-gover/events{/privacy}","received_events_url":"https://api.github.com/users/elle-gover/received_events","type":"User","site_admin":false},"repo":{"id":149132535,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkxMzI1MzU=","name":"project-caterpillar","full_name":"elle-gover/project-caterpillar","private":false,"owner":{"login":"elle-gover","id":37513899,"node_id":"MDQ6VXNlcjM3NTEzODk5","avatar_url":"https://avatars1.githubusercontent.com/u/37513899?v=4","gravatar_id":"","url":"https://api.github.com/users/elle-gover","html_url":"https://github.com/elle-gover","followers_url":"https://api.github.com/users/elle-gover/followers","following_url":"https://api.github.com/users/elle-gover/following{/other_user}","gists_url":"https://api.github.com/users/elle-gover/gists{/gist_id}","starred_url":"https://api.github.com/users/elle-gover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elle-gover/subscriptions","organizations_url":"https://api.github.com/users/elle-gover/orgs","repos_url":"https://api.github.com/users/elle-gover/repos","events_url":"https://api.github.com/users/elle-gover/events{/privacy}","received_events_url":"https://api.github.com/users/elle-gover/received_events","type":"User","site_admin":false},"html_url":"https://github.com/elle-gover/project-caterpillar","description":"Group Project #1—Elle, Leeann, Jordan, Mitch","fork":false,"url":"https://api.github.com/repos/elle-gover/project-caterpillar","forks_url":"https://api.github.com/repos/elle-gover/project-caterpillar/forks","keys_url":"https://api.github.com/repos/elle-gover/project-caterpillar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elle-gover/project-caterpillar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elle-gover/project-caterpillar/teams","hooks_url":"https://api.github.com/repos/elle-gover/project-caterpillar/hooks","issue_events_url":"https://api.github.com/repos/elle-gover/project-caterpillar/issues/events{/number}","events_url":"https://api.github.com/repos/elle-gover/project-caterpillar/events","assignees_url":"https://api.github.com/repos/elle-gover/project-caterpillar/assignees{/user}","branches_url":"https://api.github.com/repos/elle-gover/project-caterpillar/branches{/branch}","tags_url":"https://api.github.com/repos/elle-gover/project-caterpillar/tags","blobs_url":"https://api.github.com/repos/elle-gover/project-caterpillar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elle-gover/project-caterpillar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elle-gover/project-caterpillar/git/refs{/sha}","trees_url":"https://api.github.com/repos/elle-gover/project-caterpillar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elle-gover/project-caterpillar/statuses/{sha}","languages_url":"https://api.github.com/repos/elle-gover/project-caterpillar/languages","stargazers_url":"https://api.github.com/repos/elle-gover/project-caterpillar/stargazers","contributors_url":"https://api.github.com/repos/elle-gover/project-caterpillar/contributors","subscribers_url":"https://api.github.com/repos/elle-gover/project-caterpillar/subscribers","subscription_url":"https://api.github.com/repos/elle-gover/project-caterpillar/subscription","commits_url":"https://api.github.com/repos/elle-gover/project-caterpillar/commits{/sha}","git_commits_url":"https://api.github.com/repos/elle-gover/project-caterpillar/git/commits{/sha}","comments_url":"https://api.github.com/repos/elle-gover/project-caterpillar/comments{/number}","issue_comment_url":"https://api.github.com/repos/elle-gover/project-caterpillar/issues/comments{/number}","contents_url":"https://api.github.com/repos/elle-gover/project-caterpillar/contents/{+path}","compare_url":"https://api.github.com/repos/elle-gover/project-caterpillar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elle-gover/project-caterpillar/merges","archive_url":"https://api.github.com/repos/elle-gover/project-caterpillar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elle-gover/project-caterpillar/downloads","issues_url":"https://api.github.com/repos/elle-gover/project-caterpillar/issues{/number}","pulls_url":"https://api.github.com/repos/elle-gover/project-caterpillar/pulls{/number}","milestones_url":"https://api.github.com/repos/elle-gover/project-caterpillar/milestones{/number}","notifications_url":"https://api.github.com/repos/elle-gover/project-caterpillar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elle-gover/project-caterpillar/labels{/name}","releases_url":"https://api.github.com/repos/elle-gover/project-caterpillar/releases{/id}","deployments_url":"https://api.github.com/repos/elle-gover/project-caterpillar/deployments","created_at":"2018-09-17T13:50:31Z","updated_at":"2018-09-20T20:34:39Z","pushed_at":"2018-09-21T12:39:19Z","git_url":"git://github.com/elle-gover/project-caterpillar.git","ssh_url":"git@github.com:elle-gover/project-caterpillar.git","clone_url":"https://github.com/elle-gover/project-caterpillar.git","svn_url":"https://github.com/elle-gover/project-caterpillar","homepage":null,"size":2805,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"elle-gover:master","ref":"master","sha":"05ddbfd9484b29a8b5f9a721245ca39ea3f8308b","user":{"login":"elle-gover","id":37513899,"node_id":"MDQ6VXNlcjM3NTEzODk5","avatar_url":"https://avatars1.githubusercontent.com/u/37513899?v=4","gravatar_id":"","url":"https://api.github.com/users/elle-gover","html_url":"https://github.com/elle-gover","followers_url":"https://api.github.com/users/elle-gover/followers","following_url":"https://api.github.com/users/elle-gover/following{/other_user}","gists_url":"https://api.github.com/users/elle-gover/gists{/gist_id}","starred_url":"https://api.github.com/users/elle-gover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elle-gover/subscriptions","organizations_url":"https://api.github.com/users/elle-gover/orgs","repos_url":"https://api.github.com/users/elle-gover/repos","events_url":"https://api.github.com/users/elle-gover/events{/privacy}","received_events_url":"https://api.github.com/users/elle-gover/received_events","type":"User","site_admin":false},"repo":{"id":149132535,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkxMzI1MzU=","name":"project-caterpillar","full_name":"elle-gover/project-caterpillar","private":false,"owner":{"login":"elle-gover","id":37513899,"node_id":"MDQ6VXNlcjM3NTEzODk5","avatar_url":"https://avatars1.githubusercontent.com/u/37513899?v=4","gravatar_id":"","url":"https://api.github.com/users/elle-gover","html_url":"https://github.com/elle-gover","followers_url":"https://api.github.com/users/elle-gover/followers","following_url":"https://api.github.com/users/elle-gover/following{/other_user}","gists_url":"https://api.github.com/users/elle-gover/gists{/gist_id}","starred_url":"https://api.github.com/users/elle-gover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elle-gover/subscriptions","organizations_url":"https://api.github.com/users/elle-gover/orgs","repos_url":"https://api.github.com/users/elle-gover/repos","events_url":"https://api.github.com/users/elle-gover/events{/privacy}","received_events_url":"https://api.github.com/users/elle-gover/received_events","type":"User","site_admin":false},"html_url":"https://github.com/elle-gover/project-caterpillar","description":"Group Project #1—Elle, Leeann, Jordan, Mitch","fork":false,"url":"https://api.github.com/repos/elle-gover/project-caterpillar","forks_url":"https://api.github.com/repos/elle-gover/project-caterpillar/forks","keys_url":"https://api.github.com/repos/elle-gover/project-caterpillar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elle-gover/project-caterpillar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elle-gover/project-caterpillar/teams","hooks_url":"https://api.github.com/repos/elle-gover/project-caterpillar/hooks","issue_events_url":"https://api.github.com/repos/elle-gover/project-caterpillar/issues/events{/number}","events_url":"https://api.github.com/repos/elle-gover/project-caterpillar/events","assignees_url":"https://api.github.com/repos/elle-gover/project-caterpillar/assignees{/user}","branches_url":"https://api.github.com/repos/elle-gover/project-caterpillar/branches{/branch}","tags_url":"https://api.github.com/repos/elle-gover/project-caterpillar/tags","blobs_url":"https://api.github.com/repos/elle-gover/project-caterpillar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elle-gover/project-caterpillar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elle-gover/project-caterpillar/git/refs{/sha}","trees_url":"https://api.github.com/repos/elle-gover/project-caterpillar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elle-gover/project-caterpillar/statuses/{sha}","languages_url":"https://api.github.com/repos/elle-gover/project-caterpillar/languages","stargazers_url":"https://api.github.com/repos/elle-gover/project-caterpillar/stargazers","contributors_url":"https://api.github.com/repos/elle-gover/project-caterpillar/contributors","subscribers_url":"https://api.github.com/repos/elle-gover/project-caterpillar/subscribers","subscription_url":"https://api.github.com/repos/elle-gover/project-caterpillar/subscription","commits_url":"https://api.github.com/repos/elle-gover/project-caterpillar/commits{/sha}","git_commits_url":"https://api.github.com/repos/elle-gover/project-caterpillar/git/commits{/sha}","comments_url":"https://api.github.com/repos/elle-gover/project-caterpillar/comments{/number}","issue_comment_url":"https://api.github.com/repos/elle-gover/project-caterpillar/issues/comments{/number}","contents_url":"https://api.github.com/repos/elle-gover/project-caterpillar/contents/{+path}","compare_url":"https://api.github.com/repos/elle-gover/project-caterpillar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elle-gover/project-caterpillar/merges","archive_url":"https://api.github.com/repos/elle-gover/project-caterpillar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elle-gover/project-caterpillar/downloads","issues_url":"https://api.github.com/repos/elle-gover/project-caterpillar/issues{/number}","pulls_url":"https://api.github.com/repos/elle-gover/project-caterpillar/pulls{/number}","milestones_url":"https://api.github.com/repos/elle-gover/project-caterpillar/milestones{/number}","notifications_url":"https://api.github.com/repos/elle-gover/project-caterpillar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elle-gover/project-caterpillar/labels{/name}","releases_url":"https://api.github.com/repos/elle-gover/project-caterpillar/releases{/id}","deployments_url":"https://api.github.com/repos/elle-gover/project-caterpillar/deployments","created_at":"2018-09-17T13:50:31Z","updated_at":"2018-09-20T20:34:39Z","pushed_at":"2018-09-21T12:39:19Z","git_url":"git://github.com/elle-gover/project-caterpillar.git","ssh_url":"git@github.com:elle-gover/project-caterpillar.git","clone_url":"https://github.com/elle-gover/project-caterpillar.git","svn_url":"https://github.com/elle-gover/project-caterpillar","homepage":null,"size":2805,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elle-gover/project-caterpillar/pulls/23"},"html":{"href":"https://github.com/elle-gover/project-caterpillar/pull/23"},"issue":{"href":"https://api.github.com/repos/elle-gover/project-caterpillar/issues/23"},"comments":{"href":"https://api.github.com/repos/elle-gover/project-caterpillar/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/elle-gover/project-caterpillar/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/elle-gover/project-caterpillar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elle-gover/project-caterpillar/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/elle-gover/project-caterpillar/statuses/27b747aa6a7935236df5ef7130d8c02767814ae4"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":7,"additions":149,"deletions":94,"changed_files":6}}
{"actor":{"display_login":"jonesandcode"}}