{"action":"created","comment":{"url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/pulls/comments/168550975","pull_request_review_id":96938349,"id":168550975,"diff_hunk":"@@ -0,0 +1,56 @@\n+import React, { Component } from 'react';\n+import PropTypes from 'prop-types';\n+import { connect } from 'react-redux';\n+\n+import { getArtistas, setError } from '../actions/artistasActions';\n+\n+class ArtistasContainer extends Component {\n+  static propTypes = {\n+    Layout: PropTypes.func.isRequired,\n+    artistas: PropTypes.shape({\n+      loading: PropTypes.bool.isRequired,\n+      error: PropTypes.string,\n+      artistas: PropTypes.array.isRequired,\n+    }).isRequired,\n+    getArtistas: PropTypes.func.isRequired,\n+    setError: PropTypes.func.isRequired,\n+  }\n+\n+  componentDidMount = () => this.fetchArtistas();\n+\n+  /**\n+    * Fetch Data from API, saving to Redux\n+    */\n+  fetchArtistas = () => {\n+    return this.props.getArtistas()\n+      .catch((err) => {\n+        console.log(`Error: ${err}`);\n+        return this.props.setError(err);\n+      });\n+\n+  }\n+\n+  render = () => {\n+    const { Layout, artistas } = this.props;\n+\n+    return (\n+      <Layout\n+        error={artistas.error}\n+        loading={artistas.loading}\n+        artistas={artistas.artistas}\n+        reFetch={() => this.fetchArtistas()}\n+      />\n+    );\n+  }\n+}\n+\n+const mapStateToProps = state => ({\n+  artistas: state.artistas || {},\n+});\n+\n+const mapDispatchToProps = {\n+  getArtistas,\n+  setError,\n+};\n+\n+export default connect(mapStateToProps, mapDispatchToProps)(ArtistasContainer);","path":"src/containers/ArtistasContainer.js","position":56,"original_position":56,"commit_id":"1187d5d0849f6280e1014622def43e639223218c","original_commit_id":"1187d5d0849f6280e1014622def43e639223218c","user":{"login":"mixcas","id":1994425,"avatar_url":"https://avatars0.githubusercontent.com/u/1994425?v=4","gravatar_id":"","url":"https://api.github.com/users/mixcas","html_url":"https://github.com/mixcas","followers_url":"https://api.github.com/users/mixcas/followers","following_url":"https://api.github.com/users/mixcas/following{/other_user}","gists_url":"https://api.github.com/users/mixcas/gists{/gist_id}","starred_url":"https://api.github.com/users/mixcas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixcas/subscriptions","organizations_url":"https://api.github.com/users/mixcas/orgs","repos_url":"https://api.github.com/users/mixcas/repos","events_url":"https://api.github.com/users/mixcas/events{/privacy}","received_events_url":"https://api.github.com/users/mixcas/received_events","type":"User","site_admin":false},"body":"I don't understand what you mean. What's the `artistas` stuff? A prop where?","created_at":"2018-02-15T17:34:01Z","updated_at":"2018-02-15T17:34:01Z","html_url":"https://github.com/interglobalvision/app-andamiaje-co/pull/3#discussion_r168550975","pull_request_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/pulls/3","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/pulls/comments/168550975"},"html":{"href":"https://github.com/interglobalvision/app-andamiaje-co/pull/3#discussion_r168550975"},"pull_request":{"href":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/pulls/3"}},"in_reply_to_id":168529519},"pull_request":{"url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/pulls/3","id":169283004,"html_url":"https://github.com/interglobalvision/app-andamiaje-co/pull/3","diff_url":"https://github.com/interglobalvision/app-andamiaje-co/pull/3.diff","patch_url":"https://github.com/interglobalvision/app-andamiaje-co/pull/3.patch","issue_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/issues/3","number":3,"state":"open","locked":false,"title":"Scaffold artistas","user":{"login":"mikeyrayvon","id":7727722,"avatar_url":"https://avatars3.githubusercontent.com/u/7727722?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeyrayvon","html_url":"https://github.com/mikeyrayvon","followers_url":"https://api.github.com/users/mikeyrayvon/followers","following_url":"https://api.github.com/users/mikeyrayvon/following{/other_user}","gists_url":"https://api.github.com/users/mikeyrayvon/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeyrayvon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeyrayvon/subscriptions","organizations_url":"https://api.github.com/users/mikeyrayvon/orgs","repos_url":"https://api.github.com/users/mikeyrayvon/repos","events_url":"https://api.github.com/users/mikeyrayvon/events{/privacy}","received_events_url":"https://api.github.com/users/mikeyrayvon/received_events","type":"User","site_admin":false},"body":"- Scaffold directory section w/ sub tabs\r\n- scaffold artistas list\r\n\r\nartistas list component is printed in Miembros tab just as a placeholder","created_at":"2018-02-15T04:30:54Z","updated_at":"2018-02-15T17:34:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89ee6e992929c6868f4cb2fab99d8197a44915c5","assignee":{"login":"mixcas","id":1994425,"avatar_url":"https://avatars0.githubusercontent.com/u/1994425?v=4","gravatar_id":"","url":"https://api.github.com/users/mixcas","html_url":"https://github.com/mixcas","followers_url":"https://api.github.com/users/mixcas/followers","following_url":"https://api.github.com/users/mixcas/following{/other_user}","gists_url":"https://api.github.com/users/mixcas/gists{/gist_id}","starred_url":"https://api.github.com/users/mixcas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixcas/subscriptions","organizations_url":"https://api.github.com/users/mixcas/orgs","repos_url":"https://api.github.com/users/mixcas/repos","events_url":"https://api.github.com/users/mixcas/events{/privacy}","received_events_url":"https://api.github.com/users/mixcas/received_events","type":"User","site_admin":false},"assignees":[{"login":"mixcas","id":1994425,"avatar_url":"https://avatars0.githubusercontent.com/u/1994425?v=4","gravatar_id":"","url":"https://api.github.com/users/mixcas","html_url":"https://github.com/mixcas","followers_url":"https://api.github.com/users/mixcas/followers","following_url":"https://api.github.com/users/mixcas/following{/other_user}","gists_url":"https://api.github.com/users/mixcas/gists{/gist_id}","starred_url":"https://api.github.com/users/mixcas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixcas/subscriptions","organizations_url":"https://api.github.com/users/mixcas/orgs","repos_url":"https://api.github.com/users/mixcas/repos","events_url":"https://api.github.com/users/mixcas/events{/privacy}","received_events_url":"https://api.github.com/users/mixcas/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/pulls/3/commits","review_comments_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/pulls/3/comments","review_comment_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/pulls/comments{/number}","comments_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/issues/3/comments","statuses_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/statuses/1187d5d0849f6280e1014622def43e639223218c","head":{"label":"interglobalvision:scaffold-artistas","ref":"scaffold-artistas","sha":"1187d5d0849f6280e1014622def43e639223218c","user":{"login":"interglobalvision","id":6844994,"avatar_url":"https://avatars1.githubusercontent.com/u/6844994?v=4","gravatar_id":"","url":"https://api.github.com/users/interglobalvision","html_url":"https://github.com/interglobalvision","followers_url":"https://api.github.com/users/interglobalvision/followers","following_url":"https://api.github.com/users/interglobalvision/following{/other_user}","gists_url":"https://api.github.com/users/interglobalvision/gists{/gist_id}","starred_url":"https://api.github.com/users/interglobalvision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interglobalvision/subscriptions","organizations_url":"https://api.github.com/users/interglobalvision/orgs","repos_url":"https://api.github.com/users/interglobalvision/repos","events_url":"https://api.github.com/users/interglobalvision/events{/privacy}","received_events_url":"https://api.github.com/users/interglobalvision/received_events","type":"Organization","site_admin":false},"repo":{"id":117276151,"name":"app-andamiaje-co","full_name":"interglobalvision/app-andamiaje-co","owner":{"login":"interglobalvision","id":6844994,"avatar_url":"https://avatars1.githubusercontent.com/u/6844994?v=4","gravatar_id":"","url":"https://api.github.com/users/interglobalvision","html_url":"https://github.com/interglobalvision","followers_url":"https://api.github.com/users/interglobalvision/followers","following_url":"https://api.github.com/users/interglobalvision/following{/other_user}","gists_url":"https://api.github.com/users/interglobalvision/gists{/gist_id}","starred_url":"https://api.github.com/users/interglobalvision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interglobalvision/subscriptions","organizations_url":"https://api.github.com/users/interglobalvision/orgs","repos_url":"https://api.github.com/users/interglobalvision/repos","events_url":"https://api.github.com/users/interglobalvision/events{/privacy}","received_events_url":"https://api.github.com/users/interglobalvision/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/interglobalvision/app-andamiaje-co","description":null,"fork":false,"url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co","forks_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/forks","keys_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/teams","hooks_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/hooks","issue_events_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/issues/events{/number}","events_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/events","assignees_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/assignees{/user}","branches_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/branches{/branch}","tags_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/tags","blobs_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/git/refs{/sha}","trees_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/statuses/{sha}","languages_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/languages","stargazers_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/stargazers","contributors_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/contributors","subscribers_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/subscribers","subscription_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/subscription","commits_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/commits{/sha}","git_commits_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/git/commits{/sha}","comments_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/comments{/number}","issue_comment_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/issues/comments{/number}","contents_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/contents/{+path}","compare_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/merges","archive_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/downloads","issues_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/issues{/number}","pulls_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/pulls{/number}","milestones_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/milestones{/number}","notifications_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/labels{/name}","releases_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/releases{/id}","deployments_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/deployments","created_at":"2018-01-12T18:43:47Z","updated_at":"2018-01-12T18:44:51Z","pushed_at":"2018-02-15T17:15:06Z","git_url":"git://github.com/interglobalvision/app-andamiaje-co.git","ssh_url":"git@github.com:interglobalvision/app-andamiaje-co.git","clone_url":"https://github.com/interglobalvision/app-andamiaje-co.git","svn_url":"https://github.com/interglobalvision/app-andamiaje-co","homepage":null,"size":4775,"stargazers_count":0,"watchers_count":0,"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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"feat-noticias"}},"base":{"label":"interglobalvision:feat-noticias","ref":"feat-noticias","sha":"7e29123bde0124c1d13735a8d70d0c6797cebe71","user":{"login":"interglobalvision","id":6844994,"avatar_url":"https://avatars1.githubusercontent.com/u/6844994?v=4","gravatar_id":"","url":"https://api.github.com/users/interglobalvision","html_url":"https://github.com/interglobalvision","followers_url":"https://api.github.com/users/interglobalvision/followers","following_url":"https://api.github.com/users/interglobalvision/following{/other_user}","gists_url":"https://api.github.com/users/interglobalvision/gists{/gist_id}","starred_url":"https://api.github.com/users/interglobalvision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interglobalvision/subscriptions","organizations_url":"https://api.github.com/users/interglobalvision/orgs","repos_url":"https://api.github.com/users/interglobalvision/repos","events_url":"https://api.github.com/users/interglobalvision/events{/privacy}","received_events_url":"https://api.github.com/users/interglobalvision/received_events","type":"Organization","site_admin":false},"repo":{"id":117276151,"name":"app-andamiaje-co","full_name":"interglobalvision/app-andamiaje-co","owner":{"login":"interglobalvision","id":6844994,"avatar_url":"https://avatars1.githubusercontent.com/u/6844994?v=4","gravatar_id":"","url":"https://api.github.com/users/interglobalvision","html_url":"https://github.com/interglobalvision","followers_url":"https://api.github.com/users/interglobalvision/followers","following_url":"https://api.github.com/users/interglobalvision/following{/other_user}","gists_url":"https://api.github.com/users/interglobalvision/gists{/gist_id}","starred_url":"https://api.github.com/users/interglobalvision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interglobalvision/subscriptions","organizations_url":"https://api.github.com/users/interglobalvision/orgs","repos_url":"https://api.github.com/users/interglobalvision/repos","events_url":"https://api.github.com/users/interglobalvision/events{/privacy}","received_events_url":"https://api.github.com/users/interglobalvision/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/interglobalvision/app-andamiaje-co","description":null,"fork":false,"url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co","forks_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/forks","keys_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/teams","hooks_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/hooks","issue_events_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/issues/events{/number}","events_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/events","assignees_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/assignees{/user}","branches_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/branches{/branch}","tags_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/tags","blobs_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/git/refs{/sha}","trees_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/statuses/{sha}","languages_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/languages","stargazers_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/stargazers","contributors_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/contributors","subscribers_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/subscribers","subscription_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/subscription","commits_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/commits{/sha}","git_commits_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/git/commits{/sha}","comments_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/comments{/number}","issue_comment_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/issues/comments{/number}","contents_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/contents/{+path}","compare_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/merges","archive_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/downloads","issues_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/issues{/number}","pulls_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/pulls{/number}","milestones_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/milestones{/number}","notifications_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/labels{/name}","releases_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/releases{/id}","deployments_url":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/deployments","created_at":"2018-01-12T18:43:47Z","updated_at":"2018-01-12T18:44:51Z","pushed_at":"2018-02-15T17:15:06Z","git_url":"git://github.com/interglobalvision/app-andamiaje-co.git","ssh_url":"git@github.com:interglobalvision/app-andamiaje-co.git","clone_url":"https://github.com/interglobalvision/app-andamiaje-co.git","svn_url":"https://github.com/interglobalvision/app-andamiaje-co","homepage":null,"size":4775,"stargazers_count":0,"watchers_count":0,"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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"feat-noticias"}},"_links":{"self":{"href":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/pulls/3"},"html":{"href":"https://github.com/interglobalvision/app-andamiaje-co/pull/3"},"issue":{"href":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/issues/3"},"comments":{"href":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/interglobalvision/app-andamiaje-co/statuses/1187d5d0849f6280e1014622def43e639223218c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mixcas"}}