{"action":"created","comment":{"url":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/comments/196296395","pull_request_review_id":129812949,"id":196296395,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjI5NjM5NQ==","diff_hunk":"@@ -0,0 +1,55 @@\n+import React, { Component } from 'react';\n+import { Modal } from 'semantic-ui-react';\n+import PropTypes from 'prop-types';\n+import { SemanticToastContainer } from 'react-semantic-toasts';\n+\n+export default class ArtModal extends Component {\n+  state = { modalOpen: false }\n+\n+  toggleModal = () => this.setState({ modalOpen: !this.state.modalOpen });\n+\n+  render() {\n+    const { children } = this.props;\n+    const childrenWithProps = React.Children.map(children, child =>\n+      React.cloneElement(child,","path":"src/components/common/ModalComponent.jsx","position":14,"original_position":14,"commit_id":"a8ce4a868bfd47c0a84d559f12487b2675337c28","original_commit_id":"f2c3b197a75dd6fc9fc24f59d53afe32f486a984","user":{"login":"sachungo","id":12892171,"node_id":"MDQ6VXNlcjEyODkyMTcx","avatar_url":"https://avatars0.githubusercontent.com/u/12892171?v=4","gravatar_id":"","url":"https://api.github.com/users/sachungo","html_url":"https://github.com/sachungo","followers_url":"https://api.github.com/users/sachungo/followers","following_url":"https://api.github.com/users/sachungo/following{/other_user}","gists_url":"https://api.github.com/users/sachungo/gists{/gist_id}","starred_url":"https://api.github.com/users/sachungo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachungo/subscriptions","organizations_url":"https://api.github.com/users/sachungo/orgs","repos_url":"https://api.github.com/users/sachungo/repos","events_url":"https://api.github.com/users/sachungo/events{/privacy}","received_events_url":"https://api.github.com/users/sachungo/received_events","type":"User","site_admin":false},"body":"Ignore this houndCI comment for now whenever you see it","created_at":"2018-06-19T05:16:37Z","updated_at":"2018-06-19T05:42:30Z","html_url":"https://github.com/AndelaOSP/art-dashboard/pull/33#discussion_r196296395","pull_request_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/33","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/comments/196296395"},"html":{"href":"https://github.com/AndelaOSP/art-dashboard/pull/33#discussion_r196296395"},"pull_request":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/33"}},"in_reply_to_id":196155703},"pull_request":{"url":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/33","id":192686749,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNjg2NzQ5","html_url":"https://github.com/AndelaOSP/art-dashboard/pull/33","diff_url":"https://github.com/AndelaOSP/art-dashboard/pull/33.diff","patch_url":"https://github.com/AndelaOSP/art-dashboard/pull/33.patch","issue_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/issues/33","number":33,"state":"open","locked":false,"title":"User can add asset model number","user":{"login":"Awinja-Andela","id":27197463,"node_id":"MDQ6VXNlcjI3MTk3NDYz","avatar_url":"https://avatars2.githubusercontent.com/u/27197463?v=4","gravatar_id":"","url":"https://api.github.com/users/Awinja-Andela","html_url":"https://github.com/Awinja-Andela","followers_url":"https://api.github.com/users/Awinja-Andela/followers","following_url":"https://api.github.com/users/Awinja-Andela/following{/other_user}","gists_url":"https://api.github.com/users/Awinja-Andela/gists{/gist_id}","starred_url":"https://api.github.com/users/Awinja-Andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Awinja-Andela/subscriptions","organizations_url":"https://api.github.com/users/Awinja-Andela/orgs","repos_url":"https://api.github.com/users/Awinja-Andela/repos","events_url":"https://api.github.com/users/Awinja-Andela/events{/privacy}","received_events_url":"https://api.github.com/users/Awinja-Andela/received_events","type":"User","site_admin":false},"body":"## What does this PR do?\r\nIt introduces an `add button` to asset model tab on All Assets page\r\n## Description of Task to be completed?\r\n- Add add button to All Asset Page\r\n\r\n## How should this be manually tested?\r\nN/A\r\n\r\n## What are the relevant pivotal tracker stories?\r\n#157340067\r\n\r\n## Any background context you want to add?\r\n\r\n## Important notes\r\n\r\n## Packages installed\r\n\r\n## Deployment note\r\n\r\n## Related PRs branch | PR (branch_name) | (pr_link)\r\nBranch | PR\r\n------ | ------\r\nother_pr_production | [link]()\r\nother_pr_master | [link]()\r\n## Todos\r\n- [x] Raise PR\r\n- [x] Test\r\n- [ ] Documentation\r\n## Screenshots\r\n<img width=\"852\" alt=\"screen shot 2018-06-12 at 22 13 14\" src=\"https://user-images.githubusercontent.com/6042152/41311744-dd17e4ea-6e8d-11e8-85e3-f990f4d88e8a.png\">\r\n\r\n","created_at":"2018-06-05T12:17:20Z","updated_at":"2018-06-19T05:42:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42cbc4d50e1b67ff864963da80527f8b209c2578","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":937075460,"node_id":"MDU6TGFiZWw5MzcwNzU0NjA=","url":"https://api.github.com/repos/AndelaOSP/art-dashboard/labels/PR%20Needs%20Review","name":"PR Needs Review","color":"1d76db","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/33/commits","review_comments_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/33/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/33/comments","statuses_url":"https://api.github.com/repos/AndelaOSP/art-dashboard/statuses/a8ce4a868bfd47c0a84d559f12487b2675337c28","head":{"label":"AndelaOSP:ft-User-can-add-asset-model-number-157340067","ref":"ft-User-can-add-asset-model-number-157340067","sha":"a8ce4a868bfd47c0a84d559f12487b2675337c28","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","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},"private":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-06-18T18:17:42Z","pushed_at":"2018-06-18T18:20:50Z","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":2962,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":8,"watchers":1,"default_branch":"develop"}},"base":{"label":"AndelaOSP:develop","ref":"develop","sha":"55491095c393f7fb7e687e7e67dd6bcf9a51817c","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","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},"private":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-06-18T18:17:42Z","pushed_at":"2018-06-18T18:20:50Z","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":2962,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":8,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/33"},"html":{"href":"https://github.com/AndelaOSP/art-dashboard/pull/33"},"issue":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/issues/33"},"comments":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/pulls/33/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/33/commits"},"statuses":{"href":"https://api.github.com/repos/AndelaOSP/art-dashboard/statuses/a8ce4a868bfd47c0a84d559f12487b2675337c28"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"sachungo"}}