{"action":"created","comment":{"url":"https://api.github.com/repos/kickstarter/ios-oss/pulls/comments/131257681","pull_request_review_id":54220806,"id":131257681,"diff_hunk":"@@ -401,6 +404,20 @@ AppDelegateViewModelOutputs {\n       .filter { $0 == .tab(.login) }\n       .ignoreValues()\n \n+    self.goToCreatorMessageThread = deepLink\n+      .map { navigation -> (Param, Int)? in\n+        guard case let .creatorMessages(projectId, messageThreadId) = navigation else { return nil }\n+        return .some((projectId, messageThreadId: messageThreadId))\n+      }\n+      .skipNil()\n+      .switchMap { projectId, messageThreadId in\n+        AppEnvironment.current.apiService.fetchMessageThread(messageThreadId: messageThreadId)\n+          .demoteErrors()\n+          .map { (env: MessageThreadEnvelope) in","path":"Kickstarter-iOS/ViewModels/AppDelegateViewModel.swift","position":23,"original_position":23,"commit_id":"23281b44a3c16bdcd67041bc7ab48681b82e7154","original_commit_id":"aea060eae7432ecb9251490efa8c4578e39e2e0f","user":{"login":"bormind","id":1187468,"avatar_url":"https://avatars3.githubusercontent.com/u/1187468?v=4","gravatar_id":"","url":"https://api.github.com/users/bormind","html_url":"https://github.com/bormind","followers_url":"https://api.github.com/users/bormind/followers","following_url":"https://api.github.com/users/bormind/following{/other_user}","gists_url":"https://api.github.com/users/bormind/gists{/gist_id}","starred_url":"https://api.github.com/users/bormind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bormind/subscriptions","organizations_url":"https://api.github.com/users/bormind/orgs","repos_url":"https://api.github.com/users/bormind/repos","events_url":"https://api.github.com/users/bormind/events{/privacy}","received_events_url":"https://api.github.com/users/bormind/received_events","type":"User","site_admin":false},"body":"Sorry my bad - I probably created it while tying analyze the code. I will remove it","created_at":"2017-08-03T20:56:48Z","updated_at":"2017-08-03T20:56:48Z","html_url":"https://github.com/kickstarter/ios-oss/pull/215#discussion_r131257681","pull_request_url":"https://api.github.com/repos/kickstarter/ios-oss/pulls/215","_links":{"self":{"href":"https://api.github.com/repos/kickstarter/ios-oss/pulls/comments/131257681"},"html":{"href":"https://github.com/kickstarter/ios-oss/pull/215#discussion_r131257681"},"pull_request":{"href":"https://api.github.com/repos/kickstarter/ios-oss/pulls/215"}}},"pull_request":{"url":"https://api.github.com/repos/kickstarter/ios-oss/pulls/215","id":133804120,"html_url":"https://github.com/kickstarter/ios-oss/pull/215","diff_url":"https://github.com/kickstarter/ios-oss/pull/215.diff","patch_url":"https://github.com/kickstarter/ios-oss/pull/215.patch","issue_url":"https://api.github.com/repos/kickstarter/ios-oss/issues/215","number":215,"state":"open","locked":false,"title":"Creator message notification","user":{"login":"bormind","id":1187468,"avatar_url":"https://avatars3.githubusercontent.com/u/1187468?v=4","gravatar_id":"","url":"https://api.github.com/users/bormind","html_url":"https://github.com/bormind","followers_url":"https://api.github.com/users/bormind/followers","following_url":"https://api.github.com/users/bormind/following{/other_user}","gists_url":"https://api.github.com/users/bormind/gists{/gist_id}","starred_url":"https://api.github.com/users/bormind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bormind/subscriptions","organizations_url":"https://api.github.com/users/bormind/orgs","repos_url":"https://api.github.com/users/bormind/repos","events_url":"https://api.github.com/users/bormind/events{/privacy}","received_events_url":"https://api.github.com/users/bormind/received_events","type":"User","site_admin":false},"body":"\r\n# What\r\n\r\nClicking on new message push notification for creator navigates to the corresponding message thread\r\n\r\n# How\r\n\r\nCreated new `case creatorMessages(Param, messageThreadId: Int)` navigation node\r\nCreated new input and output in `DashboardViewModel` to control the navigation to the message thread\r\nAltered signal combination logic in the `DashboardViewModel` to accommodate the new navigation behaviour.\r\n\r\n# See 👀\r\n![messagepush](https://user-images.githubusercontent.com/1187468/28893753-76b24cd4-7787-11e7-9730-1e0b574e473a.gif)\r\n\r\n[Trello](https://trello.com/c/eTFZ84SC/367-update-creator-message-notification-path)\r\n\r\n# TODO ⏰\r\n\r\nWas not able to test the functionality on real device. Do we have a facility for pushing notifications using development profile?\r\n\r\nNew navigation node was created but no corresponding navigation rout. Not sure if we need the rout for the push target.\r\n\r\nNo extra Koala tracking was implemented for this functionality. Will ask Katie about expected level of tracking to the message push  \r\n","created_at":"2017-08-02T20:43:49Z","updated_at":"2017-08-03T20:56:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6837b60652df934e3cc933015d82d3063627657","assignee":null,"assignees":[],"requested_reviewers":[{"login":"stephencelis","id":658,"avatar_url":"https://avatars0.githubusercontent.com/u/658?v=4","gravatar_id":"","url":"https://api.github.com/users/stephencelis","html_url":"https://github.com/stephencelis","followers_url":"https://api.github.com/users/stephencelis/followers","following_url":"https://api.github.com/users/stephencelis/following{/other_user}","gists_url":"https://api.github.com/users/stephencelis/gists{/gist_id}","starred_url":"https://api.github.com/users/stephencelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephencelis/subscriptions","organizations_url":"https://api.github.com/users/stephencelis/orgs","repos_url":"https://api.github.com/users/stephencelis/repos","events_url":"https://api.github.com/users/stephencelis/events{/privacy}","received_events_url":"https://api.github.com/users/stephencelis/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kickstarter/ios-oss/pulls/215/commits","review_comments_url":"https://api.github.com/repos/kickstarter/ios-oss/pulls/215/comments","review_comment_url":"https://api.github.com/repos/kickstarter/ios-oss/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kickstarter/ios-oss/issues/215/comments","statuses_url":"https://api.github.com/repos/kickstarter/ios-oss/statuses/23281b44a3c16bdcd67041bc7ab48681b82e7154","head":{"label":"kickstarter:creator_message_notification_1","ref":"creator_message_notification_1","sha":"23281b44a3c16bdcd67041bc7ab48681b82e7154","user":{"login":"kickstarter","id":120676,"avatar_url":"https://avatars1.githubusercontent.com/u/120676?v=4","gravatar_id":"","url":"https://api.github.com/users/kickstarter","html_url":"https://github.com/kickstarter","followers_url":"https://api.github.com/users/kickstarter/followers","following_url":"https://api.github.com/users/kickstarter/following{/other_user}","gists_url":"https://api.github.com/users/kickstarter/gists{/gist_id}","starred_url":"https://api.github.com/users/kickstarter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kickstarter/subscriptions","organizations_url":"https://api.github.com/users/kickstarter/orgs","repos_url":"https://api.github.com/users/kickstarter/repos","events_url":"https://api.github.com/users/kickstarter/events{/privacy}","received_events_url":"https://api.github.com/users/kickstarter/received_events","type":"Organization","site_admin":false},"repo":{"id":75432091,"name":"ios-oss","full_name":"kickstarter/ios-oss","owner":{"login":"kickstarter","id":120676,"avatar_url":"https://avatars1.githubusercontent.com/u/120676?v=4","gravatar_id":"","url":"https://api.github.com/users/kickstarter","html_url":"https://github.com/kickstarter","followers_url":"https://api.github.com/users/kickstarter/followers","following_url":"https://api.github.com/users/kickstarter/following{/other_user}","gists_url":"https://api.github.com/users/kickstarter/gists{/gist_id}","starred_url":"https://api.github.com/users/kickstarter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kickstarter/subscriptions","organizations_url":"https://api.github.com/users/kickstarter/orgs","repos_url":"https://api.github.com/users/kickstarter/repos","events_url":"https://api.github.com/users/kickstarter/events{/privacy}","received_events_url":"https://api.github.com/users/kickstarter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kickstarter/ios-oss","description":"Kickstarter for iOS. Bring new ideas to life, anywhere.","fork":false,"url":"https://api.github.com/repos/kickstarter/ios-oss","forks_url":"https://api.github.com/repos/kickstarter/ios-oss/forks","keys_url":"https://api.github.com/repos/kickstarter/ios-oss/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kickstarter/ios-oss/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kickstarter/ios-oss/teams","hooks_url":"https://api.github.com/repos/kickstarter/ios-oss/hooks","issue_events_url":"https://api.github.com/repos/kickstarter/ios-oss/issues/events{/number}","events_url":"https://api.github.com/repos/kickstarter/ios-oss/events","assignees_url":"https://api.github.com/repos/kickstarter/ios-oss/assignees{/user}","branches_url":"https://api.github.com/repos/kickstarter/ios-oss/branches{/branch}","tags_url":"https://api.github.com/repos/kickstarter/ios-oss/tags","blobs_url":"https://api.github.com/repos/kickstarter/ios-oss/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kickstarter/ios-oss/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kickstarter/ios-oss/git/refs{/sha}","trees_url":"https://api.github.com/repos/kickstarter/ios-oss/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kickstarter/ios-oss/statuses/{sha}","languages_url":"https://api.github.com/repos/kickstarter/ios-oss/languages","stargazers_url":"https://api.github.com/repos/kickstarter/ios-oss/stargazers","contributors_url":"https://api.github.com/repos/kickstarter/ios-oss/contributors","subscribers_url":"https://api.github.com/repos/kickstarter/ios-oss/subscribers","subscription_url":"https://api.github.com/repos/kickstarter/ios-oss/subscription","commits_url":"https://api.github.com/repos/kickstarter/ios-oss/commits{/sha}","git_commits_url":"https://api.github.com/repos/kickstarter/ios-oss/git/commits{/sha}","comments_url":"https://api.github.com/repos/kickstarter/ios-oss/comments{/number}","issue_comment_url":"https://api.github.com/repos/kickstarter/ios-oss/issues/comments{/number}","contents_url":"https://api.github.com/repos/kickstarter/ios-oss/contents/{+path}","compare_url":"https://api.github.com/repos/kickstarter/ios-oss/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kickstarter/ios-oss/merges","archive_url":"https://api.github.com/repos/kickstarter/ios-oss/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kickstarter/ios-oss/downloads","issues_url":"https://api.github.com/repos/kickstarter/ios-oss/issues{/number}","pulls_url":"https://api.github.com/repos/kickstarter/ios-oss/pulls{/number}","milestones_url":"https://api.github.com/repos/kickstarter/ios-oss/milestones{/number}","notifications_url":"https://api.github.com/repos/kickstarter/ios-oss/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kickstarter/ios-oss/labels{/name}","releases_url":"https://api.github.com/repos/kickstarter/ios-oss/releases{/id}","deployments_url":"https://api.github.com/repos/kickstarter/ios-oss/deployments","created_at":"2016-12-02T21:24:40Z","updated_at":"2017-08-03T19:25:50Z","pushed_at":"2017-08-03T20:38:12Z","git_url":"git://github.com/kickstarter/ios-oss.git","ssh_url":"git@github.com:kickstarter/ios-oss.git","clone_url":"https://github.com/kickstarter/ios-oss.git","svn_url":"https://github.com/kickstarter/ios-oss","homepage":"https://www.kickstarter.com/mobile","size":716534,"stargazers_count":4985,"watchers_count":4985,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":673,"mirror_url":null,"open_issues_count":3,"forks":673,"open_issues":3,"watchers":4985,"default_branch":"master"}},"base":{"label":"kickstarter:master","ref":"master","sha":"d3bdd90d8bb70ccaae8b27566124200474d99243","user":{"login":"kickstarter","id":120676,"avatar_url":"https://avatars1.githubusercontent.com/u/120676?v=4","gravatar_id":"","url":"https://api.github.com/users/kickstarter","html_url":"https://github.com/kickstarter","followers_url":"https://api.github.com/users/kickstarter/followers","following_url":"https://api.github.com/users/kickstarter/following{/other_user}","gists_url":"https://api.github.com/users/kickstarter/gists{/gist_id}","starred_url":"https://api.github.com/users/kickstarter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kickstarter/subscriptions","organizations_url":"https://api.github.com/users/kickstarter/orgs","repos_url":"https://api.github.com/users/kickstarter/repos","events_url":"https://api.github.com/users/kickstarter/events{/privacy}","received_events_url":"https://api.github.com/users/kickstarter/received_events","type":"Organization","site_admin":false},"repo":{"id":75432091,"name":"ios-oss","full_name":"kickstarter/ios-oss","owner":{"login":"kickstarter","id":120676,"avatar_url":"https://avatars1.githubusercontent.com/u/120676?v=4","gravatar_id":"","url":"https://api.github.com/users/kickstarter","html_url":"https://github.com/kickstarter","followers_url":"https://api.github.com/users/kickstarter/followers","following_url":"https://api.github.com/users/kickstarter/following{/other_user}","gists_url":"https://api.github.com/users/kickstarter/gists{/gist_id}","starred_url":"https://api.github.com/users/kickstarter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kickstarter/subscriptions","organizations_url":"https://api.github.com/users/kickstarter/orgs","repos_url":"https://api.github.com/users/kickstarter/repos","events_url":"https://api.github.com/users/kickstarter/events{/privacy}","received_events_url":"https://api.github.com/users/kickstarter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kickstarter/ios-oss","description":"Kickstarter for iOS. Bring new ideas to life, anywhere.","fork":false,"url":"https://api.github.com/repos/kickstarter/ios-oss","forks_url":"https://api.github.com/repos/kickstarter/ios-oss/forks","keys_url":"https://api.github.com/repos/kickstarter/ios-oss/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kickstarter/ios-oss/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kickstarter/ios-oss/teams","hooks_url":"https://api.github.com/repos/kickstarter/ios-oss/hooks","issue_events_url":"https://api.github.com/repos/kickstarter/ios-oss/issues/events{/number}","events_url":"https://api.github.com/repos/kickstarter/ios-oss/events","assignees_url":"https://api.github.com/repos/kickstarter/ios-oss/assignees{/user}","branches_url":"https://api.github.com/repos/kickstarter/ios-oss/branches{/branch}","tags_url":"https://api.github.com/repos/kickstarter/ios-oss/tags","blobs_url":"https://api.github.com/repos/kickstarter/ios-oss/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kickstarter/ios-oss/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kickstarter/ios-oss/git/refs{/sha}","trees_url":"https://api.github.com/repos/kickstarter/ios-oss/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kickstarter/ios-oss/statuses/{sha}","languages_url":"https://api.github.com/repos/kickstarter/ios-oss/languages","stargazers_url":"https://api.github.com/repos/kickstarter/ios-oss/stargazers","contributors_url":"https://api.github.com/repos/kickstarter/ios-oss/contributors","subscribers_url":"https://api.github.com/repos/kickstarter/ios-oss/subscribers","subscription_url":"https://api.github.com/repos/kickstarter/ios-oss/subscription","commits_url":"https://api.github.com/repos/kickstarter/ios-oss/commits{/sha}","git_commits_url":"https://api.github.com/repos/kickstarter/ios-oss/git/commits{/sha}","comments_url":"https://api.github.com/repos/kickstarter/ios-oss/comments{/number}","issue_comment_url":"https://api.github.com/repos/kickstarter/ios-oss/issues/comments{/number}","contents_url":"https://api.github.com/repos/kickstarter/ios-oss/contents/{+path}","compare_url":"https://api.github.com/repos/kickstarter/ios-oss/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kickstarter/ios-oss/merges","archive_url":"https://api.github.com/repos/kickstarter/ios-oss/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kickstarter/ios-oss/downloads","issues_url":"https://api.github.com/repos/kickstarter/ios-oss/issues{/number}","pulls_url":"https://api.github.com/repos/kickstarter/ios-oss/pulls{/number}","milestones_url":"https://api.github.com/repos/kickstarter/ios-oss/milestones{/number}","notifications_url":"https://api.github.com/repos/kickstarter/ios-oss/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kickstarter/ios-oss/labels{/name}","releases_url":"https://api.github.com/repos/kickstarter/ios-oss/releases{/id}","deployments_url":"https://api.github.com/repos/kickstarter/ios-oss/deployments","created_at":"2016-12-02T21:24:40Z","updated_at":"2017-08-03T19:25:50Z","pushed_at":"2017-08-03T20:38:12Z","git_url":"git://github.com/kickstarter/ios-oss.git","ssh_url":"git@github.com:kickstarter/ios-oss.git","clone_url":"https://github.com/kickstarter/ios-oss.git","svn_url":"https://github.com/kickstarter/ios-oss","homepage":"https://www.kickstarter.com/mobile","size":716534,"stargazers_count":4985,"watchers_count":4985,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":673,"mirror_url":null,"open_issues_count":3,"forks":673,"open_issues":3,"watchers":4985,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kickstarter/ios-oss/pulls/215"},"html":{"href":"https://github.com/kickstarter/ios-oss/pull/215"},"issue":{"href":"https://api.github.com/repos/kickstarter/ios-oss/issues/215"},"comments":{"href":"https://api.github.com/repos/kickstarter/ios-oss/issues/215/comments"},"review_comments":{"href":"https://api.github.com/repos/kickstarter/ios-oss/pulls/215/comments"},"review_comment":{"href":"https://api.github.com/repos/kickstarter/ios-oss/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kickstarter/ios-oss/pulls/215/commits"},"statuses":{"href":"https://api.github.com/repos/kickstarter/ios-oss/statuses/23281b44a3c16bdcd67041bc7ab48681b82e7154"}}}}
{"actor":{"display_login":"bormind"}}