{"action":"created","comment":{"url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/comments/220943244","pull_request_review_id":159470913,"id":220943244,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMDk0MzI0NA==","diff_hunk":"@@ -0,0 +1,238 @@\n+import types from '../actions/actionTypes';\n+\n+const {\n+  GET_ARTICLES, UPDATE_ACTIVE_PAGE, GET_CATEGORIES,\n+  GET_TOP_RATED, GET_FEED, GET_FAVORITE_ARTICLES,\n+  DISPLAY_NEXT_FAVORITE_ARTICLE,\n+} = types;\n+\n+export const initialArticlesState = {\n+  isLoading: false,\n+  errors: {\n+    statusCode: 0,\n+    message: '',\n+    response: {},\n+  },\n+  limit: 4,\n+  activePage: 1,\n+  articlesCount: 0,\n+  articles: {},","path":"src/reducers/articlesReducer.js","position":19,"original_position":19,"commit_id":"977f243e195f81f9f5d34fcb7f835b20c49bc270","original_commit_id":"977f243e195f81f9f5d34fcb7f835b20c49bc270","user":{"login":"JCanaks","id":26818808,"node_id":"MDQ6VXNlcjI2ODE4ODA4","avatar_url":"https://avatars0.githubusercontent.com/u/26818808?v=4","gravatar_id":"","url":"https://api.github.com/users/JCanaks","html_url":"https://github.com/JCanaks","followers_url":"https://api.github.com/users/JCanaks/followers","following_url":"https://api.github.com/users/JCanaks/following{/other_user}","gists_url":"https://api.github.com/users/JCanaks/gists{/gist_id}","starred_url":"https://api.github.com/users/JCanaks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCanaks/subscriptions","organizations_url":"https://api.github.com/users/JCanaks/orgs","repos_url":"https://api.github.com/users/JCanaks/repos","events_url":"https://api.github.com/users/JCanaks/events{/privacy}","received_events_url":"https://api.github.com/users/JCanaks/received_events","type":"User","site_admin":false},"body":"can rename this to featured articles. There is already an articles variable to avoid clashes","created_at":"2018-09-27T14:20:40Z","updated_at":"2018-09-27T14:20:40Z","html_url":"https://github.com/andela/rivendell-ah-client/pull/28#discussion_r220943244","pull_request_url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/28","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/comments/220943244"},"html":{"href":"https://github.com/andela/rivendell-ah-client/pull/28#discussion_r220943244"},"pull_request":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/28","id":218456669,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4NDU2NjY5","html_url":"https://github.com/andela/rivendell-ah-client/pull/28","diff_url":"https://github.com/andela/rivendell-ah-client/pull/28.diff","patch_url":"https://github.com/andela/rivendell-ah-client/pull/28.patch","issue_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues/28","number":28,"state":"open","locked":false,"title":"#160056380 Implement homepage and pagination","user":{"login":"megame24","id":30550427,"node_id":"MDQ6VXNlcjMwNTUwNDI3","avatar_url":"https://avatars3.githubusercontent.com/u/30550427?v=4","gravatar_id":"","url":"https://api.github.com/users/megame24","html_url":"https://github.com/megame24","followers_url":"https://api.github.com/users/megame24/followers","following_url":"https://api.github.com/users/megame24/following{/other_user}","gists_url":"https://api.github.com/users/megame24/gists{/gist_id}","starred_url":"https://api.github.com/users/megame24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megame24/subscriptions","organizations_url":"https://api.github.com/users/megame24/orgs","repos_url":"https://api.github.com/users/megame24/repos","events_url":"https://api.github.com/users/megame24/events{/privacy}","received_events_url":"https://api.github.com/users/megame24/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nImplement homepage and pagination of articles\r\n\r\n#### Description of Task to be completed?\r\n- implement pagination\r\n- design homepage for non-logged in users\r\n- design homepage for logged in users\r\n- write tests\r\n\r\n#### How should this be manually tested?\r\n- run `npm install`\r\n- run `npm test`\r\n\r\n#### Any background context you want to provide?\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n##160056380\r\n\r\n#### Screenshots (if appropriate)\r\n<img width=\"1202\" alt=\"screen shot 2018-09-26 at 9 54 50 pm\" src=\"https://user-images.githubusercontent.com/30550427/46109534-d080d180-c1d8-11e8-9e09-eab72f29f627.png\">\r\n<img width=\"1091\" alt=\"screen shot 2018-09-26 at 9 55 02 pm\" src=\"https://user-images.githubusercontent.com/30550427/46109622-08881480-c1d9-11e8-8123-55768e25ad50.png\">\r\n<img width=\"1176\" alt=\"screen shot 2018-09-26 at 9 55 15 pm\" src=\"https://user-images.githubusercontent.com/30550427/46109667-340aff00-c1d9-11e8-819c-0c40122cbc51.png\">\r\n\r\n\r\n#### Questions:\r\nN/A\r\n","created_at":"2018-09-26T21:13:00Z","updated_at":"2018-09-27T14:20:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7808b279b68da29a69601bd2552970b7ec4519a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/28/commits","review_comments_url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/28/comments","review_comment_url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues/28/comments","statuses_url":"https://api.github.com/repos/andela/rivendell-ah-client/statuses/977f243e195f81f9f5d34fcb7f835b20c49bc270","head":{"label":"andela:feature/160056380/homepage-and-pagination-for-articles","ref":"feature/160056380/homepage-and-pagination-for-articles","sha":"977f243e195f81f9f5d34fcb7f835b20c49bc270","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":146319768,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYzMTk3Njg=","name":"rivendell-ah-client","full_name":"andela/rivendell-ah-client","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/rivendell-ah-client","description":null,"fork":false,"url":"https://api.github.com/repos/andela/rivendell-ah-client","forks_url":"https://api.github.com/repos/andela/rivendell-ah-client/forks","keys_url":"https://api.github.com/repos/andela/rivendell-ah-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/rivendell-ah-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/rivendell-ah-client/teams","hooks_url":"https://api.github.com/repos/andela/rivendell-ah-client/hooks","issue_events_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues/events{/number}","events_url":"https://api.github.com/repos/andela/rivendell-ah-client/events","assignees_url":"https://api.github.com/repos/andela/rivendell-ah-client/assignees{/user}","branches_url":"https://api.github.com/repos/andela/rivendell-ah-client/branches{/branch}","tags_url":"https://api.github.com/repos/andela/rivendell-ah-client/tags","blobs_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/rivendell-ah-client/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/rivendell-ah-client/languages","stargazers_url":"https://api.github.com/repos/andela/rivendell-ah-client/stargazers","contributors_url":"https://api.github.com/repos/andela/rivendell-ah-client/contributors","subscribers_url":"https://api.github.com/repos/andela/rivendell-ah-client/subscribers","subscription_url":"https://api.github.com/repos/andela/rivendell-ah-client/subscription","commits_url":"https://api.github.com/repos/andela/rivendell-ah-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/rivendell-ah-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/rivendell-ah-client/contents/{+path}","compare_url":"https://api.github.com/repos/andela/rivendell-ah-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/rivendell-ah-client/merges","archive_url":"https://api.github.com/repos/andela/rivendell-ah-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/rivendell-ah-client/downloads","issues_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues{/number}","pulls_url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/rivendell-ah-client/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/rivendell-ah-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/rivendell-ah-client/labels{/name}","releases_url":"https://api.github.com/repos/andela/rivendell-ah-client/releases{/id}","deployments_url":"https://api.github.com/repos/andela/rivendell-ah-client/deployments","created_at":"2018-08-27T15:49:06Z","updated_at":"2018-09-27T11:17:26Z","pushed_at":"2018-09-27T14:06:08Z","git_url":"git://github.com/andela/rivendell-ah-client.git","ssh_url":"git@github.com:andela/rivendell-ah-client.git","clone_url":"https://github.com/andela/rivendell-ah-client.git","svn_url":"https://github.com/andela/rivendell-ah-client","homepage":null,"size":5243,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":8,"license":null,"forks":0,"open_issues":8,"watchers":1,"default_branch":"staging"}},"base":{"label":"andela:staging","ref":"staging","sha":"460e8ffab726841fea06407db0882700b4f37755","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":146319768,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYzMTk3Njg=","name":"rivendell-ah-client","full_name":"andela/rivendell-ah-client","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/rivendell-ah-client","description":null,"fork":false,"url":"https://api.github.com/repos/andela/rivendell-ah-client","forks_url":"https://api.github.com/repos/andela/rivendell-ah-client/forks","keys_url":"https://api.github.com/repos/andela/rivendell-ah-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/rivendell-ah-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/rivendell-ah-client/teams","hooks_url":"https://api.github.com/repos/andela/rivendell-ah-client/hooks","issue_events_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues/events{/number}","events_url":"https://api.github.com/repos/andela/rivendell-ah-client/events","assignees_url":"https://api.github.com/repos/andela/rivendell-ah-client/assignees{/user}","branches_url":"https://api.github.com/repos/andela/rivendell-ah-client/branches{/branch}","tags_url":"https://api.github.com/repos/andela/rivendell-ah-client/tags","blobs_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/rivendell-ah-client/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/rivendell-ah-client/languages","stargazers_url":"https://api.github.com/repos/andela/rivendell-ah-client/stargazers","contributors_url":"https://api.github.com/repos/andela/rivendell-ah-client/contributors","subscribers_url":"https://api.github.com/repos/andela/rivendell-ah-client/subscribers","subscription_url":"https://api.github.com/repos/andela/rivendell-ah-client/subscription","commits_url":"https://api.github.com/repos/andela/rivendell-ah-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/rivendell-ah-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/rivendell-ah-client/contents/{+path}","compare_url":"https://api.github.com/repos/andela/rivendell-ah-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/rivendell-ah-client/merges","archive_url":"https://api.github.com/repos/andela/rivendell-ah-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/rivendell-ah-client/downloads","issues_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues{/number}","pulls_url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/rivendell-ah-client/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/rivendell-ah-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/rivendell-ah-client/labels{/name}","releases_url":"https://api.github.com/repos/andela/rivendell-ah-client/releases{/id}","deployments_url":"https://api.github.com/repos/andela/rivendell-ah-client/deployments","created_at":"2018-08-27T15:49:06Z","updated_at":"2018-09-27T11:17:26Z","pushed_at":"2018-09-27T14:06:08Z","git_url":"git://github.com/andela/rivendell-ah-client.git","ssh_url":"git@github.com:andela/rivendell-ah-client.git","clone_url":"https://github.com/andela/rivendell-ah-client.git","svn_url":"https://github.com/andela/rivendell-ah-client","homepage":null,"size":5243,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":8,"license":null,"forks":0,"open_issues":8,"watchers":1,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/28"},"html":{"href":"https://github.com/andela/rivendell-ah-client/pull/28"},"issue":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/issues/28"},"comments":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/statuses/977f243e195f81f9f5d34fcb7f835b20c49bc270"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"JCanaks"}}