{"action":"created","comment":{"url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/pulls/comments/187504856","pull_request_review_id":119300458,"id":187504856,"diff_hunk":"@@ -0,0 +1,103 @@\n+import React, {Component} from \"react\";\n+import {DropDownMenu, MenuItem, RaisedButton, TextField} from \"material-ui\";\n+import \"./styles.css\"\n+import { trainings } from \"services/api\";\n+import {Popconfirm} from \"antd\";\n+\n+import Form from \"components/FormElements/Form\";\n+\n+const hideAutoFillColorStyle = {\n+  WebkitBoxShadow: \"0 0 0 1000px white inset\"\n+};  \n+const hintStyle = { \n+  zIndex: \"1\" \n+};\n+\n+const styles = {\n+  editButton: {\n+    width: 10,\n+    margin: 5,\n+  }\n+}\n+\n+class TrainingDetails extends Component {\n+  constructor(props) {\n+    super(props);\n+\n+    this.state = {\n+      form: {\n+        id: \"\",\n+        name: \"\",\n+        weekday: \"\",\n+      },\n+      clientId: this.props.clientId,\n+      trainingId: this.props.training.id,\n+    };\n+  }\n+\n+  componentDidMount() {\n+    trainings.get(this.state.clientId, this.state.trainingId)\n+      .then(response => {\n+        console.log(response)","path":"app/views/Coach/Clients/ClientInfo/Trainings/TrainingDetails/index.js","position":41,"original_position":41,"commit_id":"407f901b452d9d23ce80518515f5a9acbfa297a7","original_commit_id":"407f901b452d9d23ce80518515f5a9acbfa297a7","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Missing semicolon. (semi)](https://app.codacy.com/app/wzieba/plus-one-up/pullRequest?prid=1637214)","created_at":"2018-05-11T02:06:13Z","updated_at":"2018-05-11T02:06:13Z","html_url":"https://github.com/Plus1Up/Plus1UpFrontend/pull/15#discussion_r187504856","pull_request_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/pulls/15","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/pulls/comments/187504856"},"html":{"href":"https://github.com/Plus1Up/Plus1UpFrontend/pull/15#discussion_r187504856"},"pull_request":{"href":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/pulls/15","id":187350017,"html_url":"https://github.com/Plus1Up/Plus1UpFrontend/pull/15","diff_url":"https://github.com/Plus1Up/Plus1UpFrontend/pull/15.diff","patch_url":"https://github.com/Plus1Up/Plus1UpFrontend/pull/15.patch","issue_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/issues/15","number":15,"state":"open","locked":false,"title":"Details of single training: edit existing or create new one","user":{"login":"trukawp","id":37117109,"avatar_url":"https://avatars2.githubusercontent.com/u/37117109?v=4","gravatar_id":"","url":"https://api.github.com/users/trukawp","html_url":"https://github.com/trukawp","followers_url":"https://api.github.com/users/trukawp/followers","following_url":"https://api.github.com/users/trukawp/following{/other_user}","gists_url":"https://api.github.com/users/trukawp/gists{/gist_id}","starred_url":"https://api.github.com/users/trukawp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trukawp/subscriptions","organizations_url":"https://api.github.com/users/trukawp/orgs","repos_url":"https://api.github.com/users/trukawp/repos","events_url":"https://api.github.com/users/trukawp/events{/privacy}","received_events_url":"https://api.github.com/users/trukawp/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-11T02:03:51Z","updated_at":"2018-05-11T02:06:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"167f0940680d03a7f74d05e7363c9cabdd21faca","assignee":null,"assignees":[],"requested_reviewers":[{"login":"wzieba","id":5845095,"avatar_url":"https://avatars1.githubusercontent.com/u/5845095?v=4","gravatar_id":"","url":"https://api.github.com/users/wzieba","html_url":"https://github.com/wzieba","followers_url":"https://api.github.com/users/wzieba/followers","following_url":"https://api.github.com/users/wzieba/following{/other_user}","gists_url":"https://api.github.com/users/wzieba/gists{/gist_id}","starred_url":"https://api.github.com/users/wzieba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzieba/subscriptions","organizations_url":"https://api.github.com/users/wzieba/orgs","repos_url":"https://api.github.com/users/wzieba/repos","events_url":"https://api.github.com/users/wzieba/events{/privacy}","received_events_url":"https://api.github.com/users/wzieba/received_events","type":"User","site_admin":false},{"login":"dianamielniczek","id":37212345,"avatar_url":"https://avatars3.githubusercontent.com/u/37212345?v=4","gravatar_id":"","url":"https://api.github.com/users/dianamielniczek","html_url":"https://github.com/dianamielniczek","followers_url":"https://api.github.com/users/dianamielniczek/followers","following_url":"https://api.github.com/users/dianamielniczek/following{/other_user}","gists_url":"https://api.github.com/users/dianamielniczek/gists{/gist_id}","starred_url":"https://api.github.com/users/dianamielniczek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianamielniczek/subscriptions","organizations_url":"https://api.github.com/users/dianamielniczek/orgs","repos_url":"https://api.github.com/users/dianamielniczek/repos","events_url":"https://api.github.com/users/dianamielniczek/events{/privacy}","received_events_url":"https://api.github.com/users/dianamielniczek/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/issues/15/comments","statuses_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/statuses/407f901b452d9d23ce80518515f5a9acbfa297a7","head":{"label":"Plus1Up:new-trainings","ref":"new-trainings","sha":"407f901b452d9d23ce80518515f5a9acbfa297a7","user":{"login":"Plus1Up","id":37124876,"avatar_url":"https://avatars2.githubusercontent.com/u/37124876?v=4","gravatar_id":"","url":"https://api.github.com/users/Plus1Up","html_url":"https://github.com/Plus1Up","followers_url":"https://api.github.com/users/Plus1Up/followers","following_url":"https://api.github.com/users/Plus1Up/following{/other_user}","gists_url":"https://api.github.com/users/Plus1Up/gists{/gist_id}","starred_url":"https://api.github.com/users/Plus1Up/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Plus1Up/subscriptions","organizations_url":"https://api.github.com/users/Plus1Up/orgs","repos_url":"https://api.github.com/users/Plus1Up/repos","events_url":"https://api.github.com/users/Plus1Up/events{/privacy}","received_events_url":"https://api.github.com/users/Plus1Up/received_events","type":"Organization","site_admin":false},"repo":{"id":124144353,"name":"Plus1UpFrontend","full_name":"Plus1Up/Plus1UpFrontend","owner":{"login":"Plus1Up","id":37124876,"avatar_url":"https://avatars2.githubusercontent.com/u/37124876?v=4","gravatar_id":"","url":"https://api.github.com/users/Plus1Up","html_url":"https://github.com/Plus1Up","followers_url":"https://api.github.com/users/Plus1Up/followers","following_url":"https://api.github.com/users/Plus1Up/following{/other_user}","gists_url":"https://api.github.com/users/Plus1Up/gists{/gist_id}","starred_url":"https://api.github.com/users/Plus1Up/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Plus1Up/subscriptions","organizations_url":"https://api.github.com/users/Plus1Up/orgs","repos_url":"https://api.github.com/users/Plus1Up/repos","events_url":"https://api.github.com/users/Plus1Up/events{/privacy}","received_events_url":"https://api.github.com/users/Plus1Up/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Plus1Up/Plus1UpFrontend","description":"React.js front-end","fork":false,"url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend","forks_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/forks","keys_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/teams","hooks_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/hooks","issue_events_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/issues/events{/number}","events_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/events","assignees_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/assignees{/user}","branches_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/branches{/branch}","tags_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/tags","blobs_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/statuses/{sha}","languages_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/languages","stargazers_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/stargazers","contributors_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/contributors","subscribers_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/subscribers","subscription_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/subscription","commits_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/contents/{+path}","compare_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/merges","archive_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/downloads","issues_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/issues{/number}","pulls_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/pulls{/number}","milestones_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/milestones{/number}","notifications_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/labels{/name}","releases_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/releases{/id}","deployments_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/deployments","created_at":"2018-03-06T22:04:39Z","updated_at":"2018-04-28T17:05:32Z","pushed_at":"2018-05-11T02:03:51Z","git_url":"git://github.com/Plus1Up/Plus1UpFrontend.git","ssh_url":"git@github.com:Plus1Up/Plus1UpFrontend.git","clone_url":"https://github.com/Plus1Up/Plus1UpFrontend.git","svn_url":"https://github.com/Plus1Up/Plus1UpFrontend","homepage":"","size":1095,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Plus1Up:master","ref":"master","sha":"7608935e8325af0613a5fcc6e8708e6ea00284a3","user":{"login":"Plus1Up","id":37124876,"avatar_url":"https://avatars2.githubusercontent.com/u/37124876?v=4","gravatar_id":"","url":"https://api.github.com/users/Plus1Up","html_url":"https://github.com/Plus1Up","followers_url":"https://api.github.com/users/Plus1Up/followers","following_url":"https://api.github.com/users/Plus1Up/following{/other_user}","gists_url":"https://api.github.com/users/Plus1Up/gists{/gist_id}","starred_url":"https://api.github.com/users/Plus1Up/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Plus1Up/subscriptions","organizations_url":"https://api.github.com/users/Plus1Up/orgs","repos_url":"https://api.github.com/users/Plus1Up/repos","events_url":"https://api.github.com/users/Plus1Up/events{/privacy}","received_events_url":"https://api.github.com/users/Plus1Up/received_events","type":"Organization","site_admin":false},"repo":{"id":124144353,"name":"Plus1UpFrontend","full_name":"Plus1Up/Plus1UpFrontend","owner":{"login":"Plus1Up","id":37124876,"avatar_url":"https://avatars2.githubusercontent.com/u/37124876?v=4","gravatar_id":"","url":"https://api.github.com/users/Plus1Up","html_url":"https://github.com/Plus1Up","followers_url":"https://api.github.com/users/Plus1Up/followers","following_url":"https://api.github.com/users/Plus1Up/following{/other_user}","gists_url":"https://api.github.com/users/Plus1Up/gists{/gist_id}","starred_url":"https://api.github.com/users/Plus1Up/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Plus1Up/subscriptions","organizations_url":"https://api.github.com/users/Plus1Up/orgs","repos_url":"https://api.github.com/users/Plus1Up/repos","events_url":"https://api.github.com/users/Plus1Up/events{/privacy}","received_events_url":"https://api.github.com/users/Plus1Up/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Plus1Up/Plus1UpFrontend","description":"React.js front-end","fork":false,"url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend","forks_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/forks","keys_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/teams","hooks_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/hooks","issue_events_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/issues/events{/number}","events_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/events","assignees_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/assignees{/user}","branches_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/branches{/branch}","tags_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/tags","blobs_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/statuses/{sha}","languages_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/languages","stargazers_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/stargazers","contributors_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/contributors","subscribers_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/subscribers","subscription_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/subscription","commits_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/contents/{+path}","compare_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/merges","archive_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/downloads","issues_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/issues{/number}","pulls_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/pulls{/number}","milestones_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/milestones{/number}","notifications_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/labels{/name}","releases_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/releases{/id}","deployments_url":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/deployments","created_at":"2018-03-06T22:04:39Z","updated_at":"2018-04-28T17:05:32Z","pushed_at":"2018-05-11T02:03:51Z","git_url":"git://github.com/Plus1Up/Plus1UpFrontend.git","ssh_url":"git@github.com:Plus1Up/Plus1UpFrontend.git","clone_url":"https://github.com/Plus1Up/Plus1UpFrontend.git","svn_url":"https://github.com/Plus1Up/Plus1UpFrontend","homepage":"","size":1095,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/pulls/15"},"html":{"href":"https://github.com/Plus1Up/Plus1UpFrontend/pull/15"},"issue":{"href":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/issues/15"},"comments":{"href":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Plus1Up/Plus1UpFrontend/statuses/407f901b452d9d23ce80518515f5a9acbfa297a7"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"codacy-bot"}}