{"action":"created","comment":{"url":"https://api.github.com/repos/andela/activo-web/pulls/comments/204232221","pull_request_review_id":139279657,"id":204232221,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDIzMjIyMQ==","diff_hunk":"@@ -9,82 +12,216 @@ import Attribute from 'components/Attribute';\n import Button from 'components/Button';\n import InputBox from 'components/InputBox';\n \n-const CreateCategoryPage = () => ((\n-  <React.Fragment>\n-    <div className=\"settings-page__heading\">\n-      <h1 className=\"settings-page__heading__text\">Add a category</h1>\n-      <Button\n-        alignImageRight={false}\n-        name=\"Preview form\"\n-        classes=\"regular--light\"\n-        icon=\"https://res.cloudinary.com/andeladevs/image/upload/v1531392323/previewFormIcon.svg\"\n-      />\n-    </div>\n-    <div className=\"settings-page__body\">\n-      <form>\n-        <h2 className=\"settings-page__body__section-title\">\n-          Required Fields\n-        </h2>\n-\n-        <p className=\"category-name__text\">Category Name</p>\n-\n-        <InputBox\n-          placeholder=\"Apple TV\"\n-          // tslint:disable-next-line no-empty\n-          onChange={() => { }}\n-        />\n-\n-        <div className=\"form-fields\">\n-          <div className=\"form-fields__heading\">\n-            <h4 className=\"form-fields__heading__attribute-name\">Attribute name</h4>\n-            <h4 className=\"form-fields__heading__input-type\">Input type</h4>\n-          </div>\n-\n-          <Attribute\n-            placeholder=\"Location\"\n-            error=\"This field is required.\"\n-          />\n+// actions\n+import { addNewAssetCategory } from '../../store/modules/categories/index';\n \n-          <Attribute \n-            placeholder=\"Asset tag\"\n-          />\n+// interfaces\n+import { Errors, NewCategoryProps } from '../../store/modules/categories/interfaces';\n+\n+class CreateCategoryPage extends React.Component<NewCategoryProps> {\n+  state = {\n+    category: {\n+      name: '',\n+      location: '',\n+      assetTag: '',\n+      dateAdded: '',\n+      warranty: '',\n+    },   \n+    errors: {\n+      name: '',\n+      location: '',\n+      assetTag: '',\n+      dateAdded: '',\n+      warranty: '',\n+    },\n+  };\n+  \n+  constructor(props) {\n+    super(props);\n+  }\n+\n+  componentWillReceiveProps(nextProps) {\n+    if (nextProps.errors) {\n+      // set these errors to the state of this component.\n+    }\n+  }\n \n-          <Attribute \n-            placeholder=\"Date added\"\n+  /**\n+   * This method handles what happens when the value changes in the input fields\n+   * \n+   * @param {Event} event\n+   * @returns {void}\n+   */\n+  onInputChange = (event) => {\n+    this.setState({ \n+      ...this.state,\n+      category: {\n+        ...this.state.category,\n+        [event.target.name]: event.target.value,\n+      },\n+      errors: { ...this.state.errors, [event.target.name]: '' },\n+    });\n+  }\n+\n+  /**\n+   * Check if the errors object is empty\n+   * \n+   * @param {Object} error\n+   * @returns {boolean} \n+   */ \n+  hasErrors = (errors) => {\n+    const errorFields = Object.keys(errors);\n+    return errorFields.some((errorField) => {\n+      return errors[errorField].length > 0;\n+    });\n+  }\n+\n+  /**\n+   *  Set the errors object fields with `this field is required` if empty\n+   * \n+   * @memberof CreateCategoryPage\n+   * @param {Object} category\n+   * @returns {object}\n+   */\n+  validateData = (data)  => {\n+    const errors: Errors = this.state.errors;\n+    ['name', 'location', 'assetTag', 'dateAdded'].forEach((item) => {\n+      if (!data[item]) {\n+        errors[item] = 'The field is required';\n+      }\n+    });\n+    return errors;\n+    \n+  }\n+  /**\n+   * This method handles what happens when the add category button is clicked\n+   * \n+   * @param {Event} event\n+   * @returns {void}\n+   */\n+  onSubmit = (event) => {\n+    event.preventDefault();\n+    const { name, location, assetTag, dateAdded, warranty } = this.state.category;\n+    const errors = this.validateData(this.state.category);\n+    this.setState({ errors });  \n+    if (this.hasErrors(this.state.errors)) {\n+      return;\n+    }\n+    const category = { \n+      name,\n+      location,\n+      assetTag,\n+      dateAdded,\n+      warranty,\n+    };\n+    this.props.addNewAssetCategory(category);\n+  }\n+  \n+  render() {\n+    const { name, location, assetTag, dateAdded , warranty } = this.state.category;\n+    return(\n+      <React.Fragment>\n+        <div className=\"settings-page__heading\">\n+          <h1 className=\"settings-page__heading__text\">Add a category</h1>\n+          <Button\n+            alignImageRight={false}\n+            name=\"Preview form\"\n+            classes=\"regular--light\"\n+            icon=\"https://res.cloudinary.com/andeladevs/image/upload/v1531392323/previewFormIcon.svg\"\n           />\n         </div>\n+        <div className=\"settings-page__body\">\n+          <form onSubmit={this.onSubmit}>\n+            <h2 className=\"settings-page__body__section-title\">\n+              Required Fields\n+            </h2>\n \n-        <h2 className=\"additional-fields__section-title\">\n-          Additional Fields\n-        </h2>\n+            <p className=\"category-name__text\">Category Name</p>\n \n-        <div className=\"form-fields__heading\">\n-          <h4 className=\"form-fields__heading__attribute-name\">Attribute name</h4>\n-          <h4 className=\"form-fields__heading__input-type\">Input type</h4>\n-        </div>\n+            <InputBox\n+              error={this.state.errors.name}\n+              placeholder=\"Apple TV\"\n+              // tslint:disable-next-line no-empty \n+               name=\"name\"\n+               value={name}\n+               onChange={this.onInputChange}\n+              />\n \n-        <Attribute\n-          placeholder=\"Warranty\"\n-          id={'attribute-field'}\n-          enableConfigOptions={true}\n-        />\n-\n-        <a className=\"additional-fields__new-attribute\" href=\"\">\n-          <img\n-            className=\"additional-fields__new-attribute__icon\"\n-            src=\"https://res.cloudinary.com/andeladevs/image/upload/v1531392319/addIcon.svg\"\n-            alt=\"\"\n-          />\n-          Add New Attribute\n-        </a>\n+            <div className=\"form-fields\">\n+              <div className=\"form-fields__heading\">\n+                <h4 className=\"form-fields__heading__attribute-name\">Attribute name</h4>\n+                <h4 className=\"form-fields__heading__input-type\">Input type</h4>\n+              </div>\n \n-        <div className=\"additional-fields__action-buttons\">\n-          <Button name=\"ADD CATEGORY\" type=\"blue regular--bold\" />\n-          <Button name=\"CANCEL\" type=\"hollow regular--bold\" />\n+              <Attribute\n+                error={this.state.errors.location}\n+                placeholder=\"Location\"\n+                name=\"location\"\n+                value={location}\n+                onChange={this.onInputChange}\n+              />\n+\n+              <Attribute\n+                error={this.state.errors.assetTag}\n+                placeholder=\"Asset tag\"\n+                name=\"assetTag\"\n+                value={assetTag}\n+                onChange={this.onInputChange}\n+              />\n+\n+              <Attribute \n+                error={this.state.errors.dateAdded}\n+                placeholder=\"Date added\"\n+                name=\"dateAdded\"\n+                value={dateAdded}\n+                onChange={this.onInputChange}\n+              />\n+            </div>\n+\n+            <h2 className=\"additional-fields__section-title\">\n+              Additional Fields\n+            </h2>\n+\n+            <div className=\"form-fields__heading\">\n+              <h4 className=\"form-fields__heading__attribute-name\">Attribute name</h4>\n+              <h4 className=\"form-fields__heading__input-type\">Input type</h4>\n+            </div>\n+\n+            <Attribute\n+              placeholder=\"Warranty\"\n+              id={'attribute-field'}\n+              enableConfigOptions={true}\n+              name=\"warranty\"\n+              value={warranty}\n+              onChange={this.onInputChange}\n+            />\n+\n+            <a className=\"additional-fields__new-attribute\" href=\"\">\n+              <img\n+                className=\"additional-fields__new-attribute__icon\"\n+                src=\"https://res.cloudinary.com/andeladevs/image/upload/v1531392319/addIcon.svg\"\n+                alt=\"\"\n+              />\n+              Add New Attribute\n+            </a>\n+\n+            <div className=\"additional-fields__action-buttons\">\n+              <Button name=\"ADD CATEGORY\" type=\"blue regular--bold\" />\n+              <Button name=\"CANCEL\" type=\"hollow regular--bold\" />\n+            </div>\n+          </form>\n         </div>\n-      </form>\n-    </div>\n-  </React.Fragment>\n-));\n+      </React.Fragment>\n+    );\n+  }\n+}\n+\n+const mapStateToProps = state => ({","path":"src/pages/CreateCategoryPage/index.tsx","position":286,"original_position":286,"commit_id":"16346e35a5739c69d10dbbadde7ca52413bcb107","original_commit_id":"16346e35a5739c69d10dbbadde7ca52413bcb107","user":{"login":"Billmike","id":24798364,"node_id":"MDQ6VXNlcjI0Nzk4MzY0","avatar_url":"https://avatars2.githubusercontent.com/u/24798364?v=4","gravatar_id":"","url":"https://api.github.com/users/Billmike","html_url":"https://github.com/Billmike","followers_url":"https://api.github.com/users/Billmike/followers","following_url":"https://api.github.com/users/Billmike/following{/other_user}","gists_url":"https://api.github.com/users/Billmike/gists{/gist_id}","starred_url":"https://api.github.com/users/Billmike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Billmike/subscriptions","organizations_url":"https://api.github.com/users/Billmike/orgs","repos_url":"https://api.github.com/users/Billmike/repos","events_url":"https://api.github.com/users/Billmike/events{/privacy}","received_events_url":"https://api.github.com/users/Billmike/received_events","type":"User","site_admin":false},"body":"Write tests for mapStateToProps and mapDispatchToProps for this component","created_at":"2018-07-22T08:30:48Z","updated_at":"2018-07-22T08:33:49Z","html_url":"https://github.com/andela/activo-web/pull/64#discussion_r204232221","pull_request_url":"https://api.github.com/repos/andela/activo-web/pulls/64","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/andela/activo-web/pulls/comments/204232221"},"html":{"href":"https://github.com/andela/activo-web/pull/64#discussion_r204232221"},"pull_request":{"href":"https://api.github.com/repos/andela/activo-web/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/andela/activo-web/pulls/64","id":202872308,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyODcyMzA4","html_url":"https://github.com/andela/activo-web/pull/64","diff_url":"https://github.com/andela/activo-web/pull/64.diff","patch_url":"https://github.com/andela/activo-web/pull/64.patch","issue_url":"https://api.github.com/repos/andela/activo-web/issues/64","number":64,"state":"open","locked":false,"title":"#158565106 Save new asset category ","user":{"login":"FelixWambiri","id":30326444,"node_id":"MDQ6VXNlcjMwMzI2NDQ0","avatar_url":"https://avatars3.githubusercontent.com/u/30326444?v=4","gravatar_id":"","url":"https://api.github.com/users/FelixWambiri","html_url":"https://github.com/FelixWambiri","followers_url":"https://api.github.com/users/FelixWambiri/followers","following_url":"https://api.github.com/users/FelixWambiri/following{/other_user}","gists_url":"https://api.github.com/users/FelixWambiri/gists{/gist_id}","starred_url":"https://api.github.com/users/FelixWambiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FelixWambiri/subscriptions","organizations_url":"https://api.github.com/users/FelixWambiri/orgs","repos_url":"https://api.github.com/users/FelixWambiri/repos","events_url":"https://api.github.com/users/FelixWambiri/events{/privacy}","received_events_url":"https://api.github.com/users/FelixWambiri/received_events","type":"User","site_admin":false},"body":"**What does this PR do?**\r\nThis PR makes use of the API endpoint to create new asset categories.\r\n\r\n**Description of Task to be completed?**\r\n* Enable users to create new asset categories.\r\n* Notify the user if any of the required fields are not properly filled.\r\n\r\n**How should this be manually tested?**\r\n* visit `http://activo-dev.andela.com:3000/settings/categories/new` to create asset categories.\r\n\r\n**Any background context you want to provide?**\r\n\r\nThe API endpoint currently used to create the asset categories is the mock API as the staging API is currently unavailable for use at the moment.\r\n\r\n**What are the relevant pivotal tracker stories?**\r\n#158565106\r\n\r\n**Screenshots (if appropriate)**\r\n![image](https://user-images.githubusercontent.com/30326444/43008810-a95f6d2e-8c44-11e8-974d-4dcfd35f362f.png)\r\n\r\n\r\n**Questions:**\r\n\r\nxxx\r\n","created_at":"2018-07-20T14:50:23Z","updated_at":"2018-07-22T08:33:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[{"login":"sccofield","id":12601490,"node_id":"MDQ6VXNlcjEyNjAxNDkw","avatar_url":"https://avatars0.githubusercontent.com/u/12601490?v=4","gravatar_id":"","url":"https://api.github.com/users/sccofield","html_url":"https://github.com/sccofield","followers_url":"https://api.github.com/users/sccofield/followers","following_url":"https://api.github.com/users/sccofield/following{/other_user}","gists_url":"https://api.github.com/users/sccofield/gists{/gist_id}","starred_url":"https://api.github.com/users/sccofield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sccofield/subscriptions","organizations_url":"https://api.github.com/users/sccofield/orgs","repos_url":"https://api.github.com/users/sccofield/repos","events_url":"https://api.github.com/users/sccofield/events{/privacy}","received_events_url":"https://api.github.com/users/sccofield/received_events","type":"User","site_admin":false},{"login":"PaulKariukiRimiru","id":17454824,"node_id":"MDQ6VXNlcjE3NDU0ODI0","avatar_url":"https://avatars3.githubusercontent.com/u/17454824?v=4","gravatar_id":"","url":"https://api.github.com/users/PaulKariukiRimiru","html_url":"https://github.com/PaulKariukiRimiru","followers_url":"https://api.github.com/users/PaulKariukiRimiru/followers","following_url":"https://api.github.com/users/PaulKariukiRimiru/following{/other_user}","gists_url":"https://api.github.com/users/PaulKariukiRimiru/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulKariukiRimiru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulKariukiRimiru/subscriptions","organizations_url":"https://api.github.com/users/PaulKariukiRimiru/orgs","repos_url":"https://api.github.com/users/PaulKariukiRimiru/repos","events_url":"https://api.github.com/users/PaulKariukiRimiru/events{/privacy}","received_events_url":"https://api.github.com/users/PaulKariukiRimiru/received_events","type":"User","site_admin":false},{"login":"andela-kakpobome","id":20772189,"node_id":"MDQ6VXNlcjIwNzcyMTg5","avatar_url":"https://avatars2.githubusercontent.com/u/20772189?v=4","gravatar_id":"","url":"https://api.github.com/users/andela-kakpobome","html_url":"https://github.com/andela-kakpobome","followers_url":"https://api.github.com/users/andela-kakpobome/followers","following_url":"https://api.github.com/users/andela-kakpobome/following{/other_user}","gists_url":"https://api.github.com/users/andela-kakpobome/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-kakpobome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-kakpobome/subscriptions","organizations_url":"https://api.github.com/users/andela-kakpobome/orgs","repos_url":"https://api.github.com/users/andela-kakpobome/repos","events_url":"https://api.github.com/users/andela-kakpobome/events{/privacy}","received_events_url":"https://api.github.com/users/andela-kakpobome/received_events","type":"User","site_admin":false},{"login":"Victoradukwu","id":24465059,"node_id":"MDQ6VXNlcjI0NDY1MDU5","avatar_url":"https://avatars3.githubusercontent.com/u/24465059?v=4","gravatar_id":"","url":"https://api.github.com/users/Victoradukwu","html_url":"https://github.com/Victoradukwu","followers_url":"https://api.github.com/users/Victoradukwu/followers","following_url":"https://api.github.com/users/Victoradukwu/following{/other_user}","gists_url":"https://api.github.com/users/Victoradukwu/gists{/gist_id}","starred_url":"https://api.github.com/users/Victoradukwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victoradukwu/subscriptions","organizations_url":"https://api.github.com/users/Victoradukwu/orgs","repos_url":"https://api.github.com/users/Victoradukwu/repos","events_url":"https://api.github.com/users/Victoradukwu/events{/privacy}","received_events_url":"https://api.github.com/users/Victoradukwu/received_events","type":"User","site_admin":false},{"login":"kevinejiro","id":28443813,"node_id":"MDQ6VXNlcjI4NDQzODEz","avatar_url":"https://avatars1.githubusercontent.com/u/28443813?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinejiro","html_url":"https://github.com/kevinejiro","followers_url":"https://api.github.com/users/kevinejiro/followers","following_url":"https://api.github.com/users/kevinejiro/following{/other_user}","gists_url":"https://api.github.com/users/kevinejiro/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinejiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinejiro/subscriptions","organizations_url":"https://api.github.com/users/kevinejiro/orgs","repos_url":"https://api.github.com/users/kevinejiro/repos","events_url":"https://api.github.com/users/kevinejiro/events{/privacy}","received_events_url":"https://api.github.com/users/kevinejiro/received_events","type":"User","site_admin":false},{"login":"missating","id":29452947,"node_id":"MDQ6VXNlcjI5NDUyOTQ3","avatar_url":"https://avatars3.githubusercontent.com/u/29452947?v=4","gravatar_id":"","url":"https://api.github.com/users/missating","html_url":"https://github.com/missating","followers_url":"https://api.github.com/users/missating/followers","following_url":"https://api.github.com/users/missating/following{/other_user}","gists_url":"https://api.github.com/users/missating/gists{/gist_id}","starred_url":"https://api.github.com/users/missating/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/missating/subscriptions","organizations_url":"https://api.github.com/users/missating/orgs","repos_url":"https://api.github.com/users/missating/repos","events_url":"https://api.github.com/users/missating/events{/privacy}","received_events_url":"https://api.github.com/users/missating/received_events","type":"User","site_admin":false},{"login":"Dammyy","id":32909231,"node_id":"MDQ6VXNlcjMyOTA5MjMx","avatar_url":"https://avatars3.githubusercontent.com/u/32909231?v=4","gravatar_id":"","url":"https://api.github.com/users/Dammyy","html_url":"https://github.com/Dammyy","followers_url":"https://api.github.com/users/Dammyy/followers","following_url":"https://api.github.com/users/Dammyy/following{/other_user}","gists_url":"https://api.github.com/users/Dammyy/gists{/gist_id}","starred_url":"https://api.github.com/users/Dammyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dammyy/subscriptions","organizations_url":"https://api.github.com/users/Dammyy/orgs","repos_url":"https://api.github.com/users/Dammyy/repos","events_url":"https://api.github.com/users/Dammyy/events{/privacy}","received_events_url":"https://api.github.com/users/Dammyy/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":974770175,"node_id":"MDU6TGFiZWw5NzQ3NzAxNzU=","url":"https://api.github.com/repos/andela/activo-web/labels/WIP","name":"WIP","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/andela/activo-web/pulls/64/commits","review_comments_url":"https://api.github.com/repos/andela/activo-web/pulls/64/comments","review_comment_url":"https://api.github.com/repos/andela/activo-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/activo-web/issues/64/comments","statuses_url":"https://api.github.com/repos/andela/activo-web/statuses/16346e35a5739c69d10dbbadde7ca52413bcb107","head":{"label":"andela:ft-save-new-asset-category-158565106","ref":"ft-save-new-asset-category-158565106","sha":"16346e35a5739c69d10dbbadde7ca52413bcb107","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":132578458,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI1Nzg0NTg=","name":"activo-web","full_name":"andela/activo-web","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},"private":false,"html_url":"https://github.com/andela/activo-web","description":"Web client for the activo application","fork":false,"url":"https://api.github.com/repos/andela/activo-web","forks_url":"https://api.github.com/repos/andela/activo-web/forks","keys_url":"https://api.github.com/repos/andela/activo-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/activo-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/activo-web/teams","hooks_url":"https://api.github.com/repos/andela/activo-web/hooks","issue_events_url":"https://api.github.com/repos/andela/activo-web/issues/events{/number}","events_url":"https://api.github.com/repos/andela/activo-web/events","assignees_url":"https://api.github.com/repos/andela/activo-web/assignees{/user}","branches_url":"https://api.github.com/repos/andela/activo-web/branches{/branch}","tags_url":"https://api.github.com/repos/andela/activo-web/tags","blobs_url":"https://api.github.com/repos/andela/activo-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/activo-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/activo-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/activo-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/activo-web/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/activo-web/languages","stargazers_url":"https://api.github.com/repos/andela/activo-web/stargazers","contributors_url":"https://api.github.com/repos/andela/activo-web/contributors","subscribers_url":"https://api.github.com/repos/andela/activo-web/subscribers","subscription_url":"https://api.github.com/repos/andela/activo-web/subscription","commits_url":"https://api.github.com/repos/andela/activo-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/activo-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/activo-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/activo-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/activo-web/contents/{+path}","compare_url":"https://api.github.com/repos/andela/activo-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/activo-web/merges","archive_url":"https://api.github.com/repos/andela/activo-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/activo-web/downloads","issues_url":"https://api.github.com/repos/andela/activo-web/issues{/number}","pulls_url":"https://api.github.com/repos/andela/activo-web/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/activo-web/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/activo-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/activo-web/labels{/name}","releases_url":"https://api.github.com/repos/andela/activo-web/releases{/id}","deployments_url":"https://api.github.com/repos/andela/activo-web/deployments","created_at":"2018-05-08T08:28:37Z","updated_at":"2018-07-20T01:14:58Z","pushed_at":"2018-07-21T21:37:15Z","git_url":"git://github.com/andela/activo-web.git","ssh_url":"git@github.com:andela/activo-web.git","clone_url":"https://github.com/andela/activo-web.git","svn_url":"https://github.com/andela/activo-web","homepage":"http://activo-staging.andela.com","size":2992,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":3,"open_issues":6,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"b0e3d3741961f2e5293a0051f2784dfd7c51cae8","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":132578458,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI1Nzg0NTg=","name":"activo-web","full_name":"andela/activo-web","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},"private":false,"html_url":"https://github.com/andela/activo-web","description":"Web client for the activo application","fork":false,"url":"https://api.github.com/repos/andela/activo-web","forks_url":"https://api.github.com/repos/andela/activo-web/forks","keys_url":"https://api.github.com/repos/andela/activo-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/activo-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/activo-web/teams","hooks_url":"https://api.github.com/repos/andela/activo-web/hooks","issue_events_url":"https://api.github.com/repos/andela/activo-web/issues/events{/number}","events_url":"https://api.github.com/repos/andela/activo-web/events","assignees_url":"https://api.github.com/repos/andela/activo-web/assignees{/user}","branches_url":"https://api.github.com/repos/andela/activo-web/branches{/branch}","tags_url":"https://api.github.com/repos/andela/activo-web/tags","blobs_url":"https://api.github.com/repos/andela/activo-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/activo-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/activo-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/activo-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/activo-web/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/activo-web/languages","stargazers_url":"https://api.github.com/repos/andela/activo-web/stargazers","contributors_url":"https://api.github.com/repos/andela/activo-web/contributors","subscribers_url":"https://api.github.com/repos/andela/activo-web/subscribers","subscription_url":"https://api.github.com/repos/andela/activo-web/subscription","commits_url":"https://api.github.com/repos/andela/activo-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/activo-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/activo-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/activo-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/activo-web/contents/{+path}","compare_url":"https://api.github.com/repos/andela/activo-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/activo-web/merges","archive_url":"https://api.github.com/repos/andela/activo-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/activo-web/downloads","issues_url":"https://api.github.com/repos/andela/activo-web/issues{/number}","pulls_url":"https://api.github.com/repos/andela/activo-web/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/activo-web/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/activo-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/activo-web/labels{/name}","releases_url":"https://api.github.com/repos/andela/activo-web/releases{/id}","deployments_url":"https://api.github.com/repos/andela/activo-web/deployments","created_at":"2018-05-08T08:28:37Z","updated_at":"2018-07-20T01:14:58Z","pushed_at":"2018-07-21T21:37:15Z","git_url":"git://github.com/andela/activo-web.git","ssh_url":"git@github.com:andela/activo-web.git","clone_url":"https://github.com/andela/activo-web.git","svn_url":"https://github.com/andela/activo-web","homepage":"http://activo-staging.andela.com","size":2992,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":3,"open_issues":6,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/activo-web/pulls/64"},"html":{"href":"https://github.com/andela/activo-web/pull/64"},"issue":{"href":"https://api.github.com/repos/andela/activo-web/issues/64"},"comments":{"href":"https://api.github.com/repos/andela/activo-web/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/activo-web/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/activo-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/activo-web/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/andela/activo-web/statuses/16346e35a5739c69d10dbbadde7ca52413bcb107"}},"author_association":"NONE"}}
{"actor":{"display_login":"Billmike"}}