{"action":"created","comment":{"url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/comments/210539320","pull_request_review_id":146770728,"id":210539320,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMDUzOTMyMA==","diff_hunk":"@@ -0,0 +1,142 @@\n+import * as React from 'react';\n+import { compose } from 'recompose';\n+import { withData as withOrbit, WithDataProps } from 'react-orbitjs';\n+import { TYPE_NAME as NOTIFICATION, NotificationAttributes } from '@data/models/notification';\n+import { query, defaultSourceOptions } from '@data';\n+import { withStubbedDevData } from '@data/with-stubbed-dev-data';\n+import { uuid } from '@orbit/utils';\n+\n+// const mapNetworkToProps = (passedProps) => {","path":"source/SIL.AppBuilder.Portal.Frontend/src/ui/components/header/notifications/data.tsx","position":9,"original_position":9,"commit_id":"fc819e742f5c718fdc4774e286c7d458178381f9","original_commit_id":"fc819e742f5c718fdc4774e286c7d458178381f9","user":{"login":"NullVoxPopuli","id":199018,"node_id":"MDQ6VXNlcjE5OTAxOA==","avatar_url":"https://avatars1.githubusercontent.com/u/199018?v=4","gravatar_id":"","url":"https://api.github.com/users/NullVoxPopuli","html_url":"https://github.com/NullVoxPopuli","followers_url":"https://api.github.com/users/NullVoxPopuli/followers","following_url":"https://api.github.com/users/NullVoxPopuli/following{/other_user}","gists_url":"https://api.github.com/users/NullVoxPopuli/gists{/gist_id}","starred_url":"https://api.github.com/users/NullVoxPopuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NullVoxPopuli/subscriptions","organizations_url":"https://api.github.com/users/NullVoxPopuli/orgs","repos_url":"https://api.github.com/users/NullVoxPopuli/repos","events_url":"https://api.github.com/users/NullVoxPopuli/events{/privacy}","received_events_url":"https://api.github.com/users/NullVoxPopuli/received_events","type":"User","site_admin":false},"body":"or add a note to use this when we have an api endpoint to pull notifications from","created_at":"2018-08-16T09:55:35Z","updated_at":"2018-08-16T09:57:35Z","html_url":"https://github.com/sillsdev/appbuilder-portal/pull/82#discussion_r210539320","pull_request_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/82","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/comments/210539320"},"html":{"href":"https://github.com/sillsdev/appbuilder-portal/pull/82#discussion_r210539320"},"pull_request":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/82"}},"in_reply_to_id":210536947},"pull_request":{"url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/82","id":208740269,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NzQwMjY5","html_url":"https://github.com/sillsdev/appbuilder-portal/pull/82","diff_url":"https://github.com/sillsdev/appbuilder-portal/pull/82.diff","patch_url":"https://github.com/sillsdev/appbuilder-portal/pull/82.patch","issue_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/82","number":82,"state":"open","locked":false,"title":"Notification refactor and seen/not seen bugfix","user":{"login":"giancorzo","id":501129,"node_id":"MDQ6VXNlcjUwMTEyOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/501129?v=4","gravatar_id":"","url":"https://api.github.com/users/giancorzo","html_url":"https://github.com/giancorzo","followers_url":"https://api.github.com/users/giancorzo/followers","following_url":"https://api.github.com/users/giancorzo/following{/other_user}","gists_url":"https://api.github.com/users/giancorzo/gists{/gist_id}","starred_url":"https://api.github.com/users/giancorzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giancorzo/subscriptions","organizations_url":"https://api.github.com/users/giancorzo/orgs","repos_url":"https://api.github.com/users/giancorzo/repos","events_url":"https://api.github.com/users/giancorzo/events{/privacy}","received_events_url":"https://api.github.com/users/giancorzo/received_events","type":"User","site_admin":false},"body":"I extract getting notification data and operations to a HOC withData so now it will be easy to connect to the API.\r\n\r\nOther improvements can be performed later like\r\n- Create a drop-down component\r\n- Create a Notification item component\r\n- Improve sorting functionality\r\n- Improve functions name\r\n\r\n","created_at":"2018-08-16T04:06:20Z","updated_at":"2018-08-16T09:57:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f6becccc6fca244240e76c4b838d566a3e835f9e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/82/commits","review_comments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/82/comments","review_comment_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/82/comments","statuses_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/statuses/fc819e742f5c718fdc4774e286c7d458178381f9","head":{"label":"sillsdev:improvement/notification-refactor","ref":"improvement/notification-refactor","sha":"fc819e742f5c718fdc4774e286c7d458178381f9","user":{"login":"sillsdev","id":1095739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTU3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1095739?v=4","gravatar_id":"","url":"https://api.github.com/users/sillsdev","html_url":"https://github.com/sillsdev","followers_url":"https://api.github.com/users/sillsdev/followers","following_url":"https://api.github.com/users/sillsdev/following{/other_user}","gists_url":"https://api.github.com/users/sillsdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sillsdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sillsdev/subscriptions","organizations_url":"https://api.github.com/users/sillsdev/orgs","repos_url":"https://api.github.com/users/sillsdev/repos","events_url":"https://api.github.com/users/sillsdev/events{/privacy}","received_events_url":"https://api.github.com/users/sillsdev/received_events","type":"Organization","site_admin":false},"repo":{"id":137372479,"node_id":"MDEwOlJlcG9zaXRvcnkxMzczNzI0Nzk=","name":"appbuilder-portal","full_name":"sillsdev/appbuilder-portal","owner":{"login":"sillsdev","id":1095739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTU3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1095739?v=4","gravatar_id":"","url":"https://api.github.com/users/sillsdev","html_url":"https://github.com/sillsdev","followers_url":"https://api.github.com/users/sillsdev/followers","following_url":"https://api.github.com/users/sillsdev/following{/other_user}","gists_url":"https://api.github.com/users/sillsdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sillsdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sillsdev/subscriptions","organizations_url":"https://api.github.com/users/sillsdev/orgs","repos_url":"https://api.github.com/users/sillsdev/repos","events_url":"https://api.github.com/users/sillsdev/events{/privacy}","received_events_url":"https://api.github.com/users/sillsdev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sillsdev/appbuilder-portal","description":"Portal for Scriptoria -- App Publishing Service","fork":false,"url":"https://api.github.com/repos/sillsdev/appbuilder-portal","forks_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/forks","keys_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/teams","hooks_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/hooks","issue_events_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/events{/number}","events_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/events","assignees_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/assignees{/user}","branches_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/branches{/branch}","tags_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/tags","blobs_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/languages","stargazers_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/stargazers","contributors_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/contributors","subscribers_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/subscribers","subscription_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/subscription","commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/contents/{+path}","compare_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/merges","archive_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/downloads","issues_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues{/number}","pulls_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/labels{/name}","releases_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/releases{/id}","deployments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/deployments","created_at":"2018-06-14T14:55:18Z","updated_at":"2018-08-15T13:52:56Z","pushed_at":"2018-08-16T09:46:08Z","git_url":"git://github.com/sillsdev/appbuilder-portal.git","ssh_url":"git@github.com:sillsdev/appbuilder-portal.git","clone_url":"https://github.com/sillsdev/appbuilder-portal.git","svn_url":"https://github.com/sillsdev/appbuilder-portal","homepage":"","size":4554,"stargazers_count":3,"watchers_count":3,"language":"TypeScript","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":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":6,"watchers":3,"default_branch":"master"}},"base":{"label":"sillsdev:master","ref":"master","sha":"facc5d639a12735cb803c20a27c7ae5309ce24bd","user":{"login":"sillsdev","id":1095739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTU3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1095739?v=4","gravatar_id":"","url":"https://api.github.com/users/sillsdev","html_url":"https://github.com/sillsdev","followers_url":"https://api.github.com/users/sillsdev/followers","following_url":"https://api.github.com/users/sillsdev/following{/other_user}","gists_url":"https://api.github.com/users/sillsdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sillsdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sillsdev/subscriptions","organizations_url":"https://api.github.com/users/sillsdev/orgs","repos_url":"https://api.github.com/users/sillsdev/repos","events_url":"https://api.github.com/users/sillsdev/events{/privacy}","received_events_url":"https://api.github.com/users/sillsdev/received_events","type":"Organization","site_admin":false},"repo":{"id":137372479,"node_id":"MDEwOlJlcG9zaXRvcnkxMzczNzI0Nzk=","name":"appbuilder-portal","full_name":"sillsdev/appbuilder-portal","owner":{"login":"sillsdev","id":1095739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTU3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1095739?v=4","gravatar_id":"","url":"https://api.github.com/users/sillsdev","html_url":"https://github.com/sillsdev","followers_url":"https://api.github.com/users/sillsdev/followers","following_url":"https://api.github.com/users/sillsdev/following{/other_user}","gists_url":"https://api.github.com/users/sillsdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sillsdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sillsdev/subscriptions","organizations_url":"https://api.github.com/users/sillsdev/orgs","repos_url":"https://api.github.com/users/sillsdev/repos","events_url":"https://api.github.com/users/sillsdev/events{/privacy}","received_events_url":"https://api.github.com/users/sillsdev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sillsdev/appbuilder-portal","description":"Portal for Scriptoria -- App Publishing Service","fork":false,"url":"https://api.github.com/repos/sillsdev/appbuilder-portal","forks_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/forks","keys_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/teams","hooks_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/hooks","issue_events_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/events{/number}","events_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/events","assignees_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/assignees{/user}","branches_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/branches{/branch}","tags_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/tags","blobs_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/languages","stargazers_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/stargazers","contributors_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/contributors","subscribers_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/subscribers","subscription_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/subscription","commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/contents/{+path}","compare_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/merges","archive_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/downloads","issues_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues{/number}","pulls_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/labels{/name}","releases_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/releases{/id}","deployments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/deployments","created_at":"2018-06-14T14:55:18Z","updated_at":"2018-08-15T13:52:56Z","pushed_at":"2018-08-16T09:46:08Z","git_url":"git://github.com/sillsdev/appbuilder-portal.git","ssh_url":"git@github.com:sillsdev/appbuilder-portal.git","clone_url":"https://github.com/sillsdev/appbuilder-portal.git","svn_url":"https://github.com/sillsdev/appbuilder-portal","homepage":"","size":4554,"stargazers_count":3,"watchers_count":3,"language":"TypeScript","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":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/82"},"html":{"href":"https://github.com/sillsdev/appbuilder-portal/pull/82"},"issue":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/82"},"comments":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/statuses/fc819e742f5c718fdc4774e286c7d458178381f9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"NullVoxPopuli"}}