{"action":"created","comment":{"url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/pulls/comments/140646093","pull_request_review_id":64752383,"id":140646093,"diff_hunk":"@@ -0,0 +1,47 @@\n+<template>\n+<div class=\"container\">\n+  <div class=\"row\">\n+    <div class=\"col-md-4\">\n+      <template v-if=\"candidates.length\">\n+        <div id=\"accordion\">\n+        <template v-for=\"(candidate, index) in candidates\">\n+          <candidate :candidate=\"candidate\" :index=\"index\"></candidate>\n+        </template>\n+      </div>\n+      </template>\n+      <template v-else>\n+        <p class=\"card-text\">No candidates available.</p>\n+      </template>\n+    </div>\n+    <div class=\"col-md-8\"></div>\n+  </div>\n+</div>\n+</template>\n+\n+<script>\n+import Candidate from './Candidate'\n+\n+export default {\n+  components: { Candidate },\n+  data () {\n+    return {\n+      candidates: []\n+    }\n+  },\n+  created () {\n+    this.fetchCandidates()\n+  },\n+  methods: {\n+    fetchCandidates () {\n+      this.$axios.get('/api/candidates').then(","path":"interface/frontend/src/components/CandidateList.vue","position":36,"original_position":36,"commit_id":"2c54bdfe217724830833f06d5b43875c0c6422b7","original_commit_id":"5888a1b3fddd0cfe8cba5c51a4e146286bb495ac","user":{"login":"antonow","id":7776175,"avatar_url":"https://avatars3.githubusercontent.com/u/7776175?v=4","gravatar_id":"","url":"https://api.github.com/users/antonow","html_url":"https://github.com/antonow","followers_url":"https://api.github.com/users/antonow/followers","following_url":"https://api.github.com/users/antonow/following{/other_user}","gists_url":"https://api.github.com/users/antonow/gists{/gist_id}","starred_url":"https://api.github.com/users/antonow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonow/subscriptions","organizations_url":"https://api.github.com/users/antonow/orgs","repos_url":"https://api.github.com/users/antonow/repos","events_url":"https://api.github.com/users/antonow/events{/privacy}","received_events_url":"https://api.github.com/users/antonow/received_events","type":"User","site_admin":false},"body":"@lamby, added this comment to the [index file](https://github.com/concept-to-clinic/concept-to-clinic/pull/125/files#diff-f0219d0aabd1326ced417e7bd31ebc7d).  ","created_at":"2017-09-24T03:03:30Z","updated_at":"2017-09-24T03:03:30Z","html_url":"https://github.com/concept-to-clinic/concept-to-clinic/pull/125#discussion_r140646093","pull_request_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/pulls/125","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/pulls/comments/140646093"},"html":{"href":"https://github.com/concept-to-clinic/concept-to-clinic/pull/125#discussion_r140646093"},"pull_request":{"href":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/pulls/125"}},"in_reply_to_id":140434145},"pull_request":{"url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/pulls/125","id":141745715,"html_url":"https://github.com/concept-to-clinic/concept-to-clinic/pull/125","diff_url":"https://github.com/concept-to-clinic/concept-to-clinic/pull/125.diff","patch_url":"https://github.com/concept-to-clinic/concept-to-clinic/pull/125.patch","issue_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/issues/125","number":125,"state":"open","locked":false,"title":"Port existing views and add VueRouter and Axios","user":{"login":"antonow","id":7776175,"avatar_url":"https://avatars3.githubusercontent.com/u/7776175?v=4","gravatar_id":"","url":"https://api.github.com/users/antonow","html_url":"https://github.com/antonow","followers_url":"https://api.github.com/users/antonow/followers","following_url":"https://api.github.com/users/antonow/following{/other_user}","gists_url":"https://api.github.com/users/antonow/gists{/gist_id}","starred_url":"https://api.github.com/users/antonow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonow/subscriptions","organizations_url":"https://api.github.com/users/antonow/orgs","repos_url":"https://api.github.com/users/antonow/repos","events_url":"https://api.github.com/users/antonow/events{/privacy}","received_events_url":"https://api.github.com/users/antonow/received_events","type":"User","site_admin":false},"body":"## Description\r\nThis PR takes the existing views built by @WGierke, including his unmerged frontend work on [#34 Select Lung Orientation](https://github.com/concept-to-clinic/concept-to-clinic/pull/101), and turns them into components of the main Vue app. VueRouter was set up to handle page navigation, and jQuery and Bootstrap.js were removed. Axios, an alternative to jQuery's Ajax, was added because it makes it easier to set default request options. I also made a few backend changes because I was getting errors when trying to create some test data through the Django REST interface.\r\n\r\n\r\n## Reference to official issue\r\n[Port existing pages to frontend Vue project #110](https://github.com/concept-to-clinic/concept-to-clinic/issues/110)\r\n\r\n\r\n## Motivation and Context\r\nThis change will allow us to serve all templates from the main Vue app, and sets up basic routing and frontend file organization patterns that will give the app some structure moving forward.\r\n\r\n\r\n## How Has This Been Tested?\r\nThis has been tested by running `docker-compose -f local.yml build` to install new dependencies, followed by `docker-compose -f local.yml up`, and navigating to all the links in the navigation. I created test data using the Django REST interface to verify that actions like toggling elements that can be opened and closed and making backend requests works as expected.\r\n\r\n## Screenshots (if appropriate):\r\n<img width=\"998\" alt=\"screen shot 2017-09-18 at 8 27 20 pm\" src=\"https://user-images.githubusercontent.com/7776175/30573252-0389e8ea-9cb0-11e7-9043-34835acd6ad4.png\">\r\n<img width=\"996\" alt=\"screen shot 2017-09-18 at 8 27 58 pm\" src=\"https://user-images.githubusercontent.com/7776175/30573253-038babee-9cb0-11e7-8cdc-c0646d30c23a.png\">\r\n<img width=\"997\" alt=\"screen shot 2017-09-18 at 8 28 20 pm\" src=\"https://user-images.githubusercontent.com/7776175/30573251-0388811c-9cb0-11e7-9c64-a5bb6fb67593.png\">\r\n\r\n\r\n## CLA\r\n- [X] I have signed the CLA; if other committers are in the commit history, they have signed the CLA as well","created_at":"2017-09-19T02:41:20Z","updated_at":"2017-09-24T03:03:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45d86836ace9c34d6cf9341b4a52e1296725ef8f","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/pulls/125/commits","review_comments_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/pulls/125/comments","review_comment_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/issues/125/comments","statuses_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/statuses/2c54bdfe217724830833f06d5b43875c0c6422b7","head":{"label":"antonow:master","ref":"master","sha":"2c54bdfe217724830833f06d5b43875c0c6422b7","user":{"login":"antonow","id":7776175,"avatar_url":"https://avatars3.githubusercontent.com/u/7776175?v=4","gravatar_id":"","url":"https://api.github.com/users/antonow","html_url":"https://github.com/antonow","followers_url":"https://api.github.com/users/antonow/followers","following_url":"https://api.github.com/users/antonow/following{/other_user}","gists_url":"https://api.github.com/users/antonow/gists{/gist_id}","starred_url":"https://api.github.com/users/antonow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonow/subscriptions","organizations_url":"https://api.github.com/users/antonow/orgs","repos_url":"https://api.github.com/users/antonow/repos","events_url":"https://api.github.com/users/antonow/events{/privacy}","received_events_url":"https://api.github.com/users/antonow/received_events","type":"User","site_admin":false},"repo":{"id":101015549,"name":"concept-to-clinic","full_name":"antonow/concept-to-clinic","owner":{"login":"antonow","id":7776175,"avatar_url":"https://avatars3.githubusercontent.com/u/7776175?v=4","gravatar_id":"","url":"https://api.github.com/users/antonow","html_url":"https://github.com/antonow","followers_url":"https://api.github.com/users/antonow/followers","following_url":"https://api.github.com/users/antonow/following{/other_user}","gists_url":"https://api.github.com/users/antonow/gists{/gist_id}","starred_url":"https://api.github.com/users/antonow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonow/subscriptions","organizations_url":"https://api.github.com/users/antonow/orgs","repos_url":"https://api.github.com/users/antonow/repos","events_url":"https://api.github.com/users/antonow/events{/privacy}","received_events_url":"https://api.github.com/users/antonow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/antonow/concept-to-clinic","description":"ALCF Concept to Clinic Challenge","fork":true,"url":"https://api.github.com/repos/antonow/concept-to-clinic","forks_url":"https://api.github.com/repos/antonow/concept-to-clinic/forks","keys_url":"https://api.github.com/repos/antonow/concept-to-clinic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antonow/concept-to-clinic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antonow/concept-to-clinic/teams","hooks_url":"https://api.github.com/repos/antonow/concept-to-clinic/hooks","issue_events_url":"https://api.github.com/repos/antonow/concept-to-clinic/issues/events{/number}","events_url":"https://api.github.com/repos/antonow/concept-to-clinic/events","assignees_url":"https://api.github.com/repos/antonow/concept-to-clinic/assignees{/user}","branches_url":"https://api.github.com/repos/antonow/concept-to-clinic/branches{/branch}","tags_url":"https://api.github.com/repos/antonow/concept-to-clinic/tags","blobs_url":"https://api.github.com/repos/antonow/concept-to-clinic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antonow/concept-to-clinic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antonow/concept-to-clinic/git/refs{/sha}","trees_url":"https://api.github.com/repos/antonow/concept-to-clinic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antonow/concept-to-clinic/statuses/{sha}","languages_url":"https://api.github.com/repos/antonow/concept-to-clinic/languages","stargazers_url":"https://api.github.com/repos/antonow/concept-to-clinic/stargazers","contributors_url":"https://api.github.com/repos/antonow/concept-to-clinic/contributors","subscribers_url":"https://api.github.com/repos/antonow/concept-to-clinic/subscribers","subscription_url":"https://api.github.com/repos/antonow/concept-to-clinic/subscription","commits_url":"https://api.github.com/repos/antonow/concept-to-clinic/commits{/sha}","git_commits_url":"https://api.github.com/repos/antonow/concept-to-clinic/git/commits{/sha}","comments_url":"https://api.github.com/repos/antonow/concept-to-clinic/comments{/number}","issue_comment_url":"https://api.github.com/repos/antonow/concept-to-clinic/issues/comments{/number}","contents_url":"https://api.github.com/repos/antonow/concept-to-clinic/contents/{+path}","compare_url":"https://api.github.com/repos/antonow/concept-to-clinic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antonow/concept-to-clinic/merges","archive_url":"https://api.github.com/repos/antonow/concept-to-clinic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antonow/concept-to-clinic/downloads","issues_url":"https://api.github.com/repos/antonow/concept-to-clinic/issues{/number}","pulls_url":"https://api.github.com/repos/antonow/concept-to-clinic/pulls{/number}","milestones_url":"https://api.github.com/repos/antonow/concept-to-clinic/milestones{/number}","notifications_url":"https://api.github.com/repos/antonow/concept-to-clinic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antonow/concept-to-clinic/labels{/name}","releases_url":"https://api.github.com/repos/antonow/concept-to-clinic/releases{/id}","deployments_url":"https://api.github.com/repos/antonow/concept-to-clinic/deployments","created_at":"2017-08-22T03:09:16Z","updated_at":"2017-08-22T03:09:18Z","pushed_at":"2017-09-24T02:58:52Z","git_url":"git://github.com/antonow/concept-to-clinic.git","ssh_url":"git@github.com:antonow/concept-to-clinic.git","clone_url":"https://github.com/antonow/concept-to-clinic.git","svn_url":"https://github.com/antonow/concept-to-clinic","homepage":"https://concepttoclinic.drivendata.org/","size":136827,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"concept-to-clinic:master","ref":"master","sha":"299b8009ab9802ccc5a6d7c17eb75383ca96ec97","user":{"login":"concept-to-clinic","id":29073492,"avatar_url":"https://avatars3.githubusercontent.com/u/29073492?v=4","gravatar_id":"","url":"https://api.github.com/users/concept-to-clinic","html_url":"https://github.com/concept-to-clinic","followers_url":"https://api.github.com/users/concept-to-clinic/followers","following_url":"https://api.github.com/users/concept-to-clinic/following{/other_user}","gists_url":"https://api.github.com/users/concept-to-clinic/gists{/gist_id}","starred_url":"https://api.github.com/users/concept-to-clinic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concept-to-clinic/subscriptions","organizations_url":"https://api.github.com/users/concept-to-clinic/orgs","repos_url":"https://api.github.com/users/concept-to-clinic/repos","events_url":"https://api.github.com/users/concept-to-clinic/events{/privacy}","received_events_url":"https://api.github.com/users/concept-to-clinic/received_events","type":"Organization","site_admin":false},"repo":{"id":98559363,"name":"concept-to-clinic","full_name":"concept-to-clinic/concept-to-clinic","owner":{"login":"concept-to-clinic","id":29073492,"avatar_url":"https://avatars3.githubusercontent.com/u/29073492?v=4","gravatar_id":"","url":"https://api.github.com/users/concept-to-clinic","html_url":"https://github.com/concept-to-clinic","followers_url":"https://api.github.com/users/concept-to-clinic/followers","following_url":"https://api.github.com/users/concept-to-clinic/following{/other_user}","gists_url":"https://api.github.com/users/concept-to-clinic/gists{/gist_id}","starred_url":"https://api.github.com/users/concept-to-clinic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concept-to-clinic/subscriptions","organizations_url":"https://api.github.com/users/concept-to-clinic/orgs","repos_url":"https://api.github.com/users/concept-to-clinic/repos","events_url":"https://api.github.com/users/concept-to-clinic/events{/privacy}","received_events_url":"https://api.github.com/users/concept-to-clinic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/concept-to-clinic/concept-to-clinic","description":"ALCF Concept to Clinic Challenge","fork":false,"url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic","forks_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/forks","keys_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/teams","hooks_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/hooks","issue_events_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/issues/events{/number}","events_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/events","assignees_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/assignees{/user}","branches_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/branches{/branch}","tags_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/tags","blobs_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/git/refs{/sha}","trees_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/statuses/{sha}","languages_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/languages","stargazers_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/stargazers","contributors_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/contributors","subscribers_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/subscribers","subscription_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/subscription","commits_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/commits{/sha}","git_commits_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/git/commits{/sha}","comments_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/comments{/number}","issue_comment_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/issues/comments{/number}","contents_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/contents/{+path}","compare_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/merges","archive_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/downloads","issues_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/issues{/number}","pulls_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/pulls{/number}","milestones_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/milestones{/number}","notifications_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/labels{/name}","releases_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/releases{/id}","deployments_url":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/deployments","created_at":"2017-07-27T16:37:37Z","updated_at":"2017-09-22T11:27:30Z","pushed_at":"2017-09-24T02:58:54Z","git_url":"git://github.com/concept-to-clinic/concept-to-clinic.git","ssh_url":"git@github.com:concept-to-clinic/concept-to-clinic.git","clone_url":"https://github.com/concept-to-clinic/concept-to-clinic.git","svn_url":"https://github.com/concept-to-clinic/concept-to-clinic","homepage":"https://concepttoclinic.drivendata.org/","size":136877,"stargazers_count":152,"watchers_count":152,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":21,"forks":75,"open_issues":21,"watchers":152,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/pulls/125"},"html":{"href":"https://github.com/concept-to-clinic/concept-to-clinic/pull/125"},"issue":{"href":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/issues/125"},"comments":{"href":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/issues/125/comments"},"review_comments":{"href":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/pulls/125/comments"},"review_comment":{"href":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/pulls/125/commits"},"statuses":{"href":"https://api.github.com/repos/concept-to-clinic/concept-to-clinic/statuses/2c54bdfe217724830833f06d5b43875c0c6422b7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"antonow"}}