{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/UCSD/now-mobile/pulls/6","id":80161067,"html_url":"https://github.com/UCSD/now-mobile/pull/6","diff_url":"https://github.com/UCSD/now-mobile/pull/6.diff","patch_url":"https://github.com/UCSD/now-mobile/pull/6.patch","issue_url":"https://api.github.com/repos/UCSD/now-mobile/issues/6","number":6,"state":"closed","locked":false,"title":"Modal Welcome and Special Banner Breakout","user":{"login":"srkirkland","id":202753,"avatar_url":"https://avatars.githubusercontent.com/u/202753?v=3","gravatar_id":"","url":"https://api.github.com/users/srkirkland","html_url":"https://github.com/srkirkland","followers_url":"https://api.github.com/users/srkirkland/followers","following_url":"https://api.github.com/users/srkirkland/following{/other_user}","gists_url":"https://api.github.com/users/srkirkland/gists{/gist_id}","starred_url":"https://api.github.com/users/srkirkland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srkirkland/subscriptions","organizations_url":"https://api.github.com/users/srkirkland/orgs","repos_url":"https://api.github.com/users/srkirkland/repos","events_url":"https://api.github.com/users/srkirkland/events{/privacy}","received_events_url":"https://api.github.com/users/srkirkland/received_events","type":"User","site_admin":false},"body":"@a6wu @c3bryant @jpknoll  I really like this one, I broke out the welcome modal and \"welcome banner\" into their own components.  The 'WelcomeModal' now talks to realm directly and makes all the decisions about when it should show and writes to realm when it is dismissed.  It then shows a reusable 'InfoModal', which you could then use anywhere else in your app. Nice little self-contained widget.\r\n\r\nThe welcome banner I abstracted into a generic 'BannerView' which is just a nice touchable image which links to a website.  Then the new 'TopBannerView' is used to decide if the top banner should be show at all.  Currently it is using the same date/time logic to decide if it should show the welcome banner, but this would be a great place to have the top banner get its content from an API or static page so it could change based on the most important campus thing at the moment.\r\n\r\nNote: Everything was running well but I couldn't test the last of the changes because it looks like the new mapping library is causing build error -- i get these even on your latest dev branch so it isn't related to this PR (error is in compiling /AIRMapPolygon.o). ","created_at":"2016-08-04T22:33:23Z","updated_at":"2016-08-08T23:04:46Z","closed_at":"2016-08-08T23:04:46Z","merged_at":"2016-08-08T23:04:46Z","merge_commit_sha":"9aa26cf014bac1a40183f6114d735fc4b37bfbd5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/UCSD/now-mobile/pulls/6/commits","review_comments_url":"https://api.github.com/repos/UCSD/now-mobile/pulls/6/comments","review_comment_url":"https://api.github.com/repos/UCSD/now-mobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UCSD/now-mobile/issues/6/comments","statuses_url":"https://api.github.com/repos/UCSD/now-mobile/statuses/9aa26cf014bac1a40183f6114d735fc4b37bfbd5","head":{"label":"srkirkland:specialandmodal","ref":"specialandmodal","sha":"9aa26cf014bac1a40183f6114d735fc4b37bfbd5","user":{"login":"srkirkland","id":202753,"avatar_url":"https://avatars.githubusercontent.com/u/202753?v=3","gravatar_id":"","url":"https://api.github.com/users/srkirkland","html_url":"https://github.com/srkirkland","followers_url":"https://api.github.com/users/srkirkland/followers","following_url":"https://api.github.com/users/srkirkland/following{/other_user}","gists_url":"https://api.github.com/users/srkirkland/gists{/gist_id}","starred_url":"https://api.github.com/users/srkirkland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srkirkland/subscriptions","organizations_url":"https://api.github.com/users/srkirkland/orgs","repos_url":"https://api.github.com/users/srkirkland/repos","events_url":"https://api.github.com/users/srkirkland/events{/privacy}","received_events_url":"https://api.github.com/users/srkirkland/received_events","type":"User","site_admin":false},"repo":{"id":64501357,"name":"now-mobile","full_name":"srkirkland/now-mobile","owner":{"login":"srkirkland","id":202753,"avatar_url":"https://avatars.githubusercontent.com/u/202753?v=3","gravatar_id":"","url":"https://api.github.com/users/srkirkland","html_url":"https://github.com/srkirkland","followers_url":"https://api.github.com/users/srkirkland/followers","following_url":"https://api.github.com/users/srkirkland/following{/other_user}","gists_url":"https://api.github.com/users/srkirkland/gists{/gist_id}","starred_url":"https://api.github.com/users/srkirkland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srkirkland/subscriptions","organizations_url":"https://api.github.com/users/srkirkland/orgs","repos_url":"https://api.github.com/users/srkirkland/repos","events_url":"https://api.github.com/users/srkirkland/events{/privacy}","received_events_url":"https://api.github.com/users/srkirkland/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/srkirkland/now-mobile","description":"ReactNative App for Campus","fork":true,"url":"https://api.github.com/repos/srkirkland/now-mobile","forks_url":"https://api.github.com/repos/srkirkland/now-mobile/forks","keys_url":"https://api.github.com/repos/srkirkland/now-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/srkirkland/now-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/srkirkland/now-mobile/teams","hooks_url":"https://api.github.com/repos/srkirkland/now-mobile/hooks","issue_events_url":"https://api.github.com/repos/srkirkland/now-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/srkirkland/now-mobile/events","assignees_url":"https://api.github.com/repos/srkirkland/now-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/srkirkland/now-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/srkirkland/now-mobile/tags","blobs_url":"https://api.github.com/repos/srkirkland/now-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/srkirkland/now-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/srkirkland/now-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/srkirkland/now-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/srkirkland/now-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/srkirkland/now-mobile/languages","stargazers_url":"https://api.github.com/repos/srkirkland/now-mobile/stargazers","contributors_url":"https://api.github.com/repos/srkirkland/now-mobile/contributors","subscribers_url":"https://api.github.com/repos/srkirkland/now-mobile/subscribers","subscription_url":"https://api.github.com/repos/srkirkland/now-mobile/subscription","commits_url":"https://api.github.com/repos/srkirkland/now-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/srkirkland/now-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/srkirkland/now-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/srkirkland/now-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/srkirkland/now-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/srkirkland/now-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/srkirkland/now-mobile/merges","archive_url":"https://api.github.com/repos/srkirkland/now-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/srkirkland/now-mobile/downloads","issues_url":"https://api.github.com/repos/srkirkland/now-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/srkirkland/now-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/srkirkland/now-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/srkirkland/now-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/srkirkland/now-mobile/labels{/name}","releases_url":"https://api.github.com/repos/srkirkland/now-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/srkirkland/now-mobile/deployments","created_at":"2016-07-29T18:14:10Z","updated_at":"2016-07-29T18:14:11Z","pushed_at":"2016-08-08T20:44:26Z","git_url":"git://github.com/srkirkland/now-mobile.git","ssh_url":"git@github.com:srkirkland/now-mobile.git","clone_url":"https://github.com/srkirkland/now-mobile.git","svn_url":"https://github.com/srkirkland/now-mobile","homepage":null,"size":11450,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"dev"}},"base":{"label":"UCSD:dev","ref":"dev","sha":"862bff8816ac7456225331a21f0574a28a65d36d","user":{"login":"UCSD","id":932818,"avatar_url":"https://avatars.githubusercontent.com/u/932818?v=3","gravatar_id":"","url":"https://api.github.com/users/UCSD","html_url":"https://github.com/UCSD","followers_url":"https://api.github.com/users/UCSD/followers","following_url":"https://api.github.com/users/UCSD/following{/other_user}","gists_url":"https://api.github.com/users/UCSD/gists{/gist_id}","starred_url":"https://api.github.com/users/UCSD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCSD/subscriptions","organizations_url":"https://api.github.com/users/UCSD/orgs","repos_url":"https://api.github.com/users/UCSD/repos","events_url":"https://api.github.com/users/UCSD/events{/privacy}","received_events_url":"https://api.github.com/users/UCSD/received_events","type":"Organization","site_admin":false},"repo":{"id":62921972,"name":"now-mobile","full_name":"UCSD/now-mobile","owner":{"login":"UCSD","id":932818,"avatar_url":"https://avatars.githubusercontent.com/u/932818?v=3","gravatar_id":"","url":"https://api.github.com/users/UCSD","html_url":"https://github.com/UCSD","followers_url":"https://api.github.com/users/UCSD/followers","following_url":"https://api.github.com/users/UCSD/following{/other_user}","gists_url":"https://api.github.com/users/UCSD/gists{/gist_id}","starred_url":"https://api.github.com/users/UCSD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCSD/subscriptions","organizations_url":"https://api.github.com/users/UCSD/orgs","repos_url":"https://api.github.com/users/UCSD/repos","events_url":"https://api.github.com/users/UCSD/events{/privacy}","received_events_url":"https://api.github.com/users/UCSD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UCSD/now-mobile","description":"ReactNative App for Campus","fork":false,"url":"https://api.github.com/repos/UCSD/now-mobile","forks_url":"https://api.github.com/repos/UCSD/now-mobile/forks","keys_url":"https://api.github.com/repos/UCSD/now-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UCSD/now-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UCSD/now-mobile/teams","hooks_url":"https://api.github.com/repos/UCSD/now-mobile/hooks","issue_events_url":"https://api.github.com/repos/UCSD/now-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/UCSD/now-mobile/events","assignees_url":"https://api.github.com/repos/UCSD/now-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/UCSD/now-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/UCSD/now-mobile/tags","blobs_url":"https://api.github.com/repos/UCSD/now-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UCSD/now-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UCSD/now-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/UCSD/now-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UCSD/now-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/UCSD/now-mobile/languages","stargazers_url":"https://api.github.com/repos/UCSD/now-mobile/stargazers","contributors_url":"https://api.github.com/repos/UCSD/now-mobile/contributors","subscribers_url":"https://api.github.com/repos/UCSD/now-mobile/subscribers","subscription_url":"https://api.github.com/repos/UCSD/now-mobile/subscription","commits_url":"https://api.github.com/repos/UCSD/now-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/UCSD/now-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/UCSD/now-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/UCSD/now-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/UCSD/now-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/UCSD/now-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UCSD/now-mobile/merges","archive_url":"https://api.github.com/repos/UCSD/now-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UCSD/now-mobile/downloads","issues_url":"https://api.github.com/repos/UCSD/now-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/UCSD/now-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/UCSD/now-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/UCSD/now-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UCSD/now-mobile/labels{/name}","releases_url":"https://api.github.com/repos/UCSD/now-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/UCSD/now-mobile/deployments","created_at":"2016-07-08T22:57:15Z","updated_at":"2016-07-12T21:07:25Z","pushed_at":"2016-08-08T23:04:46Z","git_url":"git://github.com/UCSD/now-mobile.git","ssh_url":"git@github.com:UCSD/now-mobile.git","clone_url":"https://github.com/UCSD/now-mobile.git","svn_url":"https://github.com/UCSD/now-mobile","homepage":null,"size":11450,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":1,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/UCSD/now-mobile/pulls/6"},"html":{"href":"https://github.com/UCSD/now-mobile/pull/6"},"issue":{"href":"https://api.github.com/repos/UCSD/now-mobile/issues/6"},"comments":{"href":"https://api.github.com/repos/UCSD/now-mobile/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/UCSD/now-mobile/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/UCSD/now-mobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UCSD/now-mobile/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/UCSD/now-mobile/statuses/9aa26cf014bac1a40183f6114d735fc4b37bfbd5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"a6wu","id":4240132,"avatar_url":"https://avatars.githubusercontent.com/u/4240132?v=3","gravatar_id":"","url":"https://api.github.com/users/a6wu","html_url":"https://github.com/a6wu","followers_url":"https://api.github.com/users/a6wu/followers","following_url":"https://api.github.com/users/a6wu/following{/other_user}","gists_url":"https://api.github.com/users/a6wu/gists{/gist_id}","starred_url":"https://api.github.com/users/a6wu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a6wu/subscriptions","organizations_url":"https://api.github.com/users/a6wu/orgs","repos_url":"https://api.github.com/users/a6wu/repos","events_url":"https://api.github.com/users/a6wu/events{/privacy}","received_events_url":"https://api.github.com/users/a6wu/received_events","type":"User","site_admin":false},"comments":1,"review_comments":4,"commits":6,"additions":190,"deletions":68,"changed_files":6}}
{"actor":{"display_login":"a6wu"}}