{"action":"created","comment":{"url":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/comments/227714390","pull_request_review_id":167814919,"id":227714390,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzcxNDM5MA==","diff_hunk":"@@ -24,7 +24,7 @@ const AddAssetSpecComponent = (props) => {\n   return (\n     <Form onSubmit={props.handleSubmit}>\n       <Form.Field>\n-        <label htmlFor=\"year_of_manufacture\" className=\"label-style\">Year of Manufacture</label>\n+        <div className=\"label-style\">Year Of Manufacture</div>","path":"src/components/AssetSpecs/AddAssetSpecComponent.jsx","position":5,"original_position":5,"commit_id":"dfbcef3f23f0c2e0550689a4105f65e63d355527","original_commit_id":"c56907f8db4c6f6dc2fefd155984487b8817480c","user":{"login":"Arthur236","id":31339738,"node_id":"MDQ6VXNlcjMxMzM5NzM4","avatar_url":"https://avatars0.githubusercontent.com/u/31339738?v=4","gravatar_id":"","url":"https://api.github.com/users/Arthur236","html_url":"https://github.com/Arthur236","followers_url":"https://api.github.com/users/Arthur236/followers","following_url":"https://api.github.com/users/Arthur236/following{/other_user}","gists_url":"https://api.github.com/users/Arthur236/gists{/gist_id}","starred_url":"https://api.github.com/users/Arthur236/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arthur236/subscriptions","organizations_url":"https://api.github.com/users/Arthur236/orgs","repos_url":"https://api.github.com/users/Arthur236/repos","events_url":"https://api.github.com/users/Arthur236/events{/privacy}","received_events_url":"https://api.github.com/users/Arthur236/received_events","type":"User","site_admin":false},"body":"This is how the previous forms have been implemented. I think we should have a chore to change the rest as well.","created_at":"2018-10-24T09:35:56Z","updated_at":"2018-10-24T09:35:56Z","html_url":"https://github.com/AndelaOSP/art-dashboard/pull/155#discussion_r227714390","pull_request_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/155","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/comments/227714390"},"html":{"href":"https://github.com/AndelaOSP/art-dashboard/pull/155#discussion_r227714390"},"pull_request":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/155"}},"in_reply_to_id":227691216},"pull_request":{"url":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/155","id":224702002,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0NzAyMDAy","html_url":"https://github.com/AndelaOSP/art-dashboard/pull/155","diff_url":"https://github.com/AndelaOSP/art-dashboard/pull/155.diff","patch_url":"https://github.com/AndelaOSP/art-dashboard/pull/155.patch","issue_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/issues/155","number":155,"state":"open","locked":false,"title":"[#160195079] Add logic to display accurate data","user":{"login":"Arthur236","id":31339738,"node_id":"MDQ6VXNlcjMxMzM5NzM4","avatar_url":"https://avatars0.githubusercontent.com/u/31339738?v=4","gravatar_id":"","url":"https://api.github.com/users/Arthur236","html_url":"https://github.com/Arthur236","followers_url":"https://api.github.com/users/Arthur236/followers","following_url":"https://api.github.com/users/Arthur236/following{/other_user}","gists_url":"https://api.github.com/users/Arthur236/gists{/gist_id}","starred_url":"https://api.github.com/users/Arthur236/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arthur236/subscriptions","organizations_url":"https://api.github.com/users/Arthur236/orgs","repos_url":"https://api.github.com/users/Arthur236/repos","events_url":"https://api.github.com/users/Arthur236/events{/privacy}","received_events_url":"https://api.github.com/users/Arthur236/received_events","type":"User","site_admin":false},"body":"## What does this PR do?\r\n\r\ndisplays correct data related to assets on the dashboard\r\n\r\n## Description of Task to be completed?\r\n\r\n```gherkin\r\nScenario: Accurate data on home page\r\nGiven an admin\r\nWhen I visit the homepage\r\nThen I should see correct data analysis (in summary) i.e lost, damaged, available, allocated.\r\n```\r\n\r\n## How should this be manually tested?\r\n\r\n* Log in\r\n* View changes in the data displayed about assets\r\n\r\n## What are the relevant pivotal tracker stories?\r\n\r\n[160195079](https://www.pivotaltracker.com/story/show/160195079)\r\n\r\n## Any background context you want to add?\r\n\r\nN/A\r\n\r\n## Important notes\r\n\r\nN/A\r\n\r\n## Packages installed\r\n\r\nN/A\r\n\r\n## Deployment note\r\n\r\nN/A\r\n\r\n## Related PRs branch | PR (branch_name) | (pr_link)\r\n\r\nN/A\r\n\r\n## Todos\r\n- [x] Raise PR\r\n- [ ] Test\r\n- [ ] Documentation\r\n\r\n## Screenshots\r\n\r\n","created_at":"2018-10-22T14:37:34Z","updated_at":"2018-10-24T09:35:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9613ad2b280bd2862b1926c11bda8a441a5c30b4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/155/commits","review_comments_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/155/comments","review_comment_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/issues/155/comments","statuses_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/statuses/dfbcef3f23f0c2e0550689a4105f65e63d355527","head":{"label":"AndelaOSP:ft-accurate-data-on-homepage-160195079","ref":"ft-accurate-data-on-homepage-160195079","sha":"dfbcef3f23f0c2e0550689a4105f65e63d355527","user":{"login":"AndelaOSP","id":22083364,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDgzMzY0","avatar_url":"https://avatars1.githubusercontent.com/u/22083364?v=4","gravatar_id":"","url":"https://api.github.com/users/AndelaOSP","html_url":"https://github.com/AndelaOSP","followers_url":"https://api.github.com/users/AndelaOSP/followers","following_url":"https://api.github.com/users/AndelaOSP/following{/other_user}","gists_url":"https://api.github.com/users/AndelaOSP/gists{/gist_id}","starred_url":"https://api.github.com/users/AndelaOSP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndelaOSP/subscriptions","organizations_url":"https://api.github.com/users/AndelaOSP/orgs","repos_url":"https://api.github.com/users/AndelaOSP/repos","events_url":"https://api.github.com/users/AndelaOSP/events{/privacy}","received_events_url":"https://api.github.com/users/AndelaOSP/received_events","type":"Organization","site_admin":false},"repo":{"id":121240728,"node_id":"MDEwOlJlcG9zaXRvcnkxMjEyNDA3Mjg=","name":"art-dashboard","full_name":"AndelaOSP/art-dashboard","private":false,"owner":{"login":"AndelaOSP","id":22083364,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDgzMzY0","avatar_url":"https://avatars1.githubusercontent.com/u/22083364?v=4","gravatar_id":"","url":"https://api.github.com/users/AndelaOSP","html_url":"https://github.com/AndelaOSP","followers_url":"https://api.github.com/users/AndelaOSP/followers","following_url":"https://api.github.com/users/AndelaOSP/following{/other_user}","gists_url":"https://api.github.com/users/AndelaOSP/gists{/gist_id}","starred_url":"https://api.github.com/users/AndelaOSP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndelaOSP/subscriptions","organizations_url":"https://api.github.com/users/AndelaOSP/orgs","repos_url":"https://api.github.com/users/AndelaOSP/repos","events_url":"https://api.github.com/users/AndelaOSP/events{/privacy}","received_events_url":"https://api.github.com/users/AndelaOSP/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/AndelaOSP/art-dashboard","description":"This is the admin dashboard for the ART application","fork":false,"url":"https://api.github.com/repos/AndelaOSP/art-dashboard","forks_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/forks","keys_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/teams","hooks_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/hooks","issue_events_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/events","assignees_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/tags","blobs_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/languages","stargazers_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/stargazers","contributors_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/contributors","subscribers_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/subscribers","subscription_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/subscription","commits_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/merges","archive_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/downloads","issues_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/labels{/name}","releases_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/releases{/id}","deployments_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/deployments","created_at":"2018-02-12T11:52:48Z","updated_at":"2018-10-23T09:05:00Z","pushed_at":"2018-10-24T08:47:51Z","git_url":"git://github.com/AndelaOSP/art-dashboard.git","ssh_url":"git@github.com:AndelaOSP/art-dashboard.git","clone_url":"https://github.com/AndelaOSP/art-dashboard.git","svn_url":"https://github.com/AndelaOSP/art-dashboard","homepage":null,"size":3540,"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":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":3,"watchers":1,"default_branch":"develop"}},"base":{"label":"AndelaOSP:develop","ref":"develop","sha":"7ea655a1a0e1682f4155ea76706596129afeb860","user":{"login":"AndelaOSP","id":22083364,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDgzMzY0","avatar_url":"https://avatars1.githubusercontent.com/u/22083364?v=4","gravatar_id":"","url":"https://api.github.com/users/AndelaOSP","html_url":"https://github.com/AndelaOSP","followers_url":"https://api.github.com/users/AndelaOSP/followers","following_url":"https://api.github.com/users/AndelaOSP/following{/other_user}","gists_url":"https://api.github.com/users/AndelaOSP/gists{/gist_id}","starred_url":"https://api.github.com/users/AndelaOSP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndelaOSP/subscriptions","organizations_url":"https://api.github.com/users/AndelaOSP/orgs","repos_url":"https://api.github.com/users/AndelaOSP/repos","events_url":"https://api.github.com/users/AndelaOSP/events{/privacy}","received_events_url":"https://api.github.com/users/AndelaOSP/received_events","type":"Organization","site_admin":false},"repo":{"id":121240728,"node_id":"MDEwOlJlcG9zaXRvcnkxMjEyNDA3Mjg=","name":"art-dashboard","full_name":"AndelaOSP/art-dashboard","private":false,"owner":{"login":"AndelaOSP","id":22083364,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDgzMzY0","avatar_url":"https://avatars1.githubusercontent.com/u/22083364?v=4","gravatar_id":"","url":"https://api.github.com/users/AndelaOSP","html_url":"https://github.com/AndelaOSP","followers_url":"https://api.github.com/users/AndelaOSP/followers","following_url":"https://api.github.com/users/AndelaOSP/following{/other_user}","gists_url":"https://api.github.com/users/AndelaOSP/gists{/gist_id}","starred_url":"https://api.github.com/users/AndelaOSP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndelaOSP/subscriptions","organizations_url":"https://api.github.com/users/AndelaOSP/orgs","repos_url":"https://api.github.com/users/AndelaOSP/repos","events_url":"https://api.github.com/users/AndelaOSP/events{/privacy}","received_events_url":"https://api.github.com/users/AndelaOSP/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/AndelaOSP/art-dashboard","description":"This is the admin dashboard for the ART application","fork":false,"url":"https://api.github.com/repos/AndelaOSP/art-dashboard","forks_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/forks","keys_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/teams","hooks_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/hooks","issue_events_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/events","assignees_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/tags","blobs_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/languages","stargazers_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/stargazers","contributors_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/contributors","subscribers_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/subscribers","subscription_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/subscription","commits_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/merges","archive_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/downloads","issues_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/labels{/name}","releases_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/releases{/id}","deployments_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/deployments","created_at":"2018-02-12T11:52:48Z","updated_at":"2018-10-23T09:05:00Z","pushed_at":"2018-10-24T08:47:51Z","git_url":"git://github.com/AndelaOSP/art-dashboard.git","ssh_url":"git@github.com:AndelaOSP/art-dashboard.git","clone_url":"https://github.com/AndelaOSP/art-dashboard.git","svn_url":"https://github.com/AndelaOSP/art-dashboard","homepage":null,"size":3540,"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":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":3,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/155"},"html":{"href":"https://github.com/AndelaOSP/art-dashboard/pull/155"},"issue":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/issues/155"},"comments":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/issues/155/comments"},"review_comments":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/155/comments"},"review_comment":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/155/commits"},"statuses":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/statuses/dfbcef3f23f0c2e0550689a4105f65e63d355527"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Arthur236"}}